Browse Source
Merge pull request #122 from raelga/fix/undefined-$site-var
Fix undefined $site variable
tags/v1.0.0
Evan
4 years ago
No account linked to committer's email address
|
|
@@ -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 }} |
|
|
@@ -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 }} |