Fix deprecation warnings (#908)
* Example site: bump hugo modules to latest versions * Fix deprecation warnings emitted by hugo v0.124 * Fix typos * Netlify: bump hugo version --------- Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
This commit is contained in:
parent
6f4e23ad40
commit
3edd8e7858
44 changed files with 66 additions and 64 deletions
|
@ -1,7 +1,7 @@
|
|||
{{/* Uses the top level site's config for a single author across all locales */}}
|
||||
{{ $authorName:= site.Params.author.name }}
|
||||
|
||||
{{/* Overrides with the locale specifc author if provided */}}
|
||||
{{/* Overrides with the locale specific author if provided */}}
|
||||
{{ if (index site.Data site.Language.Lang).author }}
|
||||
{{ $authorName = (index site.Data site.Language.Lang).author.name }}
|
||||
{{ end }}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ $pageURL:= .RelPermalink }}
|
||||
{{ if site.IsMultiLingual }}
|
||||
{{ if hugo.IsMultilingual }}
|
||||
{{ $pageURL = strings.TrimPrefix (path.Join "/" .Language.Lang) $pageURL }}
|
||||
{{ end }}
|
||||
<li class="nav-item dropdown">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
{{ end }}
|
||||
|
||||
<div class="container">
|
||||
<div class="row" id="acomplishment-card-holder">
|
||||
<div class="row" id="accomplishment-card-holder">
|
||||
{{ range .accomplishments }}
|
||||
{{ partial "cards/accomplishments" . }}
|
||||
{{ end }}
|
||||
|
|
|
@ -118,9 +118,9 @@
|
|||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .custonSections }}
|
||||
{{ if .customSections }}
|
||||
<div class="custom-section">
|
||||
{{ range .custonSections }}
|
||||
{{ range .customSections }}
|
||||
<h6 class="text-heading">{{ .name }}: </h6>
|
||||
<div class="custom-content">{{ .content | markdownify }}</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -118,9 +118,9 @@
|
|||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .custonSections }}
|
||||
{{ if .customSections }}
|
||||
<div class="custom-section">
|
||||
{{ range .custonSections }}
|
||||
{{ range .customSections }}
|
||||
<h6 class="text-heading">{{ .name }}: </h6>
|
||||
<div class="custom-content">{{ .content | markdownify }}</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue