Commit 41d0d9ca authored by Christopher League's avatar Christopher League
Browse files

Use org with pandoc for www

parent 8d3c34e7
......@@ -6,8 +6,8 @@ let
};
pinned-nixpkgs = builtins.fetchTarball
{ url = "https://github.com/NixOS/nixpkgs-channels/archive/7e88992a8c7b2de0bcb89182d8686b27bd93e46a.tar.gz";
sha256 = "1f6lf4addczi81hchqbzjlhrsmkrj575dmdjdhyl0jkm7ypy2lgk";
{ url = "https://github.com/NixOS/nixpkgs-channels/archive/97e0d53d669cd07f0750a42fd535524b3cdd46d1.tar.gz";
sha256 = "111xa7qn9142dar29cil4br2mvn8f1rbiy310lkhwl73126fq8dw";
};
in
{
......
......@@ -3,7 +3,7 @@
}:
let
subdir = "share/fonts/truetype";
families = ["Alegreya" "AlegreyaSans"];
families = ["PT_Sans" "PT_Serif" "IBMPlexMono"];
in
pkgs.stdenv.mkDerivation {
name = "selected-google-fonts";
......
......@@ -3,8 +3,8 @@ default: all
all: index.html
%.html: %.md
pandoc --standalone --css style.css $< >$@
%.html: %.org
pandoc --standalone --metadata date="generated $$(date +'%e %B %Y %H:%M:%S %Z')" --css style.css $< >$@
install:
mkdir -p $$out
......
# Hello, world
Welcome to the VM. This is a change to see if it updates.
And yet another change.
Okay, **down to business** now that it's on gitlab.
![](https://iconsplace.com/wp-content/uploads/_icons/0000ff/256/png/virtual-machine-2-icon-2-256.png)
```hs
main :: IO ()
main = do
print (16/3 :: Rational)
putStrLn "Hello, world!"
```
#+TITLE: LIUCS Virtual Machine
* Usage
Welcome to the VM.
Some documentation will be available here.
#+ATTR_HTML: :width 48
[[https://iconsplace.com/wp-content/uploads/_icons/0000ff/256/png/virtual-machine-2-icon-2-256.png]]
body { font-family: "Alegreya", serif; width: 56em; margin: auto; }
body { font-family: "PT Serif", serif; width: 56em; margin: auto; }
code {white-space: pre-wrap; font-family: "Liberation Mono", monospace; }
pre {border: 1px solid #ddd; background: #f7f7f7; padding: 5px; }
a:link {text-decoration: none;}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment