More site code improvements. Better imgproc, better caption CSS, make post archetype assume we'll have images.
This commit is contained in:
@ -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-->
|
||||
|
0
archetypes/posts/images/.gitkeep
Normal file
0
archetypes/posts/images/.gitkeep
Normal file
10
archetypes/posts/index.md
Normal file
10
archetypes/posts/index.md
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
title: "{{ replace (replace .Name "draft-" "") "-" " " | title }}"
|
||||
date: {{ dateFormat (.Site.Params.dateformat) .Date }}
|
||||
draft: true
|
||||
tags:
|
||||
- tag1
|
||||
---
|
||||
|
||||
|
||||
<!--more-->
|
Reference in New Issue
Block a user