diff options
author | Óscar Nájera <hello@oscarnajera.com> | 2018-07-08 18:55:54 +0200 |
---|---|---|
committer | Óscar Nájera <hello@oscarnajera.com> | 2018-07-08 18:56:15 +0200 |
commit | b1cae597431053664bbc895a732c1a0d75c574bd (patch) | |
tree | 4553e3d386b7edd4af26f2dd82c4c0335e6bce46 /layouts/_default | |
parent | 383f0a2fe4f90c9231dc92e8fc34679c219f7009 (diff) | |
download | hugo-minimalist-theme-b1cae597431053664bbc895a732c1a0d75c574bd.tar.gz hugo-minimalist-theme-b1cae597431053664bbc895a732c1a0d75c574bd.tar.bz2 hugo-minimalist-theme-b1cae597431053664bbc895a732c1a0d75c574bd.zip |
simple article content
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.html | 13 | ||||
-rw-r--r-- | layouts/_default/summary.html | 4 |
2 files changed, 15 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..9343abd --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,13 @@ +{{ define "main" }} +<article class="ph2"> + <header class="bg-green pa5"> + <h1 class="f1 black-90"> + {{ .Title }}</h1> + + <div class="gray tracked">{{ .Date.Format "Mon, Jan 2, 2006" }}</div> + </header> + <div class="f5 lh-copy pv4 ph2 black-80"> + {{ .Content }} + </div> +</article> +{{ end }} diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 3052456..178f7a5 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,12 +1,12 @@ <article class="bt bb b--black-10"> <a href='{{ .Permalink }}' class="db pv4 ph3 black no-underline dim"> <header> - <h1 class="f3"> + <h1 class="f3 black-90"> {{ .Title }} </h1> <div class="gray">{{ .Date.Format "Mon, Jan 2, 2006" }} - {{ .FuzzyWordCount }} Words </div> </header> - <p class="f5 lh-copy"> + <p class="f5 lh-copy black-80"> {{ .Summary }} </p> <footer> |