aboutsummaryrefslogtreecommitdiff
path: root/templates/post.org
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2018-02-19 19:56:09 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2018-02-19 19:56:09 +0100
commit60368a105e71f81dc8a10e2c84298464b2a20ccf (patch)
treee35c719c2110b436f95758f7f1ad829123314ddc /templates/post.org
parenteac195d44eb1e201ac1b668972e3e2f9f74b2e0a (diff)
downloadjo.mssola.com-60368a105e71f81dc8a10e2c84298464b2a20ccf.tar.gz
jo.mssola.com-60368a105e71f81dc8a10e2c84298464b2a20ccf.zip
script: added a script to generate posts
This way I don't have to remember to specific org headers and such. Moreover, I've also fixed the translation of the titles. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'templates/post.org')
-rw-r--r--templates/post.org17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/post.org b/templates/post.org
new file mode 100644
index 0000000..b6fb2cd
--- /dev/null
+++ b/templates/post.org
@@ -0,0 +1,17 @@
+#+STARTUP: showall
+#+OPTIONS: toc:nil
+#+BEGIN_HTML
+---
+layout: post
+title: TITLE
+subtitle: SUBTITLE
+lang: ca
+english_available: true
+catalan_available: true
+---
+#+END_HTML
+# Local variables:
+# after-save-hook: org-publish-current-file
+# end:
+
+TEXT