Cleaning up theme

This commit is contained in:
Jeff MacKinnon 2022-11-25 22:56:44 -04:00
parent c2f7e3fdd6
commit d2e04f904e
13 changed files with 54 additions and 75 deletions

View file

@ -1,6 +1,4 @@
# theme-jeffmackinnon.com
# Jeff's Pelican SSG Theme
The base pelican theme for my site, [jeffmackinnon.com](https://jeffmackinnon.com)
@ -101,6 +99,7 @@ In order of percieved importance, but not in the order that I will get them done
- [ ] Make installable
- [X] Create custom colours
- [ ] Figure out how to create a Dark Mode
- [ ] Add paths for the .html files so I can take them out of the theme themselves.
### Roadmap notes

View file

@ -1,5 +1,5 @@
/*
Deffault Colours
Default Colours
*/
:root {

View file

@ -3,14 +3,6 @@
@import url(../css-include/pygment.css);
@import url(../css-include/pelican.css);
/*
Some site colours
*/
/*
Editorial by HTML5 UP
html5up.net | @ajlkn

View file

@ -5,10 +5,6 @@
{% block content %}
<h1>Archives for {{ SITENAME }}</h1>
<dl class="archive">
{% for article in dates %}
<dt class="archive">{{ article.locale_date }}</dt>
<dd class="archive"><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
{% endfor %}
</dl>
{% include 'include/archive_list.html' %}
{% endblock %}

View file

@ -128,7 +128,7 @@
<footer id="post-info">
{% if article.category %}
<div class="category">
Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
<p> In <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></p>
</div>
{% endif %}
{% if article.tags %}
@ -141,7 +141,6 @@
{% endif %}
</footer><!-- /.post-info -->
{% if COMMENTS is sameas True %}
<div class="comments">
<h3>Comments</h3>

View file

@ -1,23 +0,0 @@
<footer class="post-info">
<abbr class="published" title="{{ article.date.isoformat() }}">
Published: {{ article.locale_date }}
</abbr>
{% if article.modified %}
<br />
<abbr class="modified" title="{{ article.modified.isoformat() }}">
Updated: {{ article.locale_modified }}
</abbr>
{% endif %}
{% if article.authors %}
<address class="vcard author">
By {% for author in article.authors %}
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
{% endfor %}
</address>
{% endif %}
<p>In <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>.</p>
{% include 'taglist.html' %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
</footer><!-- /.post-info -->

View file

@ -141,16 +141,5 @@ $('.gallery').magnificPopup({
});
</script>
{% endif %}
<img src=
"https://media.geeksforgeeks.org/wp-content/uploads/20200122115631/GeeksforGeeks210.png"/>
<div>
<button onclick="darkMode()">Darkmode</button>
</div>
<script>
function darkMode() {
var element = document.body;
element.classList.toggle("dark-mode");
}
</script>
</body>
</html>

View file

@ -1,14 +0,0 @@
{% if GOSQUARED_SITENAME %}
<script type="text/javascript">
var GoSquared={};
GoSquared.acct = "{{ GOSQUARED_SITENAME }}";
(function(w){
function gs(){
w._gstc_lt=+(new Date); var d=document;
var g = d.createElement("script"); g.type = "text/javascript"; g.async = true; g.src = "https://d1l6p2sc9645hc.cloudfront.net/tracker.js";
var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(g, s);
}
w.addEventListener?w.addEventListener("load",gs,false):w.attachEvent("onload",gs);
})(window);
</script>
{% endif %}

View file

@ -0,0 +1,6 @@
<dl class="archive">
{% for article in dates %}
<dt class="archive">{{ article.locale_date }}</dt>
<dd class="archive"><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
{% endfor %}
</dl>

View file

@ -40,6 +40,6 @@
<div>
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
{% include 'include/pagination.html' %}
{% endif %}
</div>

View file

@ -5,10 +5,6 @@
{% block content %}
<h1>Archives for {{ period | reverse | join(' ') }}</h1>
<dl class="archive">
{% for article in dates %}
<dt class="archive">{{ article.locale_date }}</dt>
<dd class="archive"><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
{% endfor %}
</dl>
{% include 'include/archive_list.html' %}
{% endblock %}

View file

@ -0,0 +1,39 @@
This is my future
######################################
:date: 2022-12-24
:author: jeffmackinnon
:category: microblog
:tags: gripe, rbc, royal-bank
:slug: testing-a-future-thing
:status: published
:image: {photo}microblog/20221017-124028-865A6948.jpg
.. image:: {photo}microblog/20221017-124028-865A6948.jpg
:alt: Pretty Blue Morning Glory
I had to get on the phone today with RBC support to dispute a charge on my card. The vendor decided to not cancel my account like I asked in the winter, they then switched platforms, locked me out of my account, and then told me that its been more than 30 days so they can't refund me.
This was a service that I was a paying member for 7y, first with two services they discontinued, then this new membership service. However, the founder sold it to a partner and it went downhill fast from there. This partner is more of the, "all you need to do is write a blog post and then cut it up into things to post everywhere. Its that easy, 1 blog post is 1000000 pieces of content" types of guys. The founder ran a much better ship.
Anyway, I've been waiting on the phone with RBC Royal Bank for 20min so far, them reminding me that they have high call volumes and I should just do it online.
First, this can't be done online, I checked.
Second, if you are experiencing high call volumes for almost 3 years, that just tells me that you don't respect my time and I should always be looking for a better deal. I've been a RBC customer for almost 30y and the best they can do for me is....nothing.
I was able to do the following while I hold.
---------------------------------------------------
1. Write this post
#. Start darktable.
#. Edit the picture.
#. Re-write this post.
#. Edit the batch scipt that I use to publish this site.
#. Publish this site.
#. Tweak the theme.
#. Publish the site again.
And still, 30 minutes in, I'm still just hearing really bad hold music and an automated voice telling me not to give information to people if "it seems to good to be true".
For this rant, may I present to you, a pretty blue morning glory.