diff options
author | Steph Enders <steph@senders.io> | 2024-02-29 09:31:15 -0500 |
---|---|---|
committer | Steph Enders <steph@senders.io> | 2024-02-29 09:31:15 -0500 |
commit | 2b39175011422a0d8f96d7f598f46e2a781dd28f (patch) | |
tree | dd896a1e35e2ec194bfce829afd61f553652464a /www/index.html | |
parent | 350a5058cf383733a7e75f753abdcd1cb7aae2c5 (diff) |
Initial rework commit: Build Script POC and CSS done
I've created the main CSS layout and a proof of concept for the build
script: this will actually build any "done" _post/ file and generate
it as a workable HTML file. However, no index file generate, rss, or
gemini is implemented
Diffstat (limited to 'www/index.html')
-rw-r--r-- | www/index.html | 126 |
1 files changed, 0 insertions, 126 deletions
diff --git a/www/index.html b/www/index.html deleted file mode 100644 index 6bc071b..0000000 --- a/www/index.html +++ /dev/null @@ -1,126 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <meta name="generator" - content="HTML Tidy for HTML5 for Linux version 5.7.45"> - <title>senders.io - Homepage</title> - <link rel='stylesheet' - type='text/css' - href='/index.css'> - <meta name="viewport" - content="width=device-width, initial-scale=1"> -</head> -<body> - <div id='header'> - <a class='title' - href='/'>senders.io</a> - <nav> - <a href="/blog">blog</a> <a rel="external noopener noreferrer" - target="_blank" - href="https://github.com/s3nd3r5">github</a> <a rel= - "external noopener noreferrer" - target="_blank" - href="https://git.senders.io">cgit</a> <a rel= - "me external noopener noreferrer" - target="_blank" - href="https://tech.lgbt/@senders">fedi</a> - </nav> - </div> - <div id='body'> - <article> - <h1>Welcome to Senders' homepage</h1> - <p>This is my personal site for my projects and other random stuff I feel - like uploading. A lot of it comes in the form of micro-blogs and stream - of consciousness ramblings.</p> - <p>You can subscribe to my extremely infrequent blog via RSS: <a href= - "/blog/feed.rss" - rel="rss noopener" - target="_blank">/blog/feed.rss</a></p> - </article> - <article> - <h1>Recent Post - 2023-01-06</h1> - <h2>How I Generate My RSS Feed</h2> - <p>I only just now started supplying an RSS feed to you fine people! You - can subscribe to it at <a href= - "/blog/feed.rss">www.senders.io/blog/feed.rss</a>!</p> - <p>I decided rather than manually generating the file contents I’d hook - into my pre-existing publish scripts to be able to generate the RSS - file.</p> - <h3>Publishing blog posts - shell scripts ftw</h3> - <p>In <a href="/blog/2022-11-06/">My Markdown -> HTML Setup</a> I - touch on how I publish my markdown files into HTML for this blog. But - what I don’t <em>really</em> touch on is the shell scripts that tie the - whole process together.</p> - <p>What I have is two, now three, scripts that feed the whole - process:</p> - <ol> - <li><code>publish-blog.sh</code> - the main script</li> - <li><code>compile-md.sh</code> - generates the HTML output</li> - <li><code>update-feed.sh</code> - generates/appends the RSS feed</li> - </ol> - <p>The <code>update-feed.sh</code> script is the new one I just - added.</p> - <p><code>publish-blog.sh</code> is the primary interface, I supply the - date of the post and the path to the md file and that calls compile and - update to automate the entire process.</p> - <p>Without going into TOO much detail you can view the latest versions of - the scripts at <a rel="external noopener noreferrer" - target="_blank" - href= - "https://git.senders.io/senders/senders-io/tree/">git.senders.io/senders/senders-io/tree/</a>.</p> - <p>But the gist of the scripts is I parse out the necessary details, - find/replace some tokens in template files I have setup for headers and - footers, and concat the outputs into the final output HTML files, and now - RSS feed.</p> - <div class='footer'> - <a href='/blog/2023-01-06/'>Continue reading...</a> - </div> - </article> - <article> - <h1>Recent Post - 2022-12-31</h1> - <h2>RSS - A Follow-up</h2> - <p>Get an RSS reader and connect everything to it!</p> - <p>Between switching to Mastodon for my social media allowance, and using - a dedicated RSS reader has really cut down my overall consumption and - wasted PC time.</p> - <blockquote> - <p>this blogpost is originally posted to my gemini gemlog: <a href= - "gemini://senders.io/gemlog/2022-12-31-rss-a-follow-up.gmi">gemini://senders.io/gemlog/2022-12-31-rss-a-follow-up.gmi</a> - which is where I do most of my writing, converting some useful to share - things over here. It is also where the original RSS gemlog this is a - follow-up to was posted. For context, I wanted to cutback on a lot of - my web consumption, wasting time and just being mindless online. So I - looked to RSS to help centralize and solve this issue.</p> - </blockquote> - <h3>Recap</h3> - <p>So I am using <a rel="external noopener noreferrer" - target="_blank" - href="https://tt-rss.org">https://tt-rss.org/</a> as my RSS - aggregator. It’s a self-hosted RSS aggregator that, using profiles, - allows you to subscribe to multiple feeds and have them “synced” - between multiple devices (they’re not synced, you’re connecting to a - central server). I like this because I don’t ever have to worry about - dismissing, reading, or marking anything on my phone to have it still - present on my PC. And I don’t have to worry about feed subscriptions - or my phone pinging a bunch of feeds, or obviously, any third-party - hosting.</p> - <div class='footer'> - <a href='/blog/2022-12-31'>Continue reading...</a> - </div> - </article> - <div class="footnote"> - <p>The site source is available at <a rel="noopener noreferrer external" - target="_blank" - href= - "https://git.senders.io/senders/senders-io">git.senders.io/senders/senders-io</a>.</p> - </div> - <div id='copyright'> - © 2023 senders dot io - <a rel="license external noopener noreferrer" - target="_blank" - href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA - 4.0</a> unless otherwise noted. - </div> - </div> -</body> -</html> |