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