diff options
| author | Ahmed <git@gumx.cc> | 2026-06-19 17:11:52 +0300 |
|---|---|---|
| committer | Ahmed <git@gumx.cc> | 2026-06-19 17:11:52 +0300 |
| commit | 443bd4d7e2de2afad41be2f875ca00805ea6b54e (patch) | |
| tree | a5e44d25817ccdf0c53c19d1537eafe2c65ba5fe | |
| parent | 1db32ba56ab5a13e4ed72e44a9323b26b30ef785 (diff) | |
fix: network nav and page style
| -rw-r--r-- | hooks/post-receive | 6 | ||||
| -rwxr-xr-x | wr | 17 |
2 files changed, 15 insertions, 8 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index fa6a977..5a38cba 100644 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -30,6 +30,9 @@ footer = ( '<a href="https://pgp.gumx.cc">pgp</a> /\n' '<a href="https://demo.gumx.cc">demo</a> /\n' '<a href="https://wk.fo">wk.fo</a>\n' + '<br>\n' + '<a href="https://git.gumx.cc/webring">source</a> /\n' + '<a href="https://gumx.cc/license">license</a>\n' '</footer>' ) favicon_tag = '<link rel="icon" type="image/svg+xml" href="/favicon.svg">' @@ -89,6 +92,9 @@ footer { margin-top: 3em; } <a href="https://pgp.gumx.cc">pgp</a> / <a href="https://demo.gumx.cc">demo</a> / <a href="https://wk.fo">wk.fo</a> +<br> +<a href="https://git.gumx.cc/webring">source</a> / +<a href="https://gumx.cc/license">license</a> </footer> </body> </html> @@ -73,8 +73,8 @@ build_webring() { <meta content="${DOMAIN}" property="twitter:url"> <meta content="webring" property="twitter:title"> <meta content="Minimal webring" property="twitter:description"> - <link href="${DOMAIN}" rel="canonical"> - <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRAAAqo0jMgAAAAd0SU1FB+YMGRUdK60VU+wAAAEzSURBVEjH7ZO9SgNBFIU/fyImEkgExRQquEiaQCwsDT6AnYWdnWCRx0jlA1ha+Q4WCvYWFimTgKzBRgUTRDSB6Fh4dzI7mJm1sNvT3DOHe787w7KQKtW/qIFCoTg3skPJbpIA7qT5yMhWJVMEvvGybt38FVu3B6atc01qj04sjy6/6wOUpbatPDpv+QCBBxAwlwzQtfKu7i+5AWtS+8AeISEhJ0BPdyzHB2YtwILUAVBgHYAVYKg7cu4bZKR+AVnxWeBz0kobMDCG8uLzsb3vbkD01hywZLx6DHhxA0Kpi4y/yAZQFK+4dwOaUivMsCO+QJWK+JZ+5AQd6H+hpZ3igTdxp3g0z5MxqLiMnRTbPgDsM9Ltz5S4Nsa9+39U44I+r1xRBYqc8cgHtxwzlQyQ6o/6BrGHacYUEyMVAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTEyLTI1VDIxOjI5OjQzKzAwOjAwsFlEUAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0xMi0yNVQyMToyOTo0MyswMDowMMEE/OwAAAAodEVYdGRhdGU6dGltZXN0YW1wADIwMjItMTItMjVUMjE6Mjk6NDMrMDA6MDCWEd0zAAAACHRFWHRsYWJlbADPieuXgVsAAAAASUVORK5CYII=" rel="icon"> + <link href="https://${DOMAIN}" rel="canonical"> + <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <script type="application/ld+json"> { "description":"Minimal webring", @@ -98,10 +98,10 @@ build_webring() { main, header, footer { max-width: 800px; margin-inline: auto; padding: 0 2rem; } h1, header, footer { text-align: center; } p, h2, h3 { margin: 1em 0 0 0; } - a { color: inherit; } header { margin-bottom: 1em; } footer { margin-top: 3em; } - hr { border: none; border-top: 1px solid; margin: 1.25rem 0; } + hr { border: none; border-top: thin solid; margin: 1.25rem 0; } + main { text-align: justify; } ul { list-style: none; padding: 0; margin: 1em 0; } li { padding: 0.25rem 0; } nav { margin-top: 1.5em; display: flex; justify-content: center; gap: 1.5em; } @@ -113,9 +113,10 @@ build_webring() { <body> <header> - <h1><a href="https://gumx.cc">gumx</a> / webring</h1> + <nav><strong><a href="https://gumx.cc">gumx</a></strong> / webring</nav> </header> <main> + <h1>webring</h1> <ul> INDEX_PAGE_TOP @@ -146,9 +147,9 @@ INDEX_PAGE_TOP cat << INDEX_PAGE_BOTTOM >> public/index.html </ul> - <p>This is an attempt to replicate <a href="https://wiki.xxiivv.com/site/devine_lu_linvega.html">Devine Lu Linvega</a>'s <a href="https://webring.xxiivv.com/">webring</a> in a very minimal way, and with a lower technical bar.</p> - <p>To add your site to the webring, follow the instructions <a href="https://git.sr.ht/~gumxcc/webring.gumx.cc#host-your-own">here</a>. For issues, source code, documentation, visit the <a href="https://sr.ht/~a2/webring/">project page on sourcehut</a></p> - <p>This project is licensed under <a href="https://git.sr.ht/~gumxcc/webring.gumx.cc/tree/main/item/LICENSE">MIT license</a></p> + <p>A small webring. Inspired by <a href="https://webring.xxiivv.com/">Devine Lu Linvega's webring</a>.</p> + <p>To add your site, see <a href="https://git.gumx.cc/webring">git.gumx.cc/webring</a>.</p> + <p>Licensed under <a href="https://gumx.cc/license">MIT</a>.</p> <nav> <a href="/${DOMAIN}/previous">≺ previous</a> <a href="/${DOMAIN}/next">next ≻</a> |
