Tidy the templates a _little_ bit more

This commit is contained in:
R Tyler Croy 2019-05-26 11:23:08 -07:00
parent cad09097ff
commit d8709b4feb
No known key found for this signature in database
GPG Key ID: E5C92681BEF6CEA2
4 changed files with 34 additions and 22 deletions

View File

@ -11,10 +11,21 @@
<style type="text/css">
body {
margin: 0px;
font-family: 'proxima-nova', 'Helvetica', 'Avenir', 'Arial', sans-serif;
color: #4D4D4D;
background-color: white;
font-size: 1.1rem;
}
a:link, a:visited {
color: black;
}
a:hover {
color: red;
text-decoration: none;
}
@media(min-width: 1024px) {
.content {
max-width: 55%;
max-width: 65%;
}
main {
margin-left: auto;
@ -31,8 +42,7 @@
}
header.masthead {
float: right;
background-color: #e9e9e9;
padding: 1rem;
margin-right: 1rem;
}
.notice {
background: #ffffe0;
@ -52,10 +62,10 @@
<body>
<div class="notice container">
<strong>
Hiya!
Hiya!
</strong>
I hope you enjoy some of these words I put together. I would appreciate your
donations for my <a href="http://www.tofighthiv.org/goto/rtyler" target="_blank">ride to end HIV/AIDS</a>
donations for my <a href="http://www.tofighthiv.org/goto/rtyler" target="_blank">ride to end HIV/AIDS</a>
as part of AIDS/LifeCyle 2019.
</div>
<div class="container">

View File

@ -18,17 +18,16 @@ layout: default
<h1 class="post-title">{{ page.title }}</h1>
<div class="post-tags">
{% for tag in page.tags %}
<span>
<strong>
<a href="/tag/{{ tag }}.html">{{ tag }}</a>
</strong>
<span class="post-tag">
<a href="/tag/{{ tag }}.html">{{ tag }}</a>
&nbsp;
</span>
{% endfor %}
</div>
<div class="post-date">
<em>Posted:</em>
<time>{{ page.date | date_to_string }}</time>
<em>
<time>{{ page.date | date_to_string }}</time>
</em>
</div>
{{ content }}
</div>

View File

@ -1,11 +1,14 @@
---
layout: default
---
<h2>{{ page.tag }}</h2>
<ul>
{% for post in site.tags[page.tag] %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a> ({{ post.date | date_to_string }})
</li>
{% endfor %}
</ul>
<main class="content"
<h2>{{ page.tag }}</h2>
<ul>
{% for post in site.tags[page.tag] %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a> ({{ post.date | date_to_string }})
</li>
{% endfor %}
</ul>
</main>

View File

@ -22,11 +22,10 @@ title: rtyler - home
<main class="content list" role="main">
{% for post in paginator.posts %}
<hr noshade/>
<article class="post">
<header class="post-header">
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
<span class="post-meta"><time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date_to_string }}</time> {{!tags prefix="on "}}</span>
<h1 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h1>
<span class="post-meta"><em><time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date_to_string }}</time></em> {{!tags prefix="on "}}</span>
<small>&middot;</small>
{% for tag in post.tags %}
<span>
@ -42,6 +41,7 @@ title: rtyler - home
{{ post.excerpt }}
</section>
</article>
<hr noshade/>
{% endfor %}