mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2025-05-07 21:16:00 +02:00
layouts: retab after addition of modelines
Done in vim using `gg=G` and then `:retab`.
This commit is contained in:
@ -3,24 +3,24 @@
|
||||
|
||||
<script>
|
||||
window.addEventListener("load", function(){
|
||||
window.cookieconsent.initialise({
|
||||
"palette": {
|
||||
"popup": {
|
||||
"background": "#428bca",
|
||||
"text": "#ffffff"
|
||||
window.cookieconsent.initialise({
|
||||
"palette": {
|
||||
"popup": {
|
||||
"background": "#428bca",
|
||||
"text": "#ffffff"
|
||||
},
|
||||
"button": {
|
||||
"background": "#f71559"
|
||||
}
|
||||
},
|
||||
"button": {
|
||||
"background": "#f71559"
|
||||
}
|
||||
},
|
||||
"content": {
|
||||
"message": '{{ i18n "cookieMessage" }}',
|
||||
"dismiss": '{{ i18n "cookieDismiss" }}',
|
||||
"link": '{{ i18n "cookieLink" }}',
|
||||
"href": "{{ .Site.Params.cookie_consent_info_url | absURL}}"
|
||||
},
|
||||
"position": "bottom-right"
|
||||
})});
|
||||
"content": {
|
||||
"message": '{{ i18n "cookieMessage" }}',
|
||||
"dismiss": '{{ i18n "cookieDismiss" }}',
|
||||
"link": '{{ i18n "cookieLink" }}',
|
||||
"href": "{{ .Site.Params.cookie_consent_info_url | absURL}}"
|
||||
},
|
||||
"position": "bottom-right"
|
||||
})});
|
||||
</script>
|
||||
|
||||
{{- /* vim: set ts=2 sw=2 et: */}}
|
||||
|
@ -2,15 +2,15 @@
|
||||
<script type="text/javascript">
|
||||
|
||||
(function() {
|
||||
// Don't ever inject Disqus on localhost--it creates unwanted
|
||||
// discussions from 'localhost:1313' on your Disqus account...
|
||||
if (window.location.hostname == "localhost")
|
||||
return;
|
||||
// Don't ever inject Disqus on localhost--it creates unwanted
|
||||
// discussions from 'localhost:1313' on your Disqus account...
|
||||
if (window.location.hostname == "localhost")
|
||||
return;
|
||||
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
var disqus_shortname = '{{ .Site.DisqusShortname }}';
|
||||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
var disqus_shortname = '{{ .Site.DisqusShortname }}';
|
||||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||
|
@ -1,24 +1,24 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
{{ "<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->" | safeHTML }}
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
{{ "<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->" | safeHTML }}
|
||||
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ template "_internal/schema.html" . }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ template "_internal/schema.html" . }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
|
||||
{{ if .Site.Params.google_verify_meta }}
|
||||
<meta name="google-site-verification" content="{{ .Site.Params.google_verify_meta }}" />
|
||||
{{ end }}
|
||||
{{ if .Site.Params.google_verify_meta }}
|
||||
<meta name="google-site-verification" content="{{ .Site.Params.google_verify_meta }}" />
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.bing_verify_meta }}
|
||||
<meta name="msvalidate.01" content="{{ .Site.Params.bing_verify_meta }}" />
|
||||
{{ end }}
|
||||
{{ if .Site.Params.bing_verify_meta }}
|
||||
<meta name="msvalidate.01" content="{{ .Site.Params.bing_verify_meta }}" />
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.yandex_verify_meta }}
|
||||
<meta name="yandex-verification" content="{{ .Site.Params.yandex_verify_meta }}" />
|
||||
{{ end }}
|
||||
{{ if .Site.Params.yandex_verify_meta }}
|
||||
<meta name="yandex-verification" content="{{ .Site.Params.yandex_verify_meta }}" />
|
||||
{{ end }}
|
||||
|
||||
{{ .Hugo.Generator }}
|
||||
{{ .Hugo.Generator }}
|
||||
|
||||
{{- /* vim: set ts=2 sw=2 et: */}}
|
||||
|
@ -1,8 +1,8 @@
|
||||
{{ if .Params.categories }}
|
||||
<i class="fa fa-folder" aria-hidden="true"></i> {{ range $index, $category := .Params.categories }}{{ if gt $index 0 }}, {{ end }}<a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}" rel="category tag">{{ . }}</a>{{ end }}
|
||||
<i class="fa fa-folder" aria-hidden="true"></i> {{ range $index, $category := .Params.categories }}{{ if gt $index 0 }}, {{ end }}<a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}" rel="category tag">{{ . }}</a>{{ end }}
|
||||
{{ end }}
|
||||
{{ if .Params.tags }}
|
||||
<i class="fa fa-tag" aria-hidden="true"></i> {{ range $index, $tag := .Params.tags }}{{ if gt $index 0 }}, {{ end }}<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" rel="tag">{{ . }}</a>{{ end }}
|
||||
<i class="fa fa-tag" aria-hidden="true"></i> {{ range $index, $tag := .Params.tags }}{{ if gt $index 0 }}, {{ end }}<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" rel="tag">{{ . }}</a>{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{- /* vim: set ts=2 sw=2 et: */}}
|
||||
|
@ -1,14 +1,14 @@
|
||||
<hr>
|
||||
<footer>
|
||||
<header>
|
||||
<h4>{{ i18n "share" }}</h4>
|
||||
</header>
|
||||
<nav class="nav nav-inline">
|
||||
{{ if not (eq .Site.Params.sharingicons.facebook false) }}<a class="nav-item" href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}" title="Share on Facebook"><span class="fa fa-facebook fa-2x" aria-hidden="true"></span></a>{{ end }}
|
||||
{{ if not (eq .Site.Params.sharingicons.googleplus false) }}<a class="nav-item" href="https://plus.google.com/share?url={{ .Permalink }}" title="Share on Google+"><span class="fa fa-google-plus fa-2x" aria-hidden="true"></span></a>{{ end }}
|
||||
{{ if not (eq .Site.Params.sharingicons.linkedin false) }}<a class="nav-item" href="https://www.linkedin.com/shareArticle?mini=true&url={{ .Permalink }}" title="Share on LinkedIn"><span class="fa fa-linkedin fa-2x" aria-hidden="true"></span></a>{{ end }}
|
||||
{{ if not (eq .Site.Params.sharingicons.twitter false) }}<a class="nav-item" href="https://twitter.com/home?status={{ .Permalink }}" title="Tweet this"><span class="fa fa-twitter fa-2x"></span></a>{{ end }}
|
||||
</nav>
|
||||
</footer>
|
||||
<hr>
|
||||
<footer>
|
||||
<header>
|
||||
<h4>{{ i18n "share" }}</h4>
|
||||
</header>
|
||||
<nav class="nav nav-inline">
|
||||
{{ if not (eq .Site.Params.sharingicons.facebook false) }}<a class="nav-item" href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}" title="Share on Facebook"><span class="fa fa-facebook fa-2x" aria-hidden="true"></span></a>{{ end }}
|
||||
{{ if not (eq .Site.Params.sharingicons.googleplus false) }}<a class="nav-item" href="https://plus.google.com/share?url={{ .Permalink }}" title="Share on Google+"><span class="fa fa-google-plus fa-2x" aria-hidden="true"></span></a>{{ end }}
|
||||
{{ if not (eq .Site.Params.sharingicons.linkedin false) }}<a class="nav-item" href="https://www.linkedin.com/shareArticle?mini=true&url={{ .Permalink }}" title="Share on LinkedIn"><span class="fa fa-linkedin fa-2x" aria-hidden="true"></span></a>{{ end }}
|
||||
{{ if not (eq .Site.Params.sharingicons.twitter false) }}<a class="nav-item" href="https://twitter.com/home?status={{ .Permalink }}" title="Tweet this"><span class="fa fa-twitter fa-2x"></span></a>{{ end }}
|
||||
</nav>
|
||||
</footer>
|
||||
|
||||
{{- /* vim: set ts=2 sw=2 et: */}}
|
||||
|
Reference in New Issue
Block a user