modify waterspill:
This commit is contained in:
parent
d4c488de15
commit
e1b3d69d16
@ -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'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -4,13 +4,12 @@
|
|||||||
|
|
||||||
<div class="blogItem">
|
<div class="blogItem">
|
||||||
<dl>
|
<dl>
|
||||||
<h2>Archives of {{ SITENAME }}</h2>
|
<h2>Archives of {{ SITENAME }}</h2>
|
||||||
{% 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>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -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 -->
|
||||||
|
@ -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 -->
|
||||||
|
|
||||||
|
@ -1,46 +1,27 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block content_title %}{% endblock %}
|
{% block content_title %}{% endblock %}
|
||||||
{% 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">
|
|
||||||
|
|
||||||
<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">
|
<div class="blogItem">
|
||||||
<h2>Other articles</h2>
|
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
|
||||||
</div>
|
<h3>{{ article.locale_date }}</h3>
|
||||||
{% endif %}
|
{{ article.content }}
|
||||||
{% else %}
|
<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>
|
||||||
<div class="blogItem">
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
|
|
||||||
<h3>{{ article.locale_date }}</h3>
|
|
||||||
|
<dl>
|
||||||
{{ article.summary }}
|
<h2>Archives of {{ SITENAME }}</h2>
|
||||||
<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>
|
{% for article in dates %}
|
||||||
<a href="{{ SITEURL }}/{{ article.url }}">Continue reading …</a>
|
{% if loop.index > 3 %}
|
||||||
|
<dt>{{ article.locale_date }}</dt>
|
||||||
|
<dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
</div><!-- end #blogItem -->
|
</dl>
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
{% else %}
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user