Added stories dates on relatos.

This commit is contained in:
Emiliano Tortorella 2019-01-19 08:32:12 -05:00
parent 4eb44cc94c
commit 081b29c0d0
2 changed files with 10 additions and 2 deletions

View File

@ -18,11 +18,13 @@
</p> </p>
<h1 class="{{ .Site.Params.post_title_class | default "f1 athelas mb1" }}"> <h1 class="{{ .Site.Params.post_title_class | default "f1 athelas mb1" }}">
{{- .Title -}} {{- .Title -}}
{{ partial "story-dates.html" . }}
<div class="avenir mid-gray normal">
{{ partial "date.html" . }}
</div>
</h1> </h1>
{{/* Hugo uses Go's date formatting is set by example. Here are two formats */}} {{/* Hugo uses Go's date formatting is set by example. Here are two formats */}}
{{ partial "date.html" . }}
{{/* {{/*
Show "reading time" and "word count" but only if one of the following are true: Show "reading time" and "word count" but only if one of the following are true:
1) A global config `params` value is set `show_reading_time = true` 1) A global config `params` value is set `show_reading_time = true`

View File

@ -0,0 +1,6 @@
{{ with $.Params.init_date }}
<p class="f6 mb4 mt0">
({{ $.Params.init_date }} al {{ $.Params.end_date }})
</p>
{{ end }}