mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 21:01:41 +00:00
⚒️ Adds alertbox to all definitions (#218)
* Adds alertbox to definition pages * Fixes syntax of links and improves wording of callout links to contribute
This commit is contained in:
4
11ty/_includes/components/alertbox.njk
Normal file
4
11ty/_includes/components/alertbox.njk
Normal file
@ -0,0 +1,4 @@
|
||||
<div class="alertbox">
|
||||
<h2 class="alertbox__title">Something not quite right?</h2>
|
||||
<p class="alertbox__content">If you found a typo, would like to add another resource, or add nuance to this definition, please feel free to <a href="https://github.com/tatianamac/selfdefined/issues" rel="noreferrer">submit an issue</a> or <a href="https://github.com/tatianamac/selfdefined/pulls" rel="noreferrer">open a pull request</a>.</p>
|
||||
</div>
|
@ -18,6 +18,7 @@
|
||||
</header>
|
||||
{% include 'components/content-warning-flag.njk' %}
|
||||
{% include 'components/definition-content.njk' %}
|
||||
{% include 'components/alertbox.njk' %}
|
||||
{% renderDefinitionContentNextEntries title, slug, collections.definedWords %}
|
||||
</article>
|
||||
</main>
|
||||
|
Reference in New Issue
Block a user