mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
Fix parameters on layouts/_default/single.html so follow the same style in the rest of the files.
This commit is contained in:
parent
24af405e73
commit
55e62448dd
@ -6,7 +6,7 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
|
||||||
{{ $section := .Site.GetPage "section" .Section }}
|
{{ $section := .Site.GetPage "section" .Section }}
|
||||||
<article class="{{ .Site.Param.post_article_class | default "flex-l flex-wrap justify-between mw8 center ph3 ph0-l"}}">
|
<article class="{{ .Site.Params.post_article_class | default "flex-l flex-wrap justify-between mw8 center ph3 ph0-l"}}">
|
||||||
|
|
||||||
<header class="mt4 w-100">
|
<header class="mt4 w-100">
|
||||||
<p class="f6 b helvetica tracked">
|
<p class="f6 b helvetica tracked">
|
||||||
@ -16,7 +16,7 @@
|
|||||||
*/}}
|
*/}}
|
||||||
{{with .CurrentSection.Title }}{{. | upper }}{{end}}
|
{{with .CurrentSection.Title }}{{. | upper }}{{end}}
|
||||||
</p>
|
</p>
|
||||||
<h1 class="{{ $.Param "post_title_class" | default "f1 athelas mb1" }}">
|
<h1 class="{{ .Site.Params.post_title_class | default "f1 athelas mb1" }}">
|
||||||
{{- .Title -}}
|
{{- .Title -}}
|
||||||
</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 */}}
|
||||||
@ -35,7 +35,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main class="{{ .Site.Param.post_main_class | default "nested-copy-line-height lh-copy f4 nested-links nested-img mid-gray pr4-l w-two-thirds-l" }}">
|
<main class="{{ .Site.Params.post_main_class | default "nested-copy-line-height lh-copy f4 nested-links nested-img mid-gray pr4-l w-two-thirds-l" }}">
|
||||||
{{- .Content -}}
|
{{- .Content -}}
|
||||||
{{- partial "tags.html" . -}}
|
{{- partial "tags.html" . -}}
|
||||||
<div class="mt6">
|
<div class="mt6">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user