aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorJieiku2022-06-10 22:25:01 -0700
committerJieiku2022-06-10 22:25:01 -0700
commitb299a35f3970c94f7fb5987801fa72c374937584 (patch)
tree048f8756a4b34b866e39af3a569e32a2fe9a2506 /templates/index.html
parent8fa86ba6c13335eed38e4dc65731bece92ce2f74 (diff)
downloadabridge-b299a35f3970c94f7fb5987801fa72c374937584.tar.gz
abridge-b299a35f3970c94f7fb5987801fa72c374937584.tar.bz2
abridge-b299a35f3970c94f7fb5987801fa72c374937584.zip
Meta Data Options
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/templates/index.html b/templates/index.html
index 03a652c..6d3bfe0 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -22,11 +22,17 @@
{{- macros_head::seo(title=title, title_addition=title_addition, description=description, is_home=true) }}
{%- endblock seo %}
+
+
{%- block content %}
<div>
{%- for page in paginator.pages %}
<article>
<h1><a href="{{ page.permalink | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ page.title }}</a></h1>
+ {%- if config.extra.meta_index.position %}
+ {%- if config.extra.meta_index.position == "top" or config.extra.meta_index.position == "both" %}
+ {{- macros::title_index(page=page) }}
+ {%- endif %}{%- endif %}
<p class="sum">
{%- if page.summary %}
{{ page.summary | markdown(inline=true) | safe }}
@@ -38,17 +44,11 @@
{%- endif %}
<a href="{{ page.permalink | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">...more</a>
</p>
- <span class="info">
- {%- if page.taxonomies.authors and config.taxonomies %}
- <span class="rpad">{%- for author in page.taxonomies.authors %}
- {%- if author_flag %} and {% endif %}
- <a href="{{ get_taxonomy_url(kind='authors', name=author) | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ author }}</a>
- {%- set_global author_flag = true %}
- {%- endfor %}</span>
- {%- elif config.extra.author and config.extra.author_show %}<span class="rpad">{{ config.extra.author }}</span>
- {%- endif %} <span class="rpad">{{ page.date | date(format="%Y %B %d") }}</span>{%- if config.extra.readtime %}<span class="rpad"> {{ page.reading_time }} {{ config.extra.readtime_string | default(value="min") }} </span>{% endif %}
-{%- if page.taxonomies.categories %}<span class="rpad"> [{% for cat in page.taxonomies.categories %}<a href="{{ get_taxonomy_url(kind='categories', name=cat) | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ cat }}</a>{% endfor %}]</span>{% endif %}
-{%- if page.taxonomies.tags %} {%- for tag in page.taxonomies.tags %} #<a href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ tag }}</a> {% endfor -%}{%- endif %}</span>
+ {%- if config.extra.meta_index.position %}
+ {%- if config.extra.meta_index.position == "bottom" or config.extra.meta_index.position == "both" %}
+ {{- macros::title_index(page=page) }}
+ {%- endif %}
+ {%- endif %}
</article>
{%- endfor %}
{{- macros::pagination(paginator=paginator) }}