feat: Update deploy
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
{{ if .Site.Params.RSSLink}}
|
||||
<a class="menu-button icon-feed" href="{{.Site.Params.RSSLink }}"> Subscribe</a>
|
||||
{{else}}
|
||||
<a class="menu-button icon-feed" href="{{ .RSSLink }}"> Subscribe</a>
|
||||
<a class="menu-button icon-feed" href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}"> Subscribe</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</nav>
|
||||
|
@ -26,7 +26,7 @@
|
||||
{{ if .Site.Params.RSSLink}}
|
||||
<a class="menu-button icon-feed" href="{{.Site.Params.RSSLink }}"> Subscribe</a>
|
||||
{{else}}
|
||||
<a class="menu-button icon-feed" href="{{ .RSSLink }}"> Subscribe</a>
|
||||
<a class="menu-button icon-feed" href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}"> Subscribe</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</nav>
|
||||
|
@ -22,7 +22,7 @@
|
||||
{{ if .Site.Params.RSSLink}}
|
||||
<a class="menu-button icon-feed" href="{{.Site.Params.RSSLink }}"> Subscribe</a>
|
||||
{{else}}
|
||||
<a class="menu-button icon-feed" href="{{ .RSSLink }}"> Subscribe</a>
|
||||
<a class="menu-button icon-feed" href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}"> Subscribe</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</nav>
|
||||
|
@ -20,7 +20,7 @@
|
||||
{{ if .Site.Params.RSSLink}}
|
||||
<a class="menu-button icon-feed" href="{{.Site.Params.RSSLink }}"> Subscribe</a>
|
||||
{{else}}
|
||||
<a class="menu-button icon-feed" href="{{ .RSSLink }}"> Subscribe</a>
|
||||
<a class="menu-button icon-feed" href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}"> Subscribe</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</nav>
|
||||
|
@ -25,10 +25,10 @@
|
||||
{{ if .Site.Params.RSSLink}}
|
||||
<a class="menu-button icon-feed" href="{{.Site.Params.RSSLink }}"> Subscribe</a>
|
||||
{{else}}
|
||||
<a class="menu-button icon-feed" href="{{ .RSSLink }}"> Subscribe</a>
|
||||
<a class="menu-button icon-feed" href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}"> Subscribe</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
<a class="menu-button icon-feed" href="{{ .RSSLink }}"> Subscribe</a>
|
||||
<a class="menu-button icon-feed" href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}"> Subscribe</a>
|
||||
</nav>
|
||||
<div class="vertical">
|
||||
<div class="main-header-content inner">
|
||||
|
@ -23,7 +23,7 @@
|
||||
{{ if .Site.Params.RSSLink}}
|
||||
<a class="menu-button icon-feed" href="{{.Site.Params.RSSLink }}"> Subscribe</a>
|
||||
{{else}}
|
||||
<a class="menu-button icon-feed" href="{{ .RSSLink }}"> Subscribe</a>
|
||||
<a class="menu-button icon-feed" href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}"> Subscribe</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</nav>
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
{{ partial "twitter_card.html" . }}
|
||||
|
||||
<meta property="og:title" content="{{ if ne .URL "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}" />
|
||||
<meta property="og:title" content="{{ if ne .Permalink "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}" />
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
<meta property="og:description" content="{{ .Site.Params.description }}" />
|
||||
{{ end }}
|
||||
|
||||
<title>{{ if ne .URL "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}</title>
|
||||
<title>{{ if ne .Permalink "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}</title>
|
||||
|
||||
{{ if .IsPage }}
|
||||
<meta name="description" content="{{ .Description | default (substr .Summary 0 160) }}" />
|
||||
@ -67,14 +67,14 @@
|
||||
{{ if .Site.Params.RSSLink}}
|
||||
<link href="{{.Site.Params.RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
{{else}}
|
||||
{{ if ne .URL "/" }}
|
||||
{{ if ne .Permalink "/" }}
|
||||
<link href="{{ "index.xml" | relURL}}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
{{ end }}
|
||||
{{if .IsNode}}
|
||||
<link href="{{.RSSLink}}" rel="alternate" type="application/rss+xml" title="{{ if ne .URL "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}" />
|
||||
<link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="alternate" type="application/rss+xml" title="{{ if ne .Permalink "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}" />
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{.Hugo.Generator}}
|
||||
{{ hugo.Generator }}
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}" />
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
{{ if .Site.Params.RSSLink}}
|
||||
<a class="subscribe-button icon-feed" href="{{.Site.Params.RSSLink }}">Subscribe</a> </div>
|
||||
{{else}}
|
||||
<a class="subscribe-button icon-feed" href="{{if .IsNode}}{{.RSSLink}}{{else}}{{"index.xml" | relURL}}{{end}}">Subscribe</a>
|
||||
<a class="subscribe-button icon-feed" href="{{if .IsNode}}{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}{{else}}{{"index.xml" | relURL}}{{end}}">Subscribe</a>
|
||||
{{end}}
|
||||
</div>
|
||||
<span class="nav-cover"></span>
|
||||
|
Reference in New Issue
Block a user