Compare commits

..

No commits in common. "8ba7e18a99a4a17f16106491f614a80cca1b1069" and "7d3a51cdfd95951f3fea6bba14795264bbb5c21a" have entirely different histories.

5 changed files with 7 additions and 14 deletions

View file

@ -1,4 +1,4 @@
STAGING_SITE = test.nickpegg.com
STAGING_SITE = test2.nickpegg.com
all: clean build stage
@ -20,4 +20,4 @@ stage_build:
posty build -c config.staging.yml
stage_publish:
gsutil -m -h "Cache-Control:max-age=30, no-transform" rsync -c -d -r build/ gs://$(STAGING_SITE)
gsutil -m rsync -c -d -r build/ gs://$(STAGING_SITE)

View file

@ -4,7 +4,7 @@ title: Nick Pegg
base_url: /
num_top_tags: 5
num_posts_per_page: -1
num_posts_per_page: 5
feeds:
rss: True

View file

@ -4,7 +4,7 @@ title: Nick Pegg
base_url: https://nickpegg.com/
num_top_tags: 5
num_posts_per_page: -1
num_posts_per_page: 5
feeds:
rss: True

View file

@ -52,11 +52,6 @@ blockquote {
text-decoration: inherit;
}
.post-list-item {
display: grid;
grid-template-columns: 1fr 6fr;
}
/* nav
****************************************/
.nav {

View file

@ -5,12 +5,10 @@
{% block content %}
{% set read_more = True %}
<h1>Latest Posts</h1>
{% for post in posts %}
<div class="post-list-item">
<span>{{post.date}}</span>
<span><a href="{{post.url()}}">{{post.title}}</a></span>
</div>
{% with post_content = post.blurb|markdown %}
{% include "post_base.html" %}
{% endwith %}
{% endfor %}
<div class="row">