rename partials for consistency
This commit is contained in:
parent
de6decde38
commit
6b9c2ef4eb
12 changed files with 10 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
<footer class="common-footer">
|
||||
{{ $languagesCount := $.Site.Home.AllTranslations }}
|
||||
{{ if gt $languagesCount 1 }}
|
||||
{{ partial "languageSelect.html" . }}
|
||||
{{ partial "language-switcher.html" . }}
|
||||
{{ end }}
|
||||
|
||||
<div class="common-footer-bottom">
|
||||
|
@ -20,7 +20,7 @@
|
|||
</p>
|
||||
</div>
|
||||
|
||||
{{ partial "themeSwitcher.html" . }}
|
||||
{{ partial "theme-switcher.html" . }}
|
||||
</div>
|
||||
|
||||
{{ partial "h-card.html" . }}
|
||||
|
|
|
@ -15,5 +15,5 @@
|
|||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "postInfo.html" . }}
|
||||
{{ partial "post-info.html" . }}
|
||||
</article>
|
|
@ -6,13 +6,13 @@
|
|||
{{ $ref := printf $url .name }}
|
||||
<li>
|
||||
<a {{ printf "href=%q" $ref | safeHTMLAttr }} title="{{ humanize .id }}" rel="me">
|
||||
{{ partial "fontawesome.html" (dict "iconName" .id "custom" false) }}
|
||||
{{ partial "font-awesome.html" (dict "iconName" .id "custom" false) }}
|
||||
</a>
|
||||
</li>
|
||||
{{ else if (isset . "url") }}
|
||||
<li>
|
||||
<a href="{{ printf .url }}" title="{{ humanize .id }}" rel="me">
|
||||
{{ partial "fontawesome.html" (dict "iconName" .id "custom" true) }}
|
||||
{{ partial "font-awesome.html" (dict "iconName" .id "custom" true) }}
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue