diff options
| author | Jieiku | 2022-08-14 12:41:15 -0700 |
|---|---|---|
| committer | Jieiku | 2022-08-14 12:41:15 -0700 |
| commit | 830cabab1f638052a8c4ac39eb86370da5a676eb (patch) | |
| tree | f59bc6914105256ea684066277a49ab2dce53300 /templates/index.html | |
| parent | cf95ee520261a0a523d5a3dfbc01a3847d67de51 (diff) | |
| download | abridge-830cabab1f638052a8c4ac39eb86370da5a676eb.tar.gz abridge-830cabab1f638052a8c4ac39eb86370da5a676eb.tar.bz2 abridge-830cabab1f638052a8c4ac39eb86370da5a676eb.zip | |
Alternate Search Libraries Tinysearch and Stork1.2.0
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html index 9c25fa4..1434aee 100644 --- a/templates/index.html +++ b/templates/index.html @@ -33,17 +33,18 @@ {%- if config.extra.meta_index.position == "top" or config.extra.meta_index.position == "both" %} {{- macros::meta_index(page=page) }} {%- endif %}{%- endif %} - <p class="sum"> + <div class="sum"> + <p> {%- if page.summary %} {{ page.summary | markdown(inline=true) | safe }} {%- elif page.description %} {{ page.description | safe }} {%- elif page.content %} - {{ page.content | safe | striptags | truncate(length=150) }} + {{ page.content | striptags | truncate(length=150) | safe }} {%- elif page.extra.static_thumbnail %} {%- endif %} <a href="{{ page.permalink | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">...more</a> - </p> + </div> {%- if config.extra.meta_index.position %} {%- if config.extra.meta_index.position == "bottom" or config.extra.meta_index.position == "both" %} {{- macros::meta_index(page=page) }} |
