modify waterspill:
This commit is contained in:
parent
d4c488de15
commit
e1b3d69d16
@ -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'),
|
||||
)
|
||||
|
||||
|
@ -213,3 +213,13 @@ ol {
|
||||
font-size: 1px;
|
||||
line-height: 0px;
|
||||
}
|
||||
|
||||
div.figure img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
#site-notes {
|
||||
margin-top: 3rem;
|
||||
|
||||
}
|
||||
|
@ -8,9 +8,8 @@
|
||||
{% for article in dates %}
|
||||
<dt>{{ article.locale_date }}</dt>
|
||||
<dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
|
||||
|
||||
{% endfor %}
|
||||
</dl>
|
||||
</dl>
|
||||
|
||||
|
||||
</div>
|
||||
|
@ -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 -->
|
||||
|
@ -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 -->
|
||||
|
||||
|
@ -3,44 +3,25 @@
|
||||
{% block content %}
|
||||
{% if articles %}
|
||||
{% for article in articles %}
|
||||
{% if loop.index == 1 %}
|
||||
|
||||
{% if loop.index <= 3 %}
|
||||
<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 %}
|
||||
<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 -->
|
||||
<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 %}
|
||||
{% else %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
<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 %}
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user