diff options
| -rw-r--r-- | config.toml | 7 | ||||
| -rw-r--r-- | layouts/parts/webrings.jinja | 2 | ||||
| -rw-r--r-- | static/css/main.css | 8 |
3 files changed, 17 insertions, 0 deletions
diff --git a/config.toml b/config.toml index 4e537b7..d1eb6ea 100644 --- a/config.toml +++ b/config.toml @@ -64,6 +64,13 @@ random = "https://fediring.net/random" prev = "https://fediring.net/previous?host=xrvs.net" next = "https://fediring.net/next?host=xrvs.net" +[[menus.webrings]] +url = "https://envs.net/ring/" +text = "envs ring" +random = "https://envs.net/ring/?action=random&me=huyngo" +prev = "https://envs.net/ring/?action=prev&me=huyngo" +next = "https://envs.net/ring/?action=next&me=huyngo" + [[taxonomies]] name = "categories" default_term = "uncategorized" diff --git a/layouts/parts/webrings.jinja b/layouts/parts/webrings.jinja index e36913a..8b61d56 100644 --- a/layouts/parts/webrings.jinja +++ b/layouts/parts/webrings.jinja @@ -1,5 +1,6 @@ <h2>Webrings</h2> {% for ring in site.menus.webrings %} + <div class="ring"> <a class="webring-nav prev-link" href="{{ ring.params.prev }}"> <span class="sr-only">previous</span> </a> @@ -12,6 +13,7 @@ <a class="webring-nav next-link" href="{{ ring.params.next }}"> <span class="sr-only">next</span> </a> + </div> {% endfor %} <h2>Sites I follow</h2> <div class="articles"> diff --git a/static/css/main.css b/static/css/main.css index f71da66..784e447 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -266,6 +266,14 @@ footer { /* Webring---doesn't make sense if you don't use openring */ +.ring { + margin-bottom: 1rem; +} + +.ring :not(:last-child) { + border-right: none; +} + .webring h2 { font-size: 1.2rem; } |
