More site code improvements. Better imgproc, better caption CSS, make post archetype assume we'll have images.

This commit is contained in:
2023-11-07 02:16:54 +00:00
parent 3c80fa1214
commit 33a57f0373
5 changed files with 46 additions and 23 deletions

View File

@ -1,8 +1,5 @@
---
title: "{{ replace (replace .Name "draft-" "") "-" " " | title }}"
title: "{{ replace .Name "-" " " | title }}"
date: {{ dateFormat (.Site.Params.dateformat) .Date }}
draft: true
tags:
- tag1
---
<!--more-->

View File

10
archetypes/posts/index.md Normal file
View File

@ -0,0 +1,10 @@
---
title: "{{ replace (replace .Name "draft-" "") "-" " " | title }}"
date: {{ dateFormat (.Site.Params.dateformat) .Date }}
draft: true
tags:
- tag1
---
<!--more-->