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'), ('Categories', f'{SITEBASE}/categories.html'),
] ]
LINKS = ( LINKS = (
('All My Accounts', 'https://tyrel.dev/links'), ('Find Me', 'https://tyrel.dev/links'),
('Book Me', 'https://cal.com/tyrelsouza'), ('Book Me', 'https://cal.com/tyrelsouza'),
) )

View File

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

View File

@ -8,7 +8,6 @@
{% for article in dates %} {% for article in dates %}
<dt>{{ article.locale_date }}</dt> <dt>{{ article.locale_date }}</dt>
<dd><a href='{{ article.url }}'>{{ article.title }}</a></dd> <dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
{% endfor %} {% endfor %}
</dl> </dl>

View File

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

View File

@ -61,6 +61,16 @@
</ul> </ul>
</li> </li>
{% endif %} {% 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 %} {% if not SUPPRESS_CATEGORIES_ON_MENU %}
<li> <li>
<h3>Categories</h3> <h3>Categories</h3>
@ -71,16 +81,6 @@
</ul> </ul>
</li> </li>
{% endif %} {% 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 %} {% if SOCIAL %}
<li> <li>
<h3>Social</h3> <h3>Social</h3>
@ -121,7 +121,6 @@
<div id="footer"> <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>. <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 --> </div><!-- end #footer -->

View File

@ -3,44 +3,25 @@
{% block content %} {% block content %}
{% if articles %} {% if articles %}
{% for article in articles %} {% for article in articles %}
{% if loop.index == 1 %} {% if loop.index <= 3 %}
<div class="blogItem"> <div class="blogItem">
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2> <h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
<h3>{{ article.locale_date }}</h3> <h3>{{ article.locale_date }}</h3>
{{ article.content }} {{ 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>
<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 %}
<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>
</div><!-- end #blogItem -->
{% endif %} {% endif %}
{% endfor %} {% 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 %} {% endif %}
{% endblock content %} {% endblock content %}

View File

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