Updated the files per the warning's suggestions.
This commit is contained in:
@@ -3,6 +3,11 @@ languageCode: en-us
|
||||
title: Hugo Fresh Theme
|
||||
theme: hugo-fresh
|
||||
googleAnalytics: #Put in your tracking code without quotes like this: UA-XXXXXX...
|
||||
#Disables warningss
|
||||
disableKinds:
|
||||
-taxonomy
|
||||
-taxonomyTerm
|
||||
|
||||
|
||||
params:
|
||||
navbarlogo:
|
||||
|
||||
@@ -60,20 +60,20 @@
|
||||
|
||||
<div class="navbar-dropdown">
|
||||
{{- range .sublinks }}
|
||||
<a href="{{ .url }}" class="navbar-item">
|
||||
<a href="{{ .Permalink }}" class="navbar-item">
|
||||
{{ .title }}
|
||||
</a>
|
||||
{{- end }}
|
||||
</div>
|
||||
</div>
|
||||
{{- else if .button }}
|
||||
<a href="{{ .url }}" class="navbar-item">
|
||||
<a href="{{ .Permalink }}" class="navbar-item">
|
||||
<span class="button signup-button rounded secondary-btn raised">
|
||||
{{ .title }}
|
||||
</span>
|
||||
</a>
|
||||
{{- else }}
|
||||
<a href="{{ .url }}" class="navbar-item is-secondary">
|
||||
<a href="{{ .Permalink }}" class="navbar-item is-secondary">
|
||||
{{ .title }}
|
||||
</a>
|
||||
{{- end }}
|
||||
|
||||
@@ -60,20 +60,20 @@
|
||||
|
||||
<div class="navbar-dropdown">
|
||||
{{- range .sublinks }}
|
||||
<a href="{{ .url }}" class="navbar-item">
|
||||
<a href="{{ .Permalink }}" class="navbar-item">
|
||||
{{ .title }}
|
||||
</a>
|
||||
{{- end }}
|
||||
</div>
|
||||
</div>
|
||||
{{- else if .button }}
|
||||
<a href="{{ .url }}" class="navbar-item">
|
||||
<a href="{{ .Permalink }}" class="navbar-item">
|
||||
<span class="button signup-button rounded secondary-btn raised">
|
||||
{{ .title }}
|
||||
</span>
|
||||
</a>
|
||||
{{- else }}
|
||||
<a href="{{ .url }}" class="navbar-item is-secondary">
|
||||
<a href="{{ .Permalink }}" class="navbar-item is-secondary">
|
||||
{{ .title }}
|
||||
</a>
|
||||
{{- end }}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<p>{{ .text }}</p>
|
||||
</div>
|
||||
<div class="card-action">
|
||||
<a href="{{ .url }}" class="button btn-align-md accent-btn raised">{{ .buttonText }}</a>
|
||||
<a href="{{ .Permalink }}" class="button btn-align-md accent-btn raised">{{ .buttonText }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<ul>
|
||||
{{- range .links }}
|
||||
<li>
|
||||
<a href="{{ .url }}">
|
||||
<a href="{{ .Permalink }}">
|
||||
{{ .text }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
</div>
|
||||
<div class="inner">
|
||||
<ul class="sidebar-menu">
|
||||
{{ range where .Site.RegularPages "Section" (strings.TrimSuffix "/" .Dir) }}
|
||||
{{ range where .Site.RegularPages "Section" (strings.TrimSuffix "/" .File.Dir) }}
|
||||
<li>
|
||||
<a href="{{ .URL }}">
|
||||
<a href="{{ .Permalink }}">
|
||||
{{ .Title }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user