Skip to content

Commit 2be21f9

Browse files
committed
Fix formatting
1 parent 44f8611 commit 2be21f9

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

‎layouts/404.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<main class="main" role="main">
33
<div class="warning">
44
<h1 class="warning__headline">{{ T "404_title" }}</h1>
5-
<p class="warning__text">{{ T "404_text" }} <a href="{{ "" | relLangURL }}">{{ T "404_linktext" }}</a>.</p>
5+
<p class="warning__text">{{ T "404_text" }} <a href="{{ "" | relLangURL }}">{{ T "404_linktext" }}</a>.</p>
66
</div>
77
</main>
88
{{ end }}

‎layouts/_default/baseof.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<title>{{ block "title" . }}{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}{{ end }}</title>
88
<script>(function(d,e){d[e]=d[e].replace("no-js","js");})(document.documentElement,"className");</script>
9-
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{else}}{{ .Params.Description }}{{end}}">
9+
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Params.Description }}{{ end }}">
1010
{{ if .Site.Params.opengraph }}{{ template "_internal/opengraph.html" . }}{{ end }}
1111
{{ if .Site.Params.twitter_cards }}{{ template "_internal/twitter_cards.html" . }}{{ end }}
1212
<link rel="dns-prefetch" href="//fonts.googleapis.com">

‎layouts/partials/menu.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<ul class="menu__list">
77
{{- $currentNode := . }}
88
{{- range sort .Site.Menus.main }}
9-
{{- if .Name}}
10-
<li class="menu__item{{if or ($currentNode.IsMenuCurrent "main" .) ($currentNode.HasMenuCurrent "main" .) }} menu__item--active{{end}}">
9+
{{- if .Name }}
10+
<li class="menu__item{{ if or ($currentNode.IsMenuCurrent "main" .) ($currentNode.HasMenuCurrent "main" .) }} menu__item--active{{ end }}">
1111
<a class="menu__link" href="{{ .URL }}">{{ .Name }}</a>
1212
</li>
1313
{{- end }}

‎layouts/partials/post_meta/date.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{{- if not .Date.IsZero }}
22
<div class="meta__item-datetime meta__item">
33
{{ partial "svg/time.svg" (dict "class" "meta__icon") }}
4-
<time class="meta__text" datetime="{{ .Date.Format "2006-01-02T15:04:05" }}">{{.Date.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</time>
5-
{{- if ne .Date .Lastmod }}
6-
<time class="meta__text" datetime="{{ .Lastmod.Format "2006-01-02T15:04:05" }}"> ({{ T "meta_lastmod" }}: {{.Lastmod.Format ( .Site.Params.dateformat | default "January 02, 2006")}})</time>
7-
{{- end }}
4+
<time class="meta__text" datetime="{{ .Date.Format "2006-01-02T15:04:05" }}">{{ .Date.Format ( .Site.Params.dateformat | default "January 02, 2006") }}</time>
5+
{{- if ne .Date .Lastmod }}
6+
<time class="meta__text" datetime="{{ .Lastmod.Format "2006-01-02T15:04:05" }}"> ({{ T "meta_lastmod" }}: {{ .Lastmod.Format ( .Site.Params.dateformat | default "January 02, 2006") }})</time>
7+
{{- end }}
88
</div>
99
{{ end -}}

‎layouts/partials/post_nav.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<nav class="post-nav flex">
44
{{- if .PrevInSection }}
55
<div class="post-nav__item post-nav__item--prev">
6-
<a class="post-nav__link" href="{{.PrevInSection.RelPermalink}}" rel="prev"><span class="post-nav__caption">«&thinsp;{{ T "post_nav_prev" }}</span><p class="post-nav__post-title">{{.PrevInSection.Title}}</p></a>
6+
<a class="post-nav__link" href="{{ .PrevInSection.RelPermalink }}" rel="prev"><span class="post-nav__caption">«&thinsp;{{ T "post_nav_prev" }}</span><p class="post-nav__post-title">{{ .PrevInSection.Title }}</p></a>
77
</div>
88
{{- end }}
99
{{- if .NextInSection }}
1010
<div class="post-nav__item post-nav__item--next">
11-
<a class="post-nav__link" href="{{.NextInSection.RelPermalink}}" rel="next"><span class="post-nav__caption">{{ T "post_nav_next" }}&thinsp;»</span><p class="post-nav__post-title">{{.NextInSection.Title}}</p></a>
11+
<a class="post-nav__link" href="{{ .NextInSection.RelPermalink }}" rel="next"><span class="post-nav__caption">{{ T "post_nav_next" }}&thinsp;»</span><p class="post-nav__post-title">{{ .NextInSection.Title }}</p></a>
1212
</div>
1313
{{- end }}
1414
</nav>

0 commit comments

Comments
 (0)