diff options
| author | Reorx <novoreorx@gmail.com> | 2022-04-13 21:09:58 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-04-13 21:09:58 +0800 |
| commit | 8a0915bb81d1869a2217d8efc9548e1b4b925037 (patch) | |
| tree | 752199a0e0f19eba6ab68cef6c3564532120a703 /layouts/partials/home_info.html | |
| parent | 8fb2f38f430fd6228e54d52f1dfa7a24a4207ff9 (diff) | |
change the way svg icon is get
use data instead of if else in partial, this makes iterating and display all the icons possible
Diffstat (limited to 'layouts/partials/home_info.html')
| -rw-r--r-- | layouts/partials/home_info.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/home_info.html b/layouts/partials/home_info.html index eb55364..b9d7df9 100644 --- a/layouts/partials/home_info.html +++ b/layouts/partials/home_info.html @@ -7,7 +7,7 @@ <p>{{ .Content | markdownify }}</p> </section> <footer class="entry-footer"> - {{ partial "social_icons.html" site.Params.socialIcons }} + {{ partial "social_icons.html" (dict "icons" site.Params.socialIcons "svg" $.Site.Data.svg) }} </footer> </article> {{- end -}} |
