+ update for hugo v0.134.1
This commit is contained in:
parent
65125e8a3d
commit
050d5c23a1
@ -33,7 +33,7 @@ enableRobotsTXT = true
|
|||||||
showRelatedPosts = true
|
showRelatedPosts = true
|
||||||
# gcse = "012345678901234567890:abcdefghijk" # Get your code from google.com/cse. Make sure to go to "Look and Feel" and change Layout to "Full Width" and Theme to "Classic"
|
# gcse = "012345678901234567890:abcdefghijk" # Get your code from google.com/cse. Make sure to go to "Look and Feel" and change Layout to "Full Width" and Theme to "Classic"
|
||||||
|
|
||||||
[Author]
|
[Params.author]
|
||||||
name = "Dmitry Belyaev"
|
name = "Dmitry Belyaev"
|
||||||
website = "https://b4tman.ru"
|
website = "https://b4tman.ru"
|
||||||
email = "mail@b4tman.ru"
|
email = "mail@b4tman.ru"
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
<language>{{.}}</language>{{end}}{{ with .Site.Params.author.email }}
|
||||||
<turbo:analytics type="Yandex" id="48214757"></turbo:analytics>
|
<turbo:analytics type="Yandex" id="48214757"></turbo:analytics>
|
||||||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
<managingEditor>{{.}}{{ with $.Site.Params.author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Params.author.email }}
|
||||||
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
<webMaster>{{.}}{{ with $.Site.Params.author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||||
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||||
{{ with .OutputFormats.Get "RSS" }}
|
{{ with .OutputFormats.Get "RSS" }}
|
||||||
@ -31,7 +31,7 @@
|
|||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
{{ with .Site.Params.author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||||
<guid>{{ .Permalink }}</guid>
|
<guid>{{ .Permalink }}</guid>
|
||||||
<description>{{ .Summary | html }}</description>
|
<description>{{ .Summary | html }}</description>
|
||||||
<turbo:source>{{ .Permalink }}</turbo:source>
|
<turbo:source>{{ .Permalink }}</turbo:source>
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (and .Site.Params.comments (ne .Type "page"))) }}
|
{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (and .Site.Params.comments (ne .Type "page"))) }}
|
||||||
{{ partial "remark42.html" . }}
|
{{ partial "remark42.html" . }}
|
||||||
{{ if .Site.DisqusShortname }}
|
{{ if .Site.Config.Services.Disqus.Shortname }}
|
||||||
{{ if .Site.Params.delayDisqus }}
|
{{ if .Site.Params.delayDisqus }}
|
||||||
<div class="disqus-comments">
|
<div class="disqus-comments">
|
||||||
<button id="show-comments" class="btn btn-default" type="button">{{ i18n "show" }} <span class="disqus-comment-count" data-disqus-url="{{ trim .Permalink "/" }}">{{ i18n "comments" }}</span></button>
|
<button id="show-comments" class="btn btn-default" type="button">{{ i18n "show" }} <span class="disqus-comment-count" data-disqus-url="{{ trim .Permalink "/" }}">{{ i18n "comments" }}</span></button>
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||||
<ul class="list-inline text-center footer-links">
|
<ul class="list-inline text-center footer-links">
|
||||||
{{ range .Site.Data.beautifulhugo.social.social_icons }}
|
{{ range .Site.Data.beautifulhugo.social.social_icons }}
|
||||||
{{- if isset $.Site.Author .id }}
|
{{- if isset $.Site.Params.author .id }}
|
||||||
<li>
|
<li>
|
||||||
<a {{ if eq .id "mastodon" }}rel="me"{{ end }} href="{{ printf .url (index $.Site.Author .id) }}" title="{{ .title }}">
|
<a {{ if eq .id "mastodon" }}rel="me"{{ end }} href="{{ printf .url (index $.Site.Params.author .id) }}" title="{{ .title }}">
|
||||||
<span class="fa-stack fa-lg">
|
<span class="fa-stack fa-lg">
|
||||||
<i class="fas fa-circle fa-stack-2x"></i>
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
<i class="{{ .icon }} fa-stack-1x fa-inverse"></i>
|
<i class="{{ .icon }} fa-stack-1x fa-inverse"></i>
|
||||||
@ -30,19 +30,19 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
<p class="credits copyright text-muted">
|
<p class="credits copyright text-muted">
|
||||||
{{ if .Site.Author.name }}
|
{{ if .Site.Params.author.name }}
|
||||||
{{ if .Site.Author.website }}
|
{{ if .Site.Params.author.website }}
|
||||||
<a href="{{ .Site.Author.website }}">{{ .Site.Author.name }}</a>
|
<a href="{{ .Site.Params.author.website }}">{{ .Site.Params.author.name }}</a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ .Site.Author.name }}
|
{{ .Site.Params.author.name }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
• ©
|
• ©
|
||||||
{{ if .Site.Params.since }}
|
{{ if .Site.Params.since }}
|
||||||
{{ .Site.Params.since }} - {{ .Site.LastChange.Format "2006" }}
|
{{ .Site.Params.since }} - {{ .Site.Lastmod.Format "2006" }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ .Site.LastChange.Format "2006" }}
|
{{ .Site.Lastmod.Format "2006" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Title }}
|
{{ if .Site.Title }}
|
||||||
@ -130,12 +130,12 @@
|
|||||||
<!-- End Piwik Code -->
|
<!-- End Piwik Code -->
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if and .Site.Params.delayDisqus .Site.DisqusShortname }}
|
{{ if and .Site.Params.delayDisqus .Site.Config.Services.Disqus.Shortname }}
|
||||||
<!-- Delayed Disqus -->
|
<!-- Delayed Disqus -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function(){
|
$(function(){
|
||||||
$('#show-comments').on('click', function(){
|
$('#show-comments').on('click', function(){
|
||||||
var disqus_shortname = '{{ .Site.DisqusShortname }}';
|
var disqus_shortname = '{{ .Site.Config.Services.Disqus.Shortname }}';
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var disqus = document.createElement('script');
|
var disqus = document.createElement('script');
|
||||||
@ -150,7 +150,7 @@ $(function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<script id="dsq-count-scr" src="//{{ .Site.DisqusShortname }}.disqus.com/count.js" async></script>
|
<script id="dsq-count-scr" src="//{{ .Site.Config.Services.Disqus.Shortname }}.disqus.com/count.js" async></script>
|
||||||
<!-- End Delayed Disqus -->
|
<!-- End Delayed Disqus -->
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 99ca240e9977196207da2e09c3804d3e98c14e57
|
Subproject commit fd74af48c3bb5e51187ca350324d2291de65f283
|
Loading…
Reference in New Issue
Block a user