Compare commits
No commits in common. "65088e16b2eca6751669a751f60acdb2d66dad3f" and "4137ca2531157cd234bf84c6bcbdf8d807d0a786" have entirely different histories.
65088e16b2
...
4137ca2531
23
bin/newpost
23
bin/newpost
|
@ -1,23 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")/../"
|
||||
|
||||
if [ ! -e $1 ]; then
|
||||
cat > "content/blog/$1.md" <<-EOF
|
||||
+++
|
||||
title = $1
|
||||
draft = true
|
||||
|
||||
[taxonomies]
|
||||
tags = []
|
||||
+++
|
||||
|
||||
|
||||
EOF
|
||||
|
||||
echo "Created ./content/blog/$1.md"
|
||||
else
|
||||
echo "ERROR: File already exists ./content/blog/$1.md"
|
||||
fi
|
|
@ -17,9 +17,6 @@ build_search_index = true
|
|||
generate_feed = true
|
||||
feed_limit = 20
|
||||
|
||||
taxonomies = [
|
||||
{ name = "tags" },
|
||||
]
|
||||
|
||||
[markdown]
|
||||
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
||||
|
@ -47,9 +44,13 @@ menu_items = [
|
|||
{name = "rss", url = "$BASE_URL/rss.xml"}
|
||||
]
|
||||
|
||||
taxonomies = [
|
||||
{name = "tags"},
|
||||
]
|
||||
|
||||
# Whether to show links to earlier and later links on posts
|
||||
enable_post_view_navigation = true
|
||||
|
||||
# The text shown at the bottom of a post,
|
||||
# before earlier/later post links.
|
||||
post_view_navigation_prompt = "EOF reached"
|
||||
post_view_navigation_prompt = "EOF"
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
The following tags are blessed.
|
||||
|
||||
- howto
|
||||
- hardware
|
||||
- software
|
||||
- webdev
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue