diff --git a/Makefile b/Makefile index 90a6b75..ac07bdf 100644 --- a/Makefile +++ b/Makefile @@ -20,4 +20,4 @@ stage_build: posty build -c config.staging.yml 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) diff --git a/config.staging.yml b/config.staging.yml index 7e1c3fc..a8279ce 100644 --- a/config.staging.yml +++ b/config.staging.yml @@ -4,7 +4,7 @@ title: Nick Pegg base_url: / num_top_tags: 5 -num_posts_per_page: 5 +num_posts_per_page: -1 feeds: rss: True diff --git a/config.yml b/config.yml index 999296a..8b52679 100644 --- a/config.yml +++ b/config.yml @@ -4,7 +4,7 @@ title: Nick Pegg base_url: https://nickpegg.com/ num_top_tags: 5 -num_posts_per_page: 5 +num_posts_per_page: -1 feeds: rss: True diff --git a/media/css/index.css b/media/css/index.css index 8dd9570..aa46388 100644 --- a/media/css/index.css +++ b/media/css/index.css @@ -52,6 +52,11 @@ blockquote { text-decoration: inherit; } +.post-list-item { + display: grid; + grid-template-columns: 1fr 6fr; +} + /* nav ****************************************/ .nav { diff --git a/templates/posts.html b/templates/posts.html index 059f7f3..5525ece 100644 --- a/templates/posts.html +++ b/templates/posts.html @@ -5,10 +5,12 @@ {% block content %} {% set read_more = True %} +