Skip to content

Commit

Permalink
Updated footer
Browse files Browse the repository at this point in the history
Added link to source in footer
  • Loading branch information
adamsthws committed Oct 26, 2024
1 parent 7cab144 commit 2b1b92e
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 4 deletions.
16 changes: 12 additions & 4 deletions config/_default/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
author:
name: "Adam Matthews"
image: headshot-sq.png
greeting: "Greetings, Welcome, Bonjour! :evergreen_tree:"
icon: ":wave:"
greeting: "Connect with me..."
# icon: ":wave:"

############################
## Links
############################

links:
- github: https://github.com/adamsthws
# - link: https://github.com/Chrede88/L1nkr#readme
# - link: https://github.com/Chrede88/L1nkr#readme
- website: https://wonkatron.com
# - x-twitter:
- mastodon: https://mastodon.social/@wonkatron
Expand Down Expand Up @@ -65,7 +65,7 @@ links:
############################

# between 2 & 6 columns are supported (both incl)
columns: 3
columns: 5

###########################
## Icon text
Expand All @@ -81,6 +81,14 @@ icontext: true
# add tooltips on all icons
tooltip: true

##############################
## Monochromatic color scheme
##############################

# all links will be slate-700 (or slate-50 in dark mode)
# https://tailwindcss.com/docs/customizing-colors
monochrome: true

###############################
## OpenGraph & Twitter Cards
###############################
Expand Down
Binary file not shown.
17 changes: 17 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<div class="flex flex-col justify-center p-10">
{{/* Copyright */}}
<p class="text-center text-slate-700 dark:text-slate-400">
&copy;
{{ now.Format "2006" }}
{{ .Site.Params.Author.name | markdownify | emojify }}
</p>

{{/* Powered by */}}
{{ $default := "Built with {hugo} & {l1nkr} - {source}" }}
{{ $default = replace $default "{l1nkr}" "<a class=\"hover:underline hover:decoration-indigo-500 hover:text-indigo-500\" href=\"https://github.com/Chrede88/L1nkr\" target=\"_blank\" rel=\"noopener noreferrer\">L1nkr</a>" | safeHTML }}
{{ $default = replace $default "{hugo}" "<a class=\"hover:underline hover:decoration-indigo-500 hover:text-indigo-500\" href=\"https://gohugo.io\" target=\"_blank\" rel=\"noopener noreferrer\">Hugo</a>" | safeHTML }}
{{ $default = replace $default "{source}" "<a class=\"hover:underline hover:decoration-indigo-500 hover:text-indigo-500\" href=\"https://github.com/adamsthws/admatthews.co.uk\" target=\"_blank\" rel=\"noopener noreferrer\">Source Code</a>" | safeHTML }}
<p class="text-center text-sm text-slate-700 dark:text-slate-400">
{{ $default }}
</p>
</div>
3 changes: 3 additions & 0 deletions layouts/partials/footer.htmlZone.Identifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
HostUrl=about:internet

0 comments on commit 2b1b92e

Please sign in to comment.