1
0
Fork 0

Some minor fixes from Ananke pull requests

This commit is contained in:
Luca Beltrame 2021-01-17 01:26:53 +01:00
parent 64b24842b8
commit 9c43b0693c
Signed by: einar
GPG key ID: 4707F46E9EC72DEC
2 changed files with 6 additions and 6 deletions
layouts

View file

@ -10,9 +10,9 @@
{{ hugo.Generator }} {{ hugo.Generator }}
{{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}} {{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}}
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW"> <meta name="robots" content="index, follow">
{{ else }} {{ else }}
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> <meta name="robots" content="noindex, nofollow">
{{ end }} {{ end }}
{{ $stylesheet := .Site.Data.webpack_assets.app }} {{ $stylesheet := .Site.Data.webpack_assets.app }}
@ -30,11 +30,11 @@
{{ if .OutputFormats.Get "RSS" }} {{ if .OutputFormats.Get "RSS" }}
{{ with .OutputFormats.Get "RSS" }} {{ with .OutputFormats.Get "RSS" }}
<link href="https://www.dennogumi.org/feed/atom.xml" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" /> <link href="https://www.dennogumi.org/feed/atom.xml" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" >
<link href="https://www.dennogumi.org/feed/atom.xml" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" /> <link href="https://www.dennogumi.org/feed/atom.xml" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" >
{{ end }} {{ end }}
{{ end }} {{ end }}
{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}} {{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}}
{{- template "_internal/opengraph.html" . -}} {{- template "_internal/opengraph.html" . -}}
{{- template "_internal/schema.html" . -}} {{- template "_internal/schema.html" . -}}

View file

@ -2,7 +2,7 @@
<div class="flex-l justify-between items-center center b"> <div class="flex-l justify-between items-center center b">
<a href="{{ .Site.Home.RelPermalink }}" class="site-logo f3 fw4 hover-white no-underline white-90 dib"> <a href="{{ .Site.Home.RelPermalink }}" class="site-logo f3 fw4 hover-white no-underline white-90 dib">
{{ with .Site.Params.site_logo }} {{ with .Site.Params.site_logo }}
<img src="{{ . }}" class="w100 mw5-ns" alt="{{ $.Site.Title }}" /> <img src="{{ . }}" class="w100 mw5-ns" alt="{{ $.Site.Title }}">
{{ else }} {{ else }}
{{ .Site.Title }} {{ .Site.Title }}
{{ end }} {{ end }}