Fix warning, remove slick class.

This commit is contained in:
tastytea 2020-12-28 20:57:13 +01:00
parent fb8c30ac14
commit b5b164efc8
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
{{ if .Site.Params.opengraph }}{{ template "_internal/opengraph.html" . }}{{ end -}}
{{ if .Site.Params.schema }}{{ template "_internal/schema.html" . }}{{ end -}}
{{ if .Site.Params.twitter_cards }}{{ template "_internal/twitter_cards.html" . }}{{ end -}}
{{ .Hugo.Generator }}
{{ hugo.Generator }}
{{- with .Site.Home.OutputFormats.Get "RSS" }}
{{- $rssLink := .RelPermalink }}
<link href="{{ $rssLink }}" rel="{{ .Rel }}" type="application/rss+xml" title="{{ $.Site.Title }} Feed" />

View File

@ -8,9 +8,9 @@
<ul>
{{- $curr := . }}
{{- range .Site.Menus.main }}
{{- $selected := cond (or ($curr.IsMenuCurrent "main" .) ($curr.HasMenuCurrent "main" .)) " pure-menu-selected" "" }}
{{- $selected := cond (or ($curr.IsMenuCurrent "main" .) ($curr.HasMenuCurrent "main" .)) "" "" }}
<li>
<a href="{{.URL}}">{{ .Name }}</a>
<a href="{{ .URL }}">{{ .Name }}</a>
</li>
{{- end }}
</ul>