]> zackmdavis.net Git - An_Algorithmic_Lucidity.git/commitdiff
link to feeds master
authorZack M. Davis <code@zackmdavis.net>
Thu, 16 Jul 2026 22:31:01 +0000 (15:31 -0700)
committerZack M. Davis <code@zackmdavis.net>
Thu, 16 Jul 2026 22:40:11 +0000 (15:40 -0700)
theme/static/css/style.css
theme/templates/base.html

index d65eb2325d30c4919ead9f673cda82a6892911d3..7a5c48cf4a3f19ffdb05d43dade4859e24191d47 100644 (file)
@@ -318,6 +318,21 @@ header h1 a:hover {
     font-size: 12px;
 }
 
+.feed-links {
+    display: flex;
+    gap: 12px;
+}
+
+.feed-link {
+    display: inline-flex;
+    align-items: center;
+    gap: 4px;
+}
+
+.feed-link svg {
+    flex-shrink: 0;
+}
+
 .archive-title {
     font-family: "Bitstream Charter", "Charter", Georgia, serif;
     font-size: 22px;
index 464d929f2d2a58c6fdc6208a34d1be8880aa1427..7f8ecbfc4499899ca48a3e665a5b6403283f1bbd 100644 (file)
         </div>
 
         <aside class="sidebar">
+            {% if FEED_ALL_RSS or FEED_ALL_ATOM %}
+            <div class="widget">
+                <h3>Feeds</h3>
+                <p class="feed-links">
+                    {% if FEED_ALL_RSS %}
+                    <a href="{{ SITEURL }}/{{ FEED_ALL_RSS }}" class="feed-link" title="{{ SITENAME }} RSS Feed">
+                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><rect width="16" height="16" rx="3" fill="#F78422"/><circle cx="4" cy="12" r="1.5" fill="#fff"/><path d="M2.5 6.5a7 7 0 0 1 7 7h-2.5a4.5 4.5 0 0 0-4.5-4.5z" fill="#fff"/><path d="M2.5 2.5a11 11 0 0 1 11 11h-2.5a8.5 8.5 0 0 0-8.5-8.5z" fill="#fff"/></svg>
+                        RSS
+                    </a>
+                    {% endif %}
+                    {% if FEED_ALL_ATOM %}
+                    <a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" class="feed-link" title="{{ SITENAME }} Atom Feed">
+                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><rect width="16" height="16" rx="3" fill="#F78422"/><circle cx="4" cy="12" r="1.5" fill="#fff"/><path d="M2.5 6.5a7 7 0 0 1 7 7h-2.5a4.5 4.5 0 0 0-4.5-4.5z" fill="#fff"/><path d="M2.5 2.5a11 11 0 0 1 11 11h-2.5a8.5 8.5 0 0 0-8.5-8.5z" fill="#fff"/></svg>
+                        Atom
+                    </a>
+                    {% endif %}
+                </p>
+            </div>
+            {% endif %}
+
             <div class="widget">
                 <h3>Archives</h3>
                 {% set archive_dates = all_articles if all_articles is defined else dates %}