diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-08-17 11:34:33 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-08-17 11:34:33 -0700 |
commit | 54fb9a58d7b2fc961b6f7eae614e4061f98bb70c (patch) | |
tree | a9218990875382b689a2585aadb1189bca064953 /theme | |
parent | 6b0ad22b191d92a07976bc0f8467691191bb779f (diff) | |
download | gitbook-54fb9a58d7b2fc961b6f7eae614e4061f98bb70c.zip gitbook-54fb9a58d7b2fc961b6f7eae614e4061f98bb70c.tar.gz gitbook-54fb9a58d7b2fc961b6f7eae614e4061f98bb70c.tar.bz2 |
Add base less for glossary
Diffstat (limited to 'theme')
-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 %} |