diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-01-17 11:50:31 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-01-17 11:50:31 -0300 |
commit | da14e863cd56656ca0b7c9e9f5f8f6b21a43b574 (patch) | |
tree | 68fc0bcb11aed65935bd89743aae2480021d843d | |
parent | 500d4678d6022e91ef736749dc26dfdad49f1fe8 (diff) |
Added webrings to the main page
-rw-r--r-- | config.toml | 11 | ||||
-rw-r--r-- | content/_index.md | 2 | ||||
-rw-r--r-- | layouts/shortcodes/webring.html | 10 | ||||
-rw-r--r-- | themes/archie/static/css/main.css | 9 |
4 files changed, 32 insertions, 0 deletions
diff --git a/config.toml b/config.toml index af648dc..cffc520 100644 --- a/config.toml +++ b/config.toml @@ -31,6 +31,17 @@ copyright = "© Roger Gonzalez" name = "fas fa-rss" url = "https://rogs.me/index.xml" + [[params.webring]] + name = "hotline" + url = "https://hotlinewebring.club/" + nextUrl = "https://hotlinewebring.club/rogs/next" + prevUrl = "https://hotlinewebring.club/rogs/previous" + # [[params.webring]] + # name = "geekring" + # url = "https://geekring.net/" + # nextUrl = "http://geekring.net/site/NUMBER/next" + # prevUrl = "http://geekring.net/site/NUMBER/previous" + [[params.projects.personal]] name = "montevideo.restaurant" url = "https://montevideo.restaurant/" diff --git a/content/_index.md b/content/_index.md index 7336e1c..6c15d84 100644 --- a/content/_index.md +++ b/content/_index.md @@ -6,6 +6,8 @@ lastmod: 2023-01-14T09:50:41-03:00 # Introduction +{{< webring >}} + Hello world! I'm a Backend web developer from [Valencia, Venezuela](https://www.openstreetmap.org/relation/272745), but now living in [Montevideo, Uruguay](https://www.openstreetmap.org/relation/2929054). I have a tendency to selfhost as much of my digital life as I can. Why? beacuse ~~I'm a masochist~~ I like to have control over my information and I want everthing to be as minimal as possible. diff --git a/layouts/shortcodes/webring.html b/layouts/shortcodes/webring.html new file mode 100644 index 0000000..47aa530 --- /dev/null +++ b/layouts/shortcodes/webring.html @@ -0,0 +1,10 @@ +<aside> + <p>Webrings! Like the 90s!</p> + {{- range $index, $key := .Site.Params.Webring -}} + <p> + <a href="{{ $key.prevUrl }}"><-</a> + <a href="{{ $key.url }}">{{ $key.name }}</a> + <a href="{{ $key.nextUrl }}">-></a> + </p> + {{- end -}} +</aside> diff --git a/themes/archie/static/css/main.css b/themes/archie/static/css/main.css index ad048b0..addb142 100644 --- a/themes/archie/static/css/main.css +++ b/themes/archie/static/css/main.css @@ -324,3 +324,12 @@ ul span.meta { .personal-projects { margin-left: 5px; } +aside { + float: right; + margin: 0px 0px 10px 20px; + padding: 5px 10px; + max-width: 35%; + background-color: #242632; + border: 1px solid var(--darkMaincolor); + text-align: center; +} |