Compare commits
10 commits
958d9aee89
...
9c5b894c09
Author | SHA1 | Date | |
---|---|---|---|
|
9c5b894c09 | ||
|
4129f82cd7 | ||
|
278e3ea81a | ||
|
8e9a80f7cc | ||
|
0e991a4677 | ||
|
803b5335f2 | ||
|
ca494daa3e | ||
|
62961cd1e2 | ||
|
1d7ace3ece | ||
|
75e1eb4249 |
3 changed files with 19 additions and 5 deletions
11
archetypes/posts.md
Normal file
11
archetypes/posts.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
slug: {{ now.Format "2006-01-02" }}-{{ .Name | urlize }}
|
||||
type: posts
|
||||
draft: true
|
||||
categories:
|
||||
- default
|
||||
tags:
|
||||
- default
|
||||
---
|
|
@ -1,9 +1,12 @@
|
|||
html {overflow-y: scroll}
|
||||
body{max-width:800px;margin:40px auto;padding:0 10px;font:14px/1.5 monospace;color:#444}h1,h2,h3{line-height:1.2}@media (prefers-color-scheme: dark){body{color:white;background:#444}a:link{color:#5bf}a:visited{color:#ccf}}
|
||||
p > code{color: #FFFFFF; background:#000000; padding:2px}
|
||||
pre{color: #FFFFFF; background:#000000; padding:24px; overflow-x: auto}
|
||||
:root { --bgcolor: white; --fontcolor: #444; --linkcolor: #00e; --visitedcolor: #551a8b; --precolor: #fff; --prebgcolor: #000;}
|
||||
@media (prefers-color-scheme: dark) { :root { --bgcolor: black; --fontcolor: white; --linkcolor: #5bf; --visitedcolor: #ae5ee0; --precolor: #fff; --prebgcolor: #383838;}}
|
||||
body{max-width:800px;margin:40px auto;padding:0 10px;font:14px/1.5 monospace;color:var(--fontcolor); background: var(--bgcolor)}a:link{color: var(--linkcolor)}a:visited{color: var(--visitedcolor)}a:active{color: var(--visitedcolor)}h1,h2,h3{line-height:1.2}
|
||||
p > code{color: var(--precolor); background: var(--prebgcolor); padding:2px}
|
||||
code{color: var(--precolor); background: var(--prebgcolor); padding:2px}
|
||||
pre{color: var(--precolor); background: var(--prebgcolor); padding:24px; overflow-x: auto}
|
||||
article{padding:24px 0}
|
||||
.center {display: block;margin-left: auto;margin-right: auto;width: 100%;}
|
||||
img {display: block; max-width: 100%; height: auto;}
|
||||
figcaption {color: #888; font: 12px/1.5 monospace; text-align: center;}
|
||||
figure {margin: auto}
|
||||
img {display: block; max-width: 100%; height: auto; margin: auto}
|
||||
|
|
|
@ -14,4 +14,4 @@ min_version = "0.20"
|
|||
[original]
|
||||
author = "Vimux"
|
||||
homepage = "https://github.com/Vimux"
|
||||
repo = "https://github.com/colorchestra/blank"
|
||||
repo = "https://github.com/Vimux/blank"
|
||||
|
|
Loading…
Reference in a new issue