diff options
author | EuAndreh <eu@euandre.org> | 2024-11-17 19:49:05 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-11-17 19:49:05 -0300 |
commit | 08c9bcb3fed37d9483258bd97aaebc47b54b3fa3 (patch) | |
tree | 7b114f79c44d347a5ecd1082943d2ba8c95dac5c /v2/src/lib | |
parent | mv src/content/styles.css src/content/style.css (diff) | |
download | euandre.org-08c9bcb3fed37d9483258bd97aaebc47b54b3fa3.tar.gz euandre.org-08c9bcb3fed37d9483258bd97aaebc47b54b3fa3.tar.xz |
rm -rf v2/
Diffstat (limited to 'v2/src/lib')
-rw-r--r-- | v2/src/lib/base.conf | 8 | ||||
-rw-r--r-- | v2/src/lib/base.en.conf | 61 | ||||
-rw-r--r-- | v2/src/lib/base.pt.conf | 61 | ||||
-rw-r--r-- | v2/src/lib/category-header.html | 6 | ||||
-rw-r--r-- | v2/src/lib/category.html | 3 | ||||
-rw-r--r-- | v2/src/lib/commencement.en.conf | 9 | ||||
-rw-r--r-- | v2/src/lib/commencement.pt.conf | 9 | ||||
-rw-r--r-- | v2/src/lib/comment.en.html | 8 | ||||
-rw-r--r-- | v2/src/lib/comment.pt.html | 6 | ||||
-rw-r--r-- | v2/src/lib/date.en.html | 3 | ||||
-rw-r--r-- | v2/src/lib/date.pt.html | 3 | ||||
-rw-r--r-- | v2/src/lib/entry.html | 5 | ||||
-rw-r--r-- | v2/src/lib/entry.xml | 22 | ||||
-rw-r--r-- | v2/src/lib/feed.xml | 15 | ||||
-rw-r--r-- | v2/src/lib/index-postamble.html | 8 | ||||
-rw-r--r-- | v2/src/lib/index-preamble.html | 7 | ||||
-rw-r--r-- | v2/src/lib/mapentry.xml | 5 | ||||
-rw-r--r-- | v2/src/lib/postamble.html | 25 | ||||
-rw-r--r-- | v2/src/lib/preamble.html | 51 | ||||
-rw-r--r-- | v2/src/lib/update.en.html | 3 | ||||
-rw-r--r-- | v2/src/lib/update.pt.html | 3 |
21 files changed, 0 insertions, 321 deletions
diff --git a/v2/src/lib/base.conf b/v2/src/lib/base.conf deleted file mode 100644 index 72f70b9..0000000 --- a/v2/src/lib/base.conf +++ /dev/null @@ -1,8 +0,0 @@ -export domain="$DOMAIN" -export email="$EMAIL" -export base_url='' -export list_addr='~euandreh/public-inbox@lists.sr.ht' -export mailto_uri_prefix="mailto:$list_addr?Subject=Re%3A%20" -export discussions_url_prefix="https://lists.sr.ht/~euandreh/public-inbox?search=" -export sourcecode_url_prefix="https://$domain/git/$domain/tree/" -export author='EuAndreh' diff --git a/v2/src/lib/base.en.conf b/v2/src/lib/base.en.conf deleted file mode 100644 index 144f0a0..0000000 --- a/v2/src/lib/base.en.conf +++ /dev/null @@ -1,61 +0,0 @@ -export date_fmt='%B %-d, %Y' - -export site_name="EuAndreh's website" - -export lang='en' - -export about='About' - -export about_url_name='about.html' - -export by_category_url_name='by-category.html' - -export homepage_url="$(url-for "$lang/")" - -export homepage_url_absolute="$(absolute "$homepage_url")" - -export about_url="$(url-for "$lang/$about_url_name")" - - -export index_article_title='Blog' - -export index_recent_article_title='Recent articles' - -export index_category_article_title='Articles by category' - -export index_article_url="$(url-for "$lang/$(coll2path "$lang" article)")" - -export feed_article_title="EuAndreh's articles" - - -export index_pastebin_title='Pastebins' - -export index_recent_pastebin_title='Pastebins listing' - -export index_category_pastebin_title='Pastebins by category' - -export index_pastebin_url="$(url-for "$lang/$(coll2path "$lang" pastebin)")" - -export feed_pastebin_title="EuAndreh's pastebins" - - -export index_til_title='TIL' - -export index_recent_til_title='TIL listing' - -export index_category_til_title='TIL by category' - -export index_til_url="$(url-for "$lang/$(coll2path "$lang" til)")" - -export feed_til_title="EuAndreh's TIL" - - -export index_slide_title='Slides' - -export index_recent_slide_title='Slides listing' - -export index_category_slide_title='Slides by category' - -export index_slide_url="$(url-for "$lang/$(coll2path "$lang" slide)")" - -export feed_slide_title="EuAndreh's slides" diff --git a/v2/src/lib/base.pt.conf b/v2/src/lib/base.pt.conf deleted file mode 100644 index cb071c8..0000000 --- a/v2/src/lib/base.pt.conf +++ /dev/null @@ -1,61 +0,0 @@ -export date_fmt='%B %-d, %Y' - -export site_name="EuAndreh's website" - -export lang='pt' - -export about='About' - -export about_url_name='sobre.html' - -export by_category_url_name='por-categoria.html' - -export homepage_url="$(url-for "$lang/")" - -export homepage_url_absolute="$(absolute "$homepage_url")" - -export about_url="$(url-for "$lang/$about_url_name")" - - -export index_article_title='Blog' - -export index_recent_article_title='Artigos recentes' - -export index_category_article_title='Artigos por categoria' - -export index_article_url="$(url-for "$lang/$(coll2path "$lang" article)")" - -export feed_article_title="Artigos do EuAndreh" - - -export index_pastebin_title='Pastebins' - -export index_recent_pastebin_title='Pastebins listing' - -export index_category_pastebin_title='Pastebins by category' - -export index_pastebin_url="$(url-for "$lang/$(coll2path "$lang" pastebin)")" - -export feed_pastebin_title="EuAndreh's pastebins" - - -export index_til_title='HEA' - -export index_recent_til_title='HEA recentes' - -export index_category_til_title='HEA por categoria' - -export index_til_url="$(url-for "$lang/$(coll2path "$lang" til)")" - -export feed_til_title="HEA do EuAndreh" - - -export index_slide_title='Slides' - -export index_recent_slide_title='Slides listing' - -export index_category_slide_title='Slides by category' - -export index_slide_url="$(url-for "$lang/$(coll2path "$lang" slide)")" - -export feed_slide_title="EuAndreh's slides" diff --git a/v2/src/lib/category-header.html b/v2/src/lib/category-header.html deleted file mode 100644 index 03f0949..0000000 --- a/v2/src/lib/category-header.html +++ /dev/null @@ -1,6 +0,0 @@ - <h2 id="$category"> - <a href="#$category">$index_recent_title_html</a> - <a href="$feed_url"> - <img class="svg-icon" src="$icon_atom_url" alt="$icon_atom_alt" /> - </a> - </h2> diff --git a/v2/src/lib/category.html b/v2/src/lib/category.html deleted file mode 100644 index 172829b..0000000 --- a/v2/src/lib/category.html +++ /dev/null @@ -1,3 +0,0 @@ - <li> - <a href="$url">$title_html</a> - $formatted_date_html - </li> diff --git a/v2/src/lib/commencement.en.conf b/v2/src/lib/commencement.en.conf deleted file mode 100644 index 70978a2..0000000 --- a/v2/src/lib/commencement.en.conf +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -export article_collection_name='' - -export pastebin_collection_name='pastebin' - -export til_collection_name='til' - -export slide_collection_name='slide' diff --git a/v2/src/lib/commencement.pt.conf b/v2/src/lib/commencement.pt.conf deleted file mode 100644 index ba6693c..0000000 --- a/v2/src/lib/commencement.pt.conf +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -export article_collection_name='' - -export pastebin_collection_name='pastebin' - -export til_collection_name='hea' - -export slide_collection_name='slide' diff --git a/v2/src/lib/comment.en.html b/v2/src/lib/comment.en.html deleted file mode 100644 index 6646b14..0000000 --- a/v2/src/lib/comment.en.html +++ /dev/null @@ -1,8 +0,0 @@ - <hr /> - <p class="post-footer"> - <a href="$mailto_uri">Comment</a> - and see - <a href="$discussions_url">existing discussions</a> - | - <a href="$sourcecode_url">view source</a> - </p> diff --git a/v2/src/lib/comment.pt.html b/v2/src/lib/comment.pt.html deleted file mode 100644 index c703847..0000000 --- a/v2/src/lib/comment.pt.html +++ /dev/null @@ -1,6 +0,0 @@ - <hr /> - <p class="post-footer"> - <a href="$mailto_uri">Comment</a> and see <a -href="$discussions_url">existing discussions</a> | <a -href="$sourcecode_url">view source</a> - </p> diff --git a/v2/src/lib/date.en.html b/v2/src/lib/date.en.html deleted file mode 100644 index 0911bac..0000000 --- a/v2/src/lib/date.en.html +++ /dev/null @@ -1,3 +0,0 @@ - <p class="timestamp"> - Posted on <time datetime="$date">$formatted_date</time> - </p> diff --git a/v2/src/lib/date.pt.html b/v2/src/lib/date.pt.html deleted file mode 100644 index 0911bac..0000000 --- a/v2/src/lib/date.pt.html +++ /dev/null @@ -1,3 +0,0 @@ - <p class="timestamp"> - Posted on <time datetime="$date">$formatted_date</time> - </p> diff --git a/v2/src/lib/entry.html b/v2/src/lib/entry.html deleted file mode 100644 index cbab9c0..0000000 --- a/v2/src/lib/entry.html +++ /dev/null @@ -1,5 +0,0 @@ - <li> - $formatted_date_html - <br /> - <a href="$url">$title_html</a> - </li> diff --git a/v2/src/lib/entry.xml b/v2/src/lib/entry.xml deleted file mode 100644 index b43b238..0000000 --- a/v2/src/lib/entry.xml +++ /dev/null @@ -1,22 +0,0 @@ - <entry xml:lang="$lang"> - <title type="html"> - $title_html - </title> - <link type="text/html" rel="alternative" href="$url_absolute" title="$title_html" /> - <published> - $date_iso - </published> -$update_xml - <id> - $url_absolute - </id> - <author> - <name> - $author - </name> - <email> - $email - </email> - </author> - - <summary type="html"> diff --git a/v2/src/lib/feed.xml b/v2/src/lib/feed.xml deleted file mode 100644 index 8e70e98..0000000 --- a/v2/src/lib/feed.xml +++ /dev/null @@ -1,15 +0,0 @@ -<feed - xmlns="http://www.w3.org/2005/Atom" - xmlns:content="http://purl.org/rss/1.0/modules/content/" - xml:lang="$lang"> - <link href="$url_absolute" rel="self" type="application/atom+xml" /> - <link href="$collection_url_absolute" rel="alternate" type="text/html" hreflang="$lang" /> - <title>$site_name_html</title> - <subtitle>$feed_title_html</subtitle> - <id>$url_absolute</id> - <updated>$now</updated> - - <author> - <name>$author</name> - <email>$email</email> - </author> diff --git a/v2/src/lib/index-postamble.html b/v2/src/lib/index-postamble.html deleted file mode 100644 index 899c88c..0000000 --- a/v2/src/lib/index-postamble.html +++ /dev/null @@ -1,8 +0,0 @@ - </ul> - - <h2> - <a href="$by_category_url"> - $index_category_title_html - <img class="svg-icon" src="$icon_linkto_url" alt="$icon_linkto_alt" /> - </a> - </h2> diff --git a/v2/src/lib/index-preamble.html b/v2/src/lib/index-preamble.html deleted file mode 100644 index 57563bc..0000000 --- a/v2/src/lib/index-preamble.html +++ /dev/null @@ -1,7 +0,0 @@ - <h2> - $index_recent_title_html - <a href="$feed_url"> - <img class="svg-icon" src="$icon_atom_url" alt="$icon_atom_alt" /> - </a> - </h2> - <ul class="no-style"> diff --git a/v2/src/lib/mapentry.xml b/v2/src/lib/mapentry.xml deleted file mode 100644 index 5c715c0..0000000 --- a/v2/src/lib/mapentry.xml +++ /dev/null @@ -1,5 +0,0 @@ - <url> - <loc>$url_absolute</loc> - <lastmod>$lastmod</lastmod> - <changefreq>monthly</changefreq> - </url> diff --git a/v2/src/lib/postamble.html b/v2/src/lib/postamble.html deleted file mode 100644 index e55666d..0000000 --- a/v2/src/lib/postamble.html +++ /dev/null @@ -1,25 +0,0 @@ -$comment_html - </article> - </main> - <footer> - <hr /> - <ul> - <li> - <img class="svg-icon" src="$icon_envelope_url" alt="$icon_envelope_alt" /> - <a href="mailto:$email">$email</a> - </li> - <li> - <img class="svg-icon" src="$icon_lock_url" alt="$icon_lock_alt" /> - <a href="$pubkey_url">$pubkey_id</a> - </li> - </ul> - <p> - The content for this site is licensed under - <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>. - The <a href="https://euandre.org/git/euandre.org">code</a> is - <a rel="license" href="https://euandre.org/git/euandre.org/tree/COPYING">AGPLv3 or later</a>. - Patches welcome. - </p> - </footer> - </body> -</html> diff --git a/v2/src/lib/preamble.html b/v2/src/lib/preamble.html deleted file mode 100644 index 17efced..0000000 --- a/v2/src/lib/preamble.html +++ /dev/null @@ -1,51 +0,0 @@ -<!DOCTYPE html> -<html lang="$lang"> - <head> - <meta charset="UTF-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> - <link rel="stylesheet" type="text/css" href="$style_url" /> - <link rel="icon" type="image/svg+xml" href="$icon_favicon_url" /> - <link rel="canonical" type="text/html" href="$url_absolute" /> -$translations_head_html -$collection_head_html -$collection_head_prev_html -$collection_head_next_html - - <title>$title_html</title> - - <meta name="author" content="$author" /> - <meta property="og:url" content="$url_absolute" /> - <meta property="og:site_name" content="$site_name" /> - <meta property="og:locale" content="$lang" /> - <meta property="og:title" content="$title_html" /> - </head> - <body> - <header> - <nav> - <ul class="main-navigation-links"> - <li> - <a href="$homepage_url">$author</a> - </li> - <li> - <a href="$about_url">$about</a> - </li> - </ul> - <ul class="collections-navigation-links"> - <li> - <a href="$index_til_url">$index_til_title</a> - </li> - <li> - <a href="$index_pastebin_url">$index_pastebin_title</a> - </li> - </ul> -$translations_body_html - </nav> - <hr /> - </header> - <main> - <article> - <h1> - $title_html - </h1> -$date_html -$update_html diff --git a/v2/src/lib/update.en.html b/v2/src/lib/update.en.html deleted file mode 100644 index 99760cb..0000000 --- a/v2/src/lib/update.en.html +++ /dev/null @@ -1,3 +0,0 @@ - <p class="timestamp"> - Updated on <time datetime="$update">$formatted_update</time> - </p> diff --git a/v2/src/lib/update.pt.html b/v2/src/lib/update.pt.html deleted file mode 100644 index 99760cb..0000000 --- a/v2/src/lib/update.pt.html +++ /dev/null @@ -1,3 +0,0 @@ - <p class="timestamp"> - Updated on <time datetime="$update">$formatted_update</time> - </p> |