diff --git a/assets/icons/mastodon.svg b/assets/icons/mastodon.svg deleted file mode 100644 index ca16949..0000000 --- a/assets/icons/mastodon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/shortcodes/_icons.scss b/assets/shortcodes/_icons.scss deleted file mode 100644 index b8ecb8a..0000000 --- a/assets/shortcodes/_icons.scss +++ /dev/null @@ -1,5 +0,0 @@ -.icon { - width: 2rem; - height: 2rem; - fill: currentColor; -} \ No newline at end of file diff --git a/assets/shortcodes/_index.scss b/assets/shortcodes/_index.scss index 00b695f..be86844 100644 --- a/assets/shortcodes/_index.scss +++ b/assets/shortcodes/_index.scss @@ -1,2 +1 @@ -@import "verticalposts"; -@import "icons"; \ No newline at end of file +@import "verticalposts"; \ No newline at end of file diff --git a/assets/sidebar.scss b/assets/sidebar.scss index 6a0a1ea..fc3dfb9 100644 --- a/assets/sidebar.scss +++ b/assets/sidebar.scss @@ -34,15 +34,6 @@ #information { margin: 0; font-size: .8em; - #social-links { - list-style: none; - margin: 0; - padding: 0; - img { - height: 2em; - fill: var(--vriish-rose); - } - } } } #sidebar-menu { diff --git a/layouts/partials/helpers/icons.html b/layouts/partials/helpers/icons.html deleted file mode 100644 index b9e2db2..0000000 --- a/layouts/partials/helpers/icons.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ $svg := . }} -{{ $class := print $svg "-icon" }} -{{ $match := "(.*)" }} - -{{ $replaceWith := printf `${2}` $class }} -{{ return (replaceRE $match $replaceWith (printf "/assets/icons/%s.svg" $svg | readFile) | safeHTML) }} - -{{/* Taken from https://bitbanged.com/posts/how-to-use-inline-svgs-with-hugo/ */}} -{{/* Only works if SVG is on one line! */}} \ No newline at end of file diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 29064b5..3861f5f 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -4,11 +4,9 @@

{{ .Site.Params.displayName }}

-
- -
+

+ {{ .Site.Params.username }} +