port changes from kate-editor.org

This commit is contained in:
Christoph Cullmann 2019-08-03 22:41:09 +02:00
parent c43a62caba
commit 7f50f6106d
3 changed files with 10 additions and 13 deletions

View file

@ -50,7 +50,7 @@
<!-- Please don't remove this, keep my open source work credited :) --> <!-- Please don't remove this, keep my open source work credited :) -->
<p class="credits theme-by text-muted"> <p class="credits theme-by text-muted">
{{ i18n "poweredBy" . | safeHTML }} {{ i18n "poweredBy" . | safeHTML }}
{{ with .Site.Params.commit }}&nbsp;&bull;&nbsp;[<a href="{{.}}{{ getenv "GIT_COMMIT_SHA" }}">{{ getenv "GIT_COMMIT_SHA_SHORT" }}</a>]{{ end }} {{ with .Site.Params.commit }}&nbsp;&bull;&nbsp;[<a href="https://github.com/christoph-cullmann/cullmann.io/commit/{{ getenv "GIT_COMMIT_SHA" }}">{{ getenv "GIT_COMMIT_SHA_SHORT" }}</a>]{{ end }}
</p> </p>
</div> </div>
</div> </div>

View file

@ -2,9 +2,6 @@
{{ $lastmodstr := default (i18n "dateFormat") .Site.Params.dateformat | .Lastmod.Format }} {{ $lastmodstr := default (i18n "dateFormat") .Site.Params.dateformat | .Lastmod.Format }}
{{ $datestr := default (i18n "dateFormat") .Site.Params.dateformat | .Date.Format }} {{ $datestr := default (i18n "dateFormat") .Site.Params.dateformat | .Date.Format }}
<i class="fas fa-calendar"></i>&nbsp;{{ $datestr | i18n "postedOnDate"}} <i class="fas fa-calendar"></i>&nbsp;{{ $datestr | i18n "postedOnDate"}}
{{ if ne $datestr $lastmodstr }}
&nbsp;{{ $lastmodstr | i18n "lastModified" }}
{{ end }}
{{ if .Site.Params.readingTime }} {{ if .Site.Params.readingTime }}
&nbsp;|&nbsp;<i class="fas fa-clock"></i>&nbsp;{{ i18n "readingTime"}}{{ .ReadingTime }}&nbsp;{{ i18n "readTime" }} &nbsp;|&nbsp;<i class="fas fa-clock"></i>&nbsp;{{ i18n "readingTime"}}{{ .ReadingTime }}&nbsp;{{ i18n "readTime" }}
{{ end }} {{ end }}

View file

@ -567,10 +567,10 @@ footer .theme-by {
} }
.intro-header .page-heading h1, .intro-header .page-heading h1,
.intro-header .tags-heading h1 { .intro-header .tags-heading h1 {
font-size: 80px; font-size: 40px;
} }
.intro-header .post-heading h1 { .intro-header .post-heading h1 {
font-size: 50px; font-size: 30px;
} }
.intro-header.big-img .img-desc { .intro-header.big-img .img-desc {
font-size: 14px; font-size: 14px;