aboutsummaryrefslogtreecommitdiff
path: root/pastebin
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-01-24 13:25:59 -0300
committerEuAndreh <eu@euandre.org>2020-01-24 13:25:59 -0300
commit45e38001c932cf6d1eb514830617a159331b2a4c (patch)
treed167962de292e4e12ce1bb52f06e79d8de5af2ae /pastebin
parentAdd pastebins.html listing page (diff)
downloadeuandre.org-45e38001c932cf6d1eb514830617a159331b2a4c.tar.gz
euandre.org-45e38001c932cf6d1eb514830617a159331b2a4c.tar.xz
Migrate existing templates to build with hakyll instead of pandoc directly
Diffstat (limited to '')
-rw-r--r--pastebin/skeleton.org6
-rwxr-xr-xpastebin/website-pastebin2
2 files changed, 5 insertions, 3 deletions
diff --git a/pastebin/skeleton.org b/pastebin/skeleton.org
index cca54a2..f97da72 100644
--- a/pastebin/skeleton.org
+++ b/pastebin/skeleton.org
@@ -1,5 +1,7 @@
-#+TITLE: $title
-$date
+---
+title: $title
+date: $date
+---
#+BEGIN_SRC FIXME -n
FIXME
#+END_SRC
diff --git a/pastebin/website-pastebin b/pastebin/website-pastebin
index 1171dcf..0d38ac2 100755
--- a/pastebin/website-pastebin
+++ b/pastebin/website-pastebin
@@ -85,7 +85,7 @@ break"), "spaces-and-line-break");
our $dirname = dirname(__FILE__);
our $in = "$dirname/skeleton.org";
our $out;
-my $date = `date +"%Y-%m-%d %A %H:%M"`;
+my $date = `date +"%Y-%m-%d"`;
chomp $date;
my %ENV = (title => $title, date => $date);