Compare commits
2 commits
7d3a51cdfd
...
8ba7e18a99
| Author | SHA1 | Date | |
|---|---|---|---|
| 8ba7e18a99 | |||
| 3423332e0f |
5 changed files with 14 additions and 7 deletions
4
Makefile
4
Makefile
|
|
@ -1,4 +1,4 @@
|
||||||
STAGING_SITE = test2.nickpegg.com
|
STAGING_SITE = test.nickpegg.com
|
||||||
|
|
||||||
all: clean build stage
|
all: clean build stage
|
||||||
|
|
||||||
|
|
@ -20,4 +20,4 @@ stage_build:
|
||||||
posty build -c config.staging.yml
|
posty build -c config.staging.yml
|
||||||
|
|
||||||
stage_publish:
|
stage_publish:
|
||||||
gsutil -m rsync -c -d -r build/ gs://$(STAGING_SITE)
|
gsutil -m -h "Cache-Control:max-age=30, no-transform" rsync -c -d -r build/ gs://$(STAGING_SITE)
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ title: Nick Pegg
|
||||||
base_url: /
|
base_url: /
|
||||||
|
|
||||||
num_top_tags: 5
|
num_top_tags: 5
|
||||||
num_posts_per_page: 5
|
num_posts_per_page: -1
|
||||||
|
|
||||||
feeds:
|
feeds:
|
||||||
rss: True
|
rss: True
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ title: Nick Pegg
|
||||||
base_url: https://nickpegg.com/
|
base_url: https://nickpegg.com/
|
||||||
|
|
||||||
num_top_tags: 5
|
num_top_tags: 5
|
||||||
num_posts_per_page: 5
|
num_posts_per_page: -1
|
||||||
|
|
||||||
feeds:
|
feeds:
|
||||||
rss: True
|
rss: True
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,11 @@ blockquote {
|
||||||
text-decoration: inherit;
|
text-decoration: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-list-item {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 6fr;
|
||||||
|
}
|
||||||
|
|
||||||
/* nav
|
/* nav
|
||||||
****************************************/
|
****************************************/
|
||||||
.nav {
|
.nav {
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,12 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% set read_more = True %}
|
{% set read_more = True %}
|
||||||
|
|
||||||
|
<h1>Latest Posts</h1>
|
||||||
{% for post in posts %}
|
{% for post in posts %}
|
||||||
{% with post_content = post.blurb|markdown %}
|
<div class="post-list-item">
|
||||||
{% include "post_base.html" %}
|
<span>{{post.date}}</span>
|
||||||
{% endwith %}
|
<span><a href="{{post.url()}}">{{post.title}}</a></span>
|
||||||
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue