mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-23 01:40:10 +00:00
f72d41280a
* Add empty page content file * Add link in footer * Make footer links span two columns when in grid template layout * wrap footer grid-column in media query to strip triggering 2 columns on mobile * Add guidelines content * Capitalise 'Warning' * Add link to guidance page from guidance definition block * Change 'term' to 'topic' * Update 11ty/content-warning-guidelines/index.md Co-authored-by: Tatiana Mac <github@tatianamac.com> * Update 11ty/content-warning-guidelines/index.md Co-authored-by: Tatiana Mac <github@tatianamac.com> * Update 11ty/content-warning-guidelines/index.md Co-authored-by: Tatiana Mac <github@tatianamac.com> * Update 11ty/content-warning-guidelines/index.md Co-authored-by: Tatiana Mac <github@tatianamac.com> * Update 11ty/content-warning-guidelines/index.md Co-authored-by: Tatiana Mac <github@tatianamac.com> * remove additional line breaks to pass lint tests * remove my now unneeded media query * Remove longer content warning from definition page * Change content warning flag to link to separate content warning guidance page * remove unneeded content flag styling Co-authored-by: Tatiana Mac <tatiana.t.mac@gmail.com> Co-authored-by: Tatiana Mac <github@tatianamac.com>
25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
{% extends 'layouts/base.njk' %}
|
|
{% set pageType = 'Definition' %}
|
|
{% set titleWithPath = title + ' « Definitions « ' %}
|
|
{% set description = 'The definition of ' + title + ' in Self-Defined, a modern dictionary about us.'%}
|
|
|
|
{% block content %}
|
|
<div class="wide-content">
|
|
{% include 'components/sub-page-header.njk' %}
|
|
<main>
|
|
<article class="definition">
|
|
<header class="definition__header">
|
|
{% definitionFlag flag %}
|
|
<h1 class="main-headline" >{{ title }}</h1>
|
|
<section class="u-margin-bottom-double" aria-labelledby="definition-speech">
|
|
<h2 id="definition-speech" class="visually-hidden">Speech</h2>
|
|
<p class="definition-content__speech">{{ speech }}</p>
|
|
</section>
|
|
</header>
|
|
{% include 'components/content-warning-flag.njk' %}
|
|
{% include 'components/definition-content.njk' %}
|
|
{% renderDefinitionContentNextEntries title, slug, collections.definedWords %}
|
|
</article>
|
|
</main>
|
|
{% endblock %}
|