From 60368a105e71f81dc8a10e2c84298464b2a20ccf Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 19 Feb 2018 19:56:09 +0100 Subject: script: added a script to generate posts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- templates/post.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 templates/post.org (limited to 'templates') 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 -- cgit v1.2.3