Compare commits

..

1 commit

Author SHA1 Message Date
e77b475026 Update dependency highlight.js to v9.18.5 2025-01-06 10:48:47 +00:00
6 changed files with 20 additions and 33 deletions

View file

@ -175,16 +175,13 @@ These settings are included in the site's meta section.
These settings to display your social accounts. These settings to display your social accounts.
- `codeberg`: Your [Codeberg](https://codeberg.org) username.
- `github`: Your [Github](https://github.com) username. - `github`: Your [Github](https://github.com) username.
- `instagram`: Your [Instagram](https://www.instagram.com) username. - `instagram`: Your [Instagram](https://www.instagram.com) username.
- `pixelfed`: Your [Pixelfed](https://pixelfed.org) server/username.
- `xing`: Your [Xing](https://www.xing.com) username. - `xing`: Your [Xing](https://www.xing.com) username.
- `linkedin`: Your [Linkedin](https://www.linkedin.com) username. - `linkedin`: Your [Linkedin](https://www.linkedin.com) username.
- `twitter`: Your [Twitter](https://twitter.com) username. - `twitter`: Your [Twitter](https://twitter.com) username.
- `bsky`: Your [Bluesky](https://bluesky.app) username. - `bsky`: Your [Bluesky](https://bluesky.app) username.
- `mastodon`: Your [Mastodon](https://mastodon.social) server/@username. - `mastodon`: Your [Mastodon](https://mastodon.social) server/@username.
- `threads`: Your [Threads](https://www.threads.net) username.
- `facebook`: Your [Facebook](https://www.facebook.com) username. - `facebook`: Your [Facebook](https://www.facebook.com) username.
- `google`: Your [Google](https://www.google.com) username. - `google`: Your [Google](https://www.google.com) username.
- `googlescholar`: Your [Google Scholar](https://scholar.google.com) account ID. [How to get this ID](#google-scholar) - `googlescholar`: Your [Google Scholar](https://scholar.google.com) account ID. [How to get this ID](#google-scholar)
@ -212,6 +209,7 @@ These settings to display your social accounts.
- `soundcloud`: Your [Soundcloud](https://soundcloud.com) username. - `soundcloud`: Your [Soundcloud](https://soundcloud.com) username.
- `tumblr`: Your [Tumblr](https://tumblr.com) username. - `tumblr`: Your [Tumblr](https://tumblr.com) username.
- `strava`: Your [Strava](https://strava.com) username. - `strava`: Your [Strava](https://strava.com) username.
- `skype`: Your [skype](https://skype.com) username.
- `telegram`: Your [Telegram](https://telegram.com) username. - `telegram`: Your [Telegram](https://telegram.com) username.
- `holopin`: Your [Holopin](https://www.holopin.io) username. - `holopin`: Your [Holopin](https://www.holopin.io) username.
- `whatsapp`: Your phone number. Follow the steps [here](https://faq.whatsapp.com/en/26000030/). [Privacy Warning](#privacy-warning) - `whatsapp`: Your phone number. Follow the steps [here](https://faq.whatsapp.com/en/26000030/). [Privacy Warning](#privacy-warning)

View file

@ -34,15 +34,12 @@ keywords = "minimalist,blog,goa,hugo,developer"
## Social Accounts ## Social Accounts
[params.social] [params.social]
codeberg = "<username>"
github = "<username>" github = "<username>"
instagram = "<username>" instagram = "<username>"
pixelfed = "<server>/<username>"
linkedin = "<username>" linkedin = "<username>"
twitter = "<username>" twitter = "<username>"
mastodon = "<server>/@<user>" mastodon = "<server>/@<user>"
bsky = "<username>" bsky = "<username>"
threads = "<username>"
facebook = "<username>" facebook = "<username>"
google = "<username>" google = "<username>"
googlescholar = "<account_id>" googlescholar = "<account_id>"
@ -68,6 +65,7 @@ twitch = "<username>"
soundcloud = "<username>" soundcloud = "<username>"
tumblr = "<username>" tumblr = "<username>"
strava = "<username>" strava = "<username>"
skype = "<username>"
telegram = "<username>" telegram = "<username>"
whatsapp = "<username>" whatsapp = "<username>"
buymeacoffee = "<username>" buymeacoffee = "<username>"

View file

@ -5,7 +5,7 @@
{{ if .highlightjs }} {{ if .highlightjs }}
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
{{ range .highlightjslanguages }} {{ range .highlightjslanguages }}
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/{{.}}.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.5/languages/{{.}}.min.js"></script>
{{ end }} {{ end }}
<script>hljs.highlightAll();</script> <script>hljs.highlightAll();</script>

View file

@ -33,14 +33,13 @@
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous" /> crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-icons-font@v14/font/simple-icons.min.css" type="text/css">
<link rel="stylesheet" href="{{ "css/main.css" | absURL }}"> <link rel="stylesheet" href="{{ "css/main.css" | absURL }}">
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}"> <link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="site.webmanifest"> <link rel="manifest" href="/site.webmanifest">
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">
{{- with .OutputFormats.Get "RSS" -}} {{- with .OutputFormats.Get "RSS" -}}
<link rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" href="{{ .RelPermalink }}" /> <link rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" href="{{ .RelPermalink }}" />

View file

@ -1,15 +1,12 @@
<section id="social-pane" class="text-center social"> <section id="social-pane" class="text-center social">
{{ with .Site.Params.social.mastodon }}
<a href="https://{{.}}" aria-label="Mastodon" target="_blank"><i class="si si-mastodon"></i></a>
{{ end }}
{{ with .Site.Params.social.twitter }} {{ with .Site.Params.social.twitter }}
<a href="https://x.com/{{.}}" aria-label="X" target="_blank"><i class="fab fa-x-twitter" aria-hidden="true"></i></a> <a href="https://x.com/{{.}}" aria-label="X" target="_blank"><i class="fab fa-x-twitter" aria-hidden="true"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.social.bsky }} {{ with .Site.Params.social.bsky }}
<a href="https://bsky.app/profile/{{.}}" aria-label="Bluesky" target="_blank"><i class="si si-bluesky"></i></a> <a href="https://bsky.app/profile/{{.}}" aria-label="Bluesky" target="_blank"><i class="fab fa-bluesky" aria-hidden="true"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.social.threads }} {{ with .Site.Params.social.mastodon }}
<a href="https://www.threads.net/@{{.}}" aria-label="Threads" target="_blank"><i class="fab fa-threads" aria-hidden="true"></i></a> <a href="https://{{.}}" aria-label="Mastodon" target="_blank"><i class="fab fa-mastodon" aria-hidden="true"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.social.google }} {{ with .Site.Params.social.google }}
<a href="https://plus.google.com/{{.}}/about" aria-label="Google Plus" target="_blank"><i class="fab fa-google-plus" aria-hidden="true"></i></a> <a href="https://plus.google.com/{{.}}/about" aria-label="Google Plus" target="_blank"><i class="fab fa-google-plus" aria-hidden="true"></i></a>
@ -18,7 +15,7 @@
<a href="https://scholar.google.com/citations?user={{.}}" aria-label="Google Scholar" target="_blank"><i class="fas fa-graduation-cap" aria-hidden="true"></i></a> <a href="https://scholar.google.com/citations?user={{.}}" aria-label="Google Scholar" target="_blank"><i class="fas fa-graduation-cap" aria-hidden="true"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.social.orcid}} {{ with .Site.Params.social.orcid}}
<a href="https://orcid.org/{{.}}" aria-label="ORCID" target="_blank"><i class="si si-orcid"></i></a> <a href="https://orcid.org/{{.}}" aria-label="ORCID" target="_blank"><i class="fab fa-orcid" aria-hidden="true"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.social.goodreads }} {{ with .Site.Params.social.goodreads }}
<a href="https://www.goodreads.com/{{.}}" aria-label="Goodreads" target="_blank"><i class="fab fa-goodreads" aria-hidden="true"></i></a> <a href="https://www.goodreads.com/{{.}}" aria-label="Goodreads" target="_blank"><i class="fab fa-goodreads" aria-hidden="true"></i></a>
@ -29,18 +26,15 @@
{{ with .Site.Params.social.facebook }} {{ with .Site.Params.social.facebook }}
<a href="https://facebook.com/{{.}}" aria-label="Facebook" target="_blank"><i class="fab fa-facebook" aria-hidden="true"></i></a> <a href="https://facebook.com/{{.}}" aria-label="Facebook" target="_blank"><i class="fab fa-facebook" aria-hidden="true"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.social.codeberg }}
<a href="https://codeberg.org/{{.}}" aria-label="Codeberg" target="_blank"><i class="si si-codeberg"></i></a>
{{ end }}
{{ with .Site.Params.social.github }} {{ with .Site.Params.social.github }}
<a href="https://github.com/{{.}}" aria-label="Github" target="_blank"><i class="fab fa-github" aria-hidden="true"></i></a> <a href="https://github.com/{{.}}" aria-label="Github" target="_blank"><i class="fab fa-github" aria-hidden="true"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.social.instagram }} {{ with .Site.Params.social.instagram }}
<a href="https://instagram.com/{{.}}" aria-label="Instagram" target="_blank"><i class="fab fa-instagram" aria-hidden="true"></i></a> <a href="https://instagram.com/{{.}}" aria-label="Instagram" target="_blank"><i class="fab fa-instagram" aria-hidden="true"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.social.pixelfed }} {{ with .Site.Params.social.linkedin }}
<a href="https://{{.}}" aria-label="Pixelfed" target="_blank"><i class="si si-pixelfed"></i></a> <a href="https://linkedin.com/in/{{.}}" aria-label="LinkedIn" target="_blank"><i class="fab fa-linkedin" aria-hidden="true"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.social.stackoverflow }} {{ with .Site.Params.social.stackoverflow }}
<a href="https://stackoverflow.com/users/{{.}}" aria-label="StackOverflow" target="_blank"><i class="fab fa-stack-overflow" aria-hidden="true"></i></a> <a href="https://stackoverflow.com/users/{{.}}" aria-label="StackOverflow" target="_blank"><i class="fab fa-stack-overflow" aria-hidden="true"></i></a>
{{ end }} {{ end }}
@ -54,10 +48,7 @@
<a href="https://angel.co/{{.}}" aria-label="AngelList" target="_blank"><i class="fab fa-angellist" aria-hidden="true"></i></a> <a href="https://angel.co/{{.}}" aria-label="AngelList" target="_blank"><i class="fab fa-angellist" aria-hidden="true"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.social.xing }} {{ with .Site.Params.social.xing }}
<a href="https://www.xing.com/profile/{{.}}" aria-label="Xing" target="_blank"><i class="si si-xing"></i></a> <a href="https://www.xing.com/profile/{{.}}" aria-label="Xing" target="_blank"><i class="fab fa-xing" aria-hidden="true"></i></a>
{{ end }}
{{ with .Site.Params.social.linkedin }}
<a href="https://linkedin.com/in/{{.}}" aria-label="LinkedIn" target="_blank"><i class="fab fa-linkedin" aria-hidden="true"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.social.gitlab}} {{ with .Site.Params.social.gitlab}}
<a href="https://gitlab.com/{{.}}" aria-label="Gitlab" target="_blank"><i class="fab fa-gitlab" aria-hidden="true"></i></a> <a href="https://gitlab.com/{{.}}" aria-label="Gitlab" target="_blank"><i class="fab fa-gitlab" aria-hidden="true"></i></a>
@ -113,6 +104,9 @@
{{ with .Site.Params.social.strava}} {{ with .Site.Params.social.strava}}
<a href="https://www.strava.com/athletes/{{.}}" aria-label="Strava" target="_blank"><i class="fab fa-strava" aria-hidden="true"></i></a> <a href="https://www.strava.com/athletes/{{.}}" aria-label="Strava" target="_blank"><i class="fab fa-strava" aria-hidden="true"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.social.skype}}
<a href="skype:{{.}}" aria-label="Skype" target="_blank"><i class="fab fa-skype" aria-hidden="true"></i></a>
{{ end }}
{{ with .Site.Params.social.telegram}} {{ with .Site.Params.social.telegram}}
<a href="https://t.me/{{.}}" aria-label="Telegram" target="_blank"><i class="fab fa-telegram" aria-hidden="true"></i></a> <a href="https://t.me/{{.}}" aria-label="Telegram" target="_blank"><i class="fab fa-telegram" aria-hidden="true"></i></a>
{{ end }} {{ end }}
@ -146,7 +140,6 @@
"name": "{{ .Site.Params.author }}", "name": "{{ .Site.Params.author }}",
"url": "{{ .Site.Params.baseURL }}", "url": "{{ .Site.Params.baseURL }}",
"sameAs": [ "sameAs": [
{{ with .Site.Params.social.codeberg }}"https://codeberg.org/{{.}}",{{ end }}
{{ with .Site.Params.social.twitter }}"https://twitter.com/{{.}}",{{ end }} {{ with .Site.Params.social.twitter }}"https://twitter.com/{{.}}",{{ end }}
{{ with .Site.Params.social.google }}"https://plus.google.com/{{.}}/about",{{ end }} {{ with .Site.Params.social.google }}"https://plus.google.com/{{.}}/about",{{ end }}
{{ with .Site.Params.social.googlescholar}}"https://scholar.google.com/citations?user={{.}}",{{ end }} {{ with .Site.Params.social.googlescholar}}"https://scholar.google.com/citations?user={{.}}",{{ end }}
@ -156,7 +149,6 @@
{{ with .Site.Params.social.facebook }}"https://facebook.com/{{.}}",{{ end }} {{ with .Site.Params.social.facebook }}"https://facebook.com/{{.}}",{{ end }}
{{ with .Site.Params.social.github }}"https://github.com/{{.}}",{{ end }} {{ with .Site.Params.social.github }}"https://github.com/{{.}}",{{ end }}
{{ with .Site.Params.social.instagram }}"https://instagram.com/{{.}}",{{ end }} {{ with .Site.Params.social.instagram }}"https://instagram.com/{{.}}",{{ end }}
{{ with .Site.Params.social.pixelfed }}"{{.}}",{{ end }}
{{ with .Site.Params.social.linkedin }}"https://linkedin.com/in/{{.}}",{{ end }} {{ with .Site.Params.social.linkedin }}"https://linkedin.com/in/{{.}}",{{ end }}
{{ with .Site.Params.social.stackoverflow }}"https://stackoverflow.com/users/{{.}}",{{ end }} {{ with .Site.Params.social.stackoverflow }}"https://stackoverflow.com/users/{{.}}",{{ end }}
{{ with .Site.Params.social.medium}}"https://medium.com/{{.}}",{{ end }} {{ with .Site.Params.social.medium}}"https://medium.com/{{.}}",{{ end }}

View file

@ -4,8 +4,8 @@
<h6 class="text-center copyright">{{ .copyright | markdownify }}</h6> <h6 class="text-center copyright">{{ .copyright | markdownify }}</h6>
{{ if ne .poweredby false }} {{ if ne .poweredby false }}
<h6 class="text-center powered"><a href="https://gohugo.io/">Hugo</a> <a <h6 class="text-center powered"><a href="https://gohugo.io/">Hugo</a> <a
href="https://git.hadan-it.com/stiebke/hugo-goa">Goa</a> by <a href="https://shenoy.me">shenoydotme</a>, <a href="https://github.com/shenoydotme/hugo-goa">Goa</a> by <a href="https://shenoy.me">shenoydotme</a> and <a
href="https://incirclemedia.com">Incircle Media</a> and <a href="https://stephan.hadan.de">stiebke</a></h6> href="https://incirclemedia.com">Incircle Media</a></h6>
{{ end }} {{ end }}
{{ if ne .displayrssicon false }} {{ if ne .displayrssicon false }}
<h6> <h6>