diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_default/home.html | 16 | ||||
| -rw-r--r-- | layouts/partials/footer.html | 4 | ||||
| -rw-r--r-- | layouts/partials/opengraph.html | 12 | 
3 files changed, 3 insertions, 29 deletions
| diff --git a/layouts/_default/home.html b/layouts/_default/home.html index 4c8ebd7..e58a520 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -16,20 +16,6 @@  </div>  {{ end }} -{{/* Social Icons */}} - -{{ with site.Params.social }} -<div class="social-icons"> -    {{- range . }} -    <a href="{{ trim .url " " | safeURL }}" target="_blank" -        rel="noopener noreferrer me" -        title="{{ (.title | default .name) | title }}"> -        {{ partial "svg.html" . }} -    </a> -    {{- end }} -</div> -{{ end }} -  {{/* Collection Section */}}  {{ if .Site.Params.homeCollection }} @@ -58,4 +44,4 @@      {{ end }}  </div> -{{ end }}
\ No newline at end of file +{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index cb20f6f..e7d754c 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -7,10 +7,10 @@      <p>Powered by          <a href="https://gohugo.io/">Hugo</a>          and -        <a href="https://github.com/tomfran/typo">tomfran/typo</a> +        <a href="https://git.push-f.com/tastefejl/">tastefejl</a>      </p>      {{ end }} -     +      {{ with .Site.Params.footerContent }}      <p>{{ . | markdownify }}</p>      {{ end }} diff --git a/layouts/partials/opengraph.html b/layouts/partials/opengraph.html index d770df1..35ba416 100644 --- a/layouts/partials/opengraph.html +++ b/layouts/partials/opengraph.html @@ -80,15 +80,3 @@      {{- end }}    {{- end }}  {{- end }} - -{{- with site.Params.social }} -  {{- if reflect.IsMap . }} -    {{- with .facebook_app_id }} -      <meta property="fb:app_id" content="{{ . }}"> -    {{- else }} -      {{- with .facebook_admin }} -        <meta property="fb:admins" content="{{ . }}"> -      {{- end }} -    {{- end }} -  {{- end }} -{{- end }}
\ No newline at end of file | 
