aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--site/pastebin/failure-on-guix-tex-live-importer.org6
-rw-r--r--site/pastebin/inconsistent-hash-of-buildgomodule.org7
-rw-r--r--site/pastebin/nix-exps.org6
-rw-r--r--site/pastebin/nix-show-derivation.org6
-rw-r--r--site/pastebin/raku-tuple-type-annotation.org6
7 files changed, 25 insertions, 14 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);
diff --git a/site/pastebin/failure-on-guix-tex-live-importer.org b/site/pastebin/failure-on-guix-tex-live-importer.org
index c75b66a..cb86621 100644
--- a/site/pastebin/failure-on-guix-tex-live-importer.org
+++ b/site/pastebin/failure-on-guix-tex-live-importer.org
@@ -1,5 +1,7 @@
-#+TITLE: Failure on Guix TeX Live importer
-2020-01-04 samedi 16:03
+---
+title: Failure on Guix TeX Live importer
+date: 2020-01-04
+---
#+BEGIN_SRC shell -n
$ guix import texlive fontspec
redirection vers « https://ctan.org/xml/1.2/pkg/fontspec »...
diff --git a/site/pastebin/inconsistent-hash-of-buildgomodule.org b/site/pastebin/inconsistent-hash-of-buildgomodule.org
index 4ba5610..2aa7d96 100644
--- a/site/pastebin/inconsistent-hash-of-buildgomodule.org
+++ b/site/pastebin/inconsistent-hash-of-buildgomodule.org
@@ -1,6 +1,7 @@
-#+TITLE: Inconsistent hash of buildGoModule
-2019-06-08 Saturday 19:14
-
+---
+title: Inconsistent hash of buildGoModule
+date: 2019-06-08
+---
[[https://discourse.nixos.org/t/inconsistent-hash-of-buildgomodule/3127/2][FIXED]].
The [[https://git.sr.ht/~euandreh/vps/commit/6ba76140238b5e3c7009c201f9f80ac86063f438][commit that made this visible]].
diff --git a/site/pastebin/nix-exps.org b/site/pastebin/nix-exps.org
index 858a5a3..997d6ab 100644
--- a/site/pastebin/nix-exps.org
+++ b/site/pastebin/nix-exps.org
@@ -1,5 +1,7 @@
-#+TITLE: Nix Stuff
-2018-07-25 Wed 20:50
+---
+title: Nix Stuff
+date: 2018-07-25
+---
#+BEGIN_SRC nix -n
let
pkgsOriginal = import <nixpkgs> {};
diff --git a/site/pastebin/nix-show-derivation.org b/site/pastebin/nix-show-derivation.org
index f443d77..96d2c66 100644
--- a/site/pastebin/nix-show-derivation.org
+++ b/site/pastebin/nix-show-derivation.org
@@ -1,5 +1,7 @@
-#+TITLE: =nix show-derivation= sample output
-2018-07-25 Wed 20:51
+---
+title: nix show-derivation sample output
+date: 2018-07-25
+---
#+BEGIN_SRC nix -n
$ nix show-derivation /nix/store/zzz9cl2ly0mb2njr7vwa5528fxmn29m8-combofont-0.2.drv
{
diff --git a/site/pastebin/raku-tuple-type-annotation.org b/site/pastebin/raku-tuple-type-annotation.org
index c2ca83c..8d0e55f 100644
--- a/site/pastebin/raku-tuple-type-annotation.org
+++ b/site/pastebin/raku-tuple-type-annotation.org
@@ -1,5 +1,7 @@
-#+TITLE: Raku tuple type annotation
-2019-12-29 dimanche 21:11
+---
+title: Raku tuple type annotation
+date: 2019-12-29
+---
#+BEGIN_SRC raku -n
# Single Str return value: this works
sub f1(Str $in --> Str) {