Remove description variable from article_list.html (fixes #33)
Instead use the normal page content. This allows much richer blog descriptions!
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
+++
|
||||
title = "Writings of Duck's Feet (العربية)"
|
||||
description = "Welcome to my quack'in blog, I quack about various stuff, but mostly I'm a demo"
|
||||
sort_by = "date"
|
||||
template = "article_list.html"
|
||||
page_template = "article.html"
|
||||
+++
|
||||
|
||||
Welcome to my quack'in blog, I quack about various stuff, but mostly I'm a demo
|
||||
|
@ -1,7 +1,8 @@
|
||||
+++
|
||||
title = "Writings of Duck's Feet"
|
||||
description = "Welcome to my quack'in blog, I quack about various stuff, but mostly I'm a demo"
|
||||
sort_by = "date"
|
||||
template = "article_list.html"
|
||||
page_template = "article.html"
|
||||
+++
|
||||
|
||||
Welcome to my quack'in blog, I quack about various stuff, but mostly I'm a demo
|
||||
|
@ -1,7 +1,8 @@
|
||||
+++
|
||||
title = "Writings of Duck's Feet (Русский)"
|
||||
description = "Welcome to my quack'in blog, I quack about various stuff, but mostly I'm a demo"
|
||||
sort_by = "date"
|
||||
template = "article_list.html"
|
||||
page_template = "article.html"
|
||||
+++
|
||||
|
||||
Welcome to my quack'in blog, I quack about various stuff, but mostly I'm a demo
|
||||
|
@ -5,9 +5,7 @@
|
||||
{%- set date_locale = macros_translate::translate(key="date_locale", default="en_US", language_strings=language_strings) -%}
|
||||
<h1>{{ section.title }}</h1>
|
||||
|
||||
{%- if section.description %}
|
||||
{{ section.description | markdown | safe }}
|
||||
{%- endif %}
|
||||
{{ section.content | safe }}
|
||||
|
||||
<small>
|
||||
<a href="{{ get_url(path='tags', lang=lang) }}">
|
||||
|
Reference in New Issue
Block a user