layouts/_default/single.html
@@ -6,7 +6,7 @@ {{ define "main" }} {{ $page := .}} {{ $section := .Site.GetPage "section" .Section }} <article class="flex-wrap justify-between flex-l mw8 center ph3"> <article class="flex-l mw8 center ph3 flex-wrap justify-between"> <header class="mt4 w-100"> <aside class="instapaper_ignoref b helvetica tracked ttu"> {{/* layouts/_default/summary-with-image.html
@@ -1,7 +1,7 @@ {{ $featured_image := partials.Include "func/GetFeaturedImage.html" . }} <article class="bb b--black-10"> <div class="no-underline db pv4 ph3 ph0-l dark-gray"> <div class="flex flex-column flex-row-ns"> <div class="db pv4 ph3 ph0-l dark-gray no-underline"> <div class="flex-column flex-row-ns flex"> {{ if $featured_image }} {{/* Trimming the slash and adding absURL make sure the image works no matter collections.Where our site lives */}} <div class="{{ compare.Conditional (compare.Eq $.Site.Language.LanguageDirection "rtl") "pl3-ns" "pr3-ns" }} mb4 mb0-ns w-100 w-40-ns"> layouts/_default/summary.html
@@ -1,5 +1,5 @@ <div class="relative w-100 mb4 bg-white nested-copy-line-height"> <div class="bg-white mb3 pa4 gray overflow-hidden"> <div class="w-100 mb4 nested-copy-line-height relative bg-white"> <div class="mb3 pa4 gray overflow-hidden bg-white"> {{with .CurrentSection.Title }}<span class="f6 db">{{ . }}</span>{{end}} <h1 class="f3 near-black"> <a href="{{ .RelPermalink }}" class="link black dim"> layouts/_default/taxonomy.html
@@ -5,9 +5,9 @@ </div> </article> <div class="mw8 center"> <section class="flex-ns flex-wrap justify-around mt5"> <section class="flex-ns mt5 flex-wrap justify-around"> {{ range .Pages }} <div class="relative w-100 mb4 bg-white"> <div class="w-100 mb4 relative bg-white"> {{ .Render "summary" }} </div> {{ end }} layouts/partials/func/style/GetResource.html
@@ -16,4 +16,4 @@ {{ $resource = . }} {{ end }} {{ return $resource }} {{ return $resource }} layouts/partials/i18nlist.html
@@ -3,7 +3,7 @@ <ul class="{{ compare.Conditional (compare.Eq $.Site.Language.LanguageDirection "rtl") "pr0 ml3" "pl0 mr3" }}"> {{ range .Translations }} <li class="list f5 f4-ns fw4 dib {{ compare.Conditional (compare.Eq $.Site.Language.LanguageDirection "rtl") "pl3" "pr3" }}"> <a class="hover-white no-underline white-90" href="{{ .RelPermalink }}">{{ .Lang }}</a> <a class="hover-white white-90 no-underline" href="{{ .RelPermalink }}">{{ .Lang }}</a> </li> {{ end}} </ul> layouts/partials/new-window-icon.html
@@ -1,2 +1,2 @@ {{ $new_window_icon_size := "8px" }} <span class="new-window">{{ partials.Include "svg/new-window.svg" (dict "size" $new_window_icon_size) }}</span> <span class="new-window">{{ partials.Include "svg/new-window.svg" (dict "size" $new_window_icon_size) }}</span> layouts/partials/site-footer.html
@@ -1,6 +1,6 @@ <footer class="{{ .Site.Params.background_color_class | compare.Default "bg-black" }} bottom-0 w-100 pa3" role="contentinfo"> <div class="flex justify-between"> <a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="{{ .Site.Home.Permalink }}" > <a class="f4 fw4 hover-white white-70 dn dib-ns pv2 ph3 no-underline" href="{{ .Site.Home.Permalink }}" > © {{ with .Site.Copyright | compare.Default .Site.Title }} {{ . | safe.HTML }} {{ now.Format "2006"}} {{ end }} </a> <div>{{ partials.IncludeCached "social/follow.html" . }}</div> layouts/partials/site-navigation.html
@@ -1,6 +1,6 @@ <nav class="pv3 ph3 ph4-ns" role="navigation"> <div class="flex-l justify-between items-center center"> <a href="{{ .Site.Home.RelPermalink }}" class="f3 fw2 hover-white no-underline white-90 dib"> <div class="flex-l center items-center justify-between"> <a href="{{ .Site.Home.RelPermalink }}" class="f3 fw2 hover-white white-90 dib no-underline"> {{ with .Site.Params.site_logo }} <img src="{{ urls.RelURL . }}" class="w100 mw5-ns" alt="{{ $.Site.Title }}" /> {{ else }} @@ -13,7 +13,7 @@ <ul class="{{ compare.Conditional (compare.Eq $.Site.Language.LanguageDirection "rtl") "pr0 ml3" "pl0 mr3" }}"> {{ range .Site.Menus.main }} <li class="list f5 f4-ns fw4 dib {{ compare.Conditional (compare.Eq $.Site.Language.LanguageDirection "rtl") "pl3" "pr3" }}"> <a class="hover-white no-underline white-90" href="{{ .URL }}" title="{{ lang.Translate "pageTitle" . }}"> <a class="hover-white white-90 no-underline" href="{{ .URL }}" title="{{ lang.Translate "pageTitle" . }}"> {{ .Name }} </a> </li> layouts/partials/site-scripts.html
@@ -1 +1 @@ {{/* For Users's overwrite */}} {{/* For Users's overwrite */}} layouts/partials/summary-with-image.html
@@ -3,8 +3,8 @@ More info here: https://github.com/theNewDynamic/gohugo-theme-ananke/releases/tag/v2.8.1` }} {{ $featured_image := partials.Include "func/GetFeaturedImage.html" . }} <article class="bb b--black-10"> <div class="no-underline db pv4 ph3 ph0-l dark-gray"> <div class="flex flex-column flex-row-ns"> <div class="db pv4 ph3 ph0-l dark-gray no-underline"> <div class="flex-column flex-row-ns flex"> {{ if $featured_image }} {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} <div class="{{ compare.Conditional (compare.Eq $.Site.Language.LanguageDirection "rtl") "pl3-ns" "pr3-ns" }} mb4 mb0-ns w-100 w-40-ns"> layouts/partials/summary.html
@@ -1,8 +1,8 @@ {{ partials.Include "func/warn.html" `You are currently using 'partial "summary"' in your project templates. You should replace it with '.Render "summary"' as the use of this partial will be deprecated in future releases. More info here: https://github.com/theNewDynamic/gohugo-theme-ananke/releases/tag/v2.8.1` }} <div class="relative bg-white w-100 mb4 nested-copy-line-height"> <div class="overflow-hidden bg-white mb3 pa4 gray"> <div class="w-100 mb4 nested-copy-line-height relative bg-white"> <div class="mb3 pa4 gray overflow-hidden bg-white"> <span class="f6 db">{{ inflect.Humanize .Section }}</span> <h1 class="f3 near-black"> <a href="{{ .RelPermalink }}" class="link black dim"> layouts/partials/tags.html
@@ -1,7 +1,7 @@ <ul class="pa0"> {{ range .GetTerms "tags" }} <li class="list di"> <a href="{{ .RelPermalink }}" class="link f5 grow no-underline br-pill ba ph3 pv2 mb2 dib black sans-serif"> <a href="{{ .RelPermalink }}" class="link f5 grow br-pill ba ph3 pv2 mb2 dib black sans-serif no-underline"> {{- .LinkTitle -}} </a> </li>