Skip to content

Commit

Permalink
Merge pull request #193 from iandouglas/main
Browse files Browse the repository at this point in the history
Updating footer layout and social links
  • Loading branch information
nusserstudios authored Jun 23, 2024
2 parents 0c80501 + 796002a commit 24c04d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ params:
url: 'https://instagram.com/nusserstudios'
twitter:
enabled: true
url: '@nusserstudios'
url: 'https://twitter.com/nusserstudios'


menu:
Expand Down
8 changes: 4 additions & 4 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</nav>
<div class="flex justify-center mt-8 space-x-6">
{{ if .Site.Params.Social_media.Facebook.Enabled }}
<a href="#" class="text-gray-400 hover:text-gray-300">
<a href="{{ $.Site.Params.Social_media.Facebook.Url }}" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">Facebook</span>
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path fill-rule="evenodd"
Expand All @@ -23,7 +23,7 @@
</a>
{{ end }}
{{ if .Site.Params.Social_media.Instagram.Enabled }}
<a href="#" class="text-gray-400 hover:text-gray-300">
<a href="{{ $.Site.Params.Social_media.Instagram.Url }}" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">Instagram</span>
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path fill-rule="evenodd"
Expand All @@ -33,7 +33,7 @@
</a>
{{ end }}
{{ if .Site.Params.Social_media.Twitter.Enabled }}
<a href="#" class="text-gray-400 hover:text-gray-300">
<a href="{{ $.Site.Params.Social_media.Twitter.Url }}" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">Twitter</span>
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path
Expand All @@ -42,7 +42,7 @@
</a>
{{ end }}
{{ if .Site.Params.Social_media.Github.Enabled }}
<a href="#" class="text-gray-400 hover:text-gray-300">
<a href="{{ $.Site.Params.Social_media.Github.Url }}" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">GitHub</span>
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path fill-rule="evenodd"
Expand Down

0 comments on commit 24c04d4

Please sign in to comment.