port changes from kate-editor.org
This commit is contained in:
parent
c43a62caba
commit
7f50f6106d
|
@ -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 }} • [<a href="{{.}}{{ getenv "GIT_COMMIT_SHA" }}">{{ getenv "GIT_COMMIT_SHA_SHORT" }}</a>]{{ end }}
|
{{ with .Site.Params.commit }} • [<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>
|
||||||
|
@ -133,19 +133,19 @@
|
||||||
$(function(){
|
$(function(){
|
||||||
$('#show-comments').on('click', function(){
|
$('#show-comments').on('click', function(){
|
||||||
var disqus_shortname = '{{ .Site.DisqusShortname }}';
|
var disqus_shortname = '{{ .Site.DisqusShortname }}';
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var disqus = document.createElement('script');
|
var disqus = document.createElement('script');
|
||||||
disqus.type = 'text/javascript';
|
disqus.type = 'text/javascript';
|
||||||
disqus.async = true;
|
disqus.async = true;
|
||||||
disqus.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
disqus.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(disqus);
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(disqus);
|
||||||
})();
|
})();
|
||||||
|
|
||||||
$(this).hide();
|
$(this).hide();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<script id="dsq-count-scr" src="//{{ .Site.DisqusShortname }}.disqus.com/count.js" async></script>
|
<script id="dsq-count-scr" src="//{{ .Site.DisqusShortname }}.disqus.com/count.js" async></script>
|
||||||
<!-- End Delayed Disqus -->
|
<!-- End Delayed Disqus -->
|
||||||
|
|
|
@ -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> {{ $datestr | i18n "postedOnDate"}}
|
<i class="fas fa-calendar"></i> {{ $datestr | i18n "postedOnDate"}}
|
||||||
{{ if ne $datestr $lastmodstr }}
|
|
||||||
{{ $lastmodstr | i18n "lastModified" }}
|
|
||||||
{{ end }}
|
|
||||||
{{ if .Site.Params.readingTime }}
|
{{ if .Site.Params.readingTime }}
|
||||||
| <i class="fas fa-clock"></i> {{ i18n "readingTime"}}{{ .ReadingTime }} {{ i18n "readTime" }}
|
| <i class="fas fa-clock"></i> {{ i18n "readingTime"}}{{ .ReadingTime }} {{ i18n "readTime" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -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;
|
||||||
|
@ -756,7 +756,7 @@ div.splitbox div.right {
|
||||||
padding: 15px 25px;
|
padding: 15px 25px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.disqus-comments button:hover,
|
.disqus-comments button:hover,
|
||||||
.disqus-comments button:focus {
|
.disqus-comments button:focus {
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
background: #0085a1;
|
background: #0085a1;
|
||||||
|
|
Loading…
Reference in a new issue