diff options
-rwxr-xr-x | theme/stylesheets/website.less | 1 | ||||
-rw-r--r-- | theme/stylesheets/website/glossary.less | 3 | ||||
-rw-r--r-- | theme/templates/glossary.html | 7 |
3 files changed, 10 insertions, 1 deletions
diff --git a/theme/stylesheets/website.less b/theme/stylesheets/website.less index f8d1e99..3a5258b 100755 --- a/theme/stylesheets/website.less +++ b/theme/stylesheets/website.less @@ -16,6 +16,7 @@ @import "website/buttons.less"; @import "website/markdown.less"; @import "website/navigation.less"; +@import "website/glossary.less"; * { .box-sizing(border-box); diff --git a/theme/stylesheets/website/glossary.less b/theme/stylesheets/website/glossary.less new file mode 100644 index 0000000..9bdaa19 --- /dev/null +++ b/theme/stylesheets/website/glossary.less @@ -0,0 +1,3 @@ +.book .book-body .page-wrapper .page-inner section.glossary { + +} diff --git a/theme/templates/glossary.html b/theme/templates/glossary.html index 73ef4d6..539ec59 100644 --- a/theme/templates/glossary.html +++ b/theme/templates/glossary.html @@ -3,5 +3,10 @@ {% block title %}Glossary | {{ title }}{% endblock %} {% block page_inner %} - +{% for item in glossary %} +<section class="normal glossary" id="{{ item.name }}"> + <h2>{{ item.name }}</h2> + <p>{{ item.description }}</p> +</section> +{% endfor %} {% endblock %} |