Skip to content

Commit

Permalink
Merge branch 'theNewDynamic:master' into f/allow_multiple_mainsections
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackstareye committed Nov 22, 2023
2 parents 40e9698 + bd75943 commit 2f32889
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
{{ $section := .Site.GetPage "section" .Section }}
<article class="flex-l flex-wrap justify-between mw8 center ph3">
<header class="mt4 w-100">
<aside class="instapaper_ignoref b helvetica tracked">
<aside class="instapaper_ignoref b helvetica tracked ttu">
{{/*
CurrentSection allows us to use the section title instead of inferring from the folder.
https://gohugo.io/variables/page/#section-variables-and-methods
*/}}
{{with .CurrentSection.Title }}{{. | upper }}{{end}}
{{ .CurrentSection.Title }}
</aside>
{{ partial "social-share.html" . }}
<h1 class="f1 athelas mt3 mb1">
Expand Down
1 change: 1 addition & 0 deletions layouts/_default/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ <h1 class="f3 near-black">
<div class="nested-links f5 lh-copy nested-copy-line-height">
{{ .Summary }}
</div>
<a href="{{.RelPermalink}}" class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">{{ $.Param "read_more_copy" | default (i18n "readMore") }}</a>
</div>
</div>
1 change: 1 addition & 0 deletions layouts/post/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ <h1 class="f3 near-black">
<div class="nested-links f5 lh-copy nested-copy-line-height">
{{ .Summary }}
</div>
<a href="{{.RelPermalink}}" class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">{{ $.Param "read_more_copy" | default (i18n "readMore") }}</a>
</div>

0 comments on commit 2f32889

Please sign in to comment.