modify waterspill:

This commit is contained in:
Tyrel Souza 2023-07-20 16:09:02 -04:00
parent d4c488de15
commit e1b3d69d16
No known key found for this signature in database
GPG Key ID: F3614B02ACBE438E
7 changed files with 51 additions and 64 deletions

View File

@ -16,7 +16,7 @@ MENUITEMS = [
('Categories', f'{SITEBASE}/categories.html'),
]
LINKS = (
('All My Accounts', 'https://tyrel.dev/links'),
('Find Me', 'https://tyrel.dev/links'),
('Book Me', 'https://cal.com/tyrelsouza'),
)

View File

@ -213,3 +213,13 @@ ol {
font-size: 1px;
line-height: 0px;
}
div.figure img {
max-width: 100%;
}
#site-notes {
margin-top: 3rem;
}

View File

@ -4,13 +4,12 @@
<div class="blogItem">
<dl>
<h2>Archives of {{ SITENAME }}</h2>
{% for article in dates %}
<dt>{{ article.locale_date }}</dt>
<dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
{% endfor %}
</dl>
<h2>Archives of {{ SITENAME }}</h2>
{% for article in dates %}
<dt>{{ article.locale_date }}</dt>
<dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
{% endfor %}
</dl>
</div>

View File

@ -9,11 +9,10 @@
<h3>{{ article.locale_date }}</h3>
{{ article.content }}
{% include 'twitter.html' %}
<h3 class="blogMeta">By <a href="#">{{ article.author }}</a>{% if not SUPPRESS_ITEM_CATEGORIES %}, Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}</h3>
{% if article.tags %}<h3 class="blogMeta">Tags: {% for tag in article.tags %}
<span><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> / </span>
<h3 class="blogMeta">{% if not SUPPRESS_ITEM_CATEGORIES %}Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}
| {% if article.tags %}Tags: {% for tag in article.tags %}
<span><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> {% if not loop.last %} / {% endif %} </span>
{% endfor %}</h3>{% endif %}
</div><!-- end #blogItem -->

View File

@ -61,6 +61,16 @@
</ul>
</li>
{% endif %}
{% if LINKS %}
<li>
<h3>External Links</h3>
<ul>
{% for name, link in LINKS %}
<li><a href="{{ link }}">{{ name }}</a></li>
{% endfor %}
</ul>
</li>
{% endif %}
{% if not SUPPRESS_CATEGORIES_ON_MENU %}
<li>
<h3>Categories</h3>
@ -71,16 +81,6 @@
</ul>
</li>
{% endif %}
{% if LINKS %}
<li>
<h3>Blogroll</h3>
<ul>
{% for name, link in LINKS %}
<li><a href="{{ link }}">{{ name }}</a></li>
{% endfor %}
</ul>
</li>
{% endif %}
{% if SOCIAL %}
<li>
<h3>Social</h3>
@ -121,7 +121,6 @@
<div id="footer">
<p><a href="http://css4free.com/" title="free CSS web site designs">Free CSS Gallery</a></p>
<p>Proudly powered by <a href="http://getpelican.com">pelican</a>, which takes great advantages of <a href="http://python.org">python</a>.
</div><!-- end #footer -->

View File

@ -1,46 +1,27 @@
{% extends "base.html" %}
{% block content_title %}{% endblock %}
{% block content %}
{% if articles %}
{% for article in articles %}
{% if loop.index == 1 %}
<div class="blogItem">
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
<h3>{{ article.locale_date }}</h3>
{{ article.content }}
<h3 class="blogMeta">By <a href="#">{{ article.author }}</a>{% if not SUPPRESS_ITEM_CATEGORIES %}, Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}</h3>
{% if article.tags %}<h3 class="blogMeta">Tags: {% for tag in article.tags %}
<span><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> / </span>
{% endfor %}</h3>{% endif %}
</div><!-- end #blogItem -->
{% if loop.length > 1 %}
{% if articles %}
{% for article in articles %}
{% if loop.index <= 3 %}
<div class="blogItem">
<h2>Other articles</h2>
</div>
{% endif %}
{% else %}
<div class="blogItem">
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
<h3>{{ article.locale_date }}</h3>
{{ article.summary }}
<h3 class="blogMeta">By <a href="#">{{ article.author }}</a>{% if not SUPPRESS_ITEM_CATEGORIES %}, Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}</h3>
<a href="{{ SITEURL }}/{{ article.url }}">Continue reading …</a>
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
<h3>{{ article.locale_date }}</h3>
{{ article.content }}
<h3 class="blogMeta">{% if not SUPPRESS_ITEM_CATEGORIES %}Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %} | {% if article.tags %} Tags: {% for tag in article.tags %} <span><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> {% if not loop.last %} / {% endif %} </span> {% endfor %}</h3>{% endif %}</div>
{% endif %}
{% endfor %}
</div><!-- end #blogItem -->
{% endif %}
{% endfor %}
{% else %}
<dl>
<h2>Archives of {{ SITENAME }}</h2>
{% for article in dates %}
{% if loop.index > 3 %}
<dt>{{ article.locale_date }}</dt>
<dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
{% endif %}
{% endfor %}
</dl>
{% endif %}
{% endblock content %}

View File

@ -5,7 +5,6 @@
<div class="blogItem">
<h2><a href="{{ SITEURL }}/pages/{{ page.url }}">{{ page.title }}</a></h3>
{{ page.content }}
{% include 'twitter.html' %}
{% if PDF_PROCESSOR %}<h3 class="blogMeta"><a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">get
the pdf</a></h3>{% endif %}