Browse Source

Fix undefined $site variable

tags/v1.0.0
Rael Garcia 4 years ago
parent
commit
21a58eb46a
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      layouts/partials/map.html
  2. 1
    1
      layouts/partials/navigation.html

+ 1
- 1
layouts/partials/map.html View File

@@ -5,7 +5,7 @@
<div id="map" data-latitude="{{ .map_latitude }}"
data-longitude="{{ .map_longitude }}"
data-marker="{{ .map_marker | absURL }}"
data-marker-name="{{ $site.Title }}"></div>
data-marker-name="{{ site.Title }}"></div>
</div>
{{ end }}
{{ end }}

+ 1
- 1
layouts/partials/navigation.html View File

@@ -24,7 +24,7 @@
{{ else }}

{{ range site.Menus.main }}
<li class="nav-item"><a class="nav-link" href="{{ $site.BaseURL | relLangURL }}#{{ .URL }}">{{ i18n .Name }}</a>
<li class="nav-item"><a class="nav-link" href="{{ site.BaseURL | relLangURL }}#{{ .URL }}">{{ i18n .Name }}</a>
</li>
{{ end }}
{{ end }}

Loading…
Cancel
Save