summary refs log tree commit diff
diff options
context:
space:
mode:
authorCrazazy2022-02-22 15:58:00 +0100
committerCrazazy2022-02-22 15:58:00 +0100
commitaa990b166b50829ecedf2b8090e46c4b617d8bcc (patch)
treec15eca69cf9afb724c83d01eee47efb6be906e2e
parent91115903f95758e253689a42ab03b6fa648e59d8 (diff)
move all styling to separate org file
-rw-r--r--emacs.org5
-rw-r--r--nixos.org4
-rw-r--r--readme.org5
-rw-r--r--style.org12
4 files changed, 15 insertions, 11 deletions
diff --git a/emacs.org b/emacs.org
index b84a311..b142d31 100644
--- a/emacs.org
+++ b/emacs.org
@@ -1,10 +1,7 @@
 #+TITLE:Emacs config
 #+AUTHOR: Crazazy
 #+PROPERTY: header-args :tangle yes :noweb yes :results silent
-#+HTML_HEAD: <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/latex.css@1.6.0/style.min.css" integrity="sha256-Ncz7wrwMhIHPJupOT4BWvsCDbduC61SmpMasJCmvPB8=" crossorigin="anonymous">
-#+HTML_HEAD:<style>body { max-width : 120ch; }</style>
-#+OPTIONS: ^:nil p:t
-
+#+SETUPFILE: ./style.org
 Welp, here it goes. This is a literal config for my emacs setup
 I will prbably copy-paste what I have in my literal config, and provide small, fun explanations along the way
 For now, prepare this to be not the best documented literal config you've seen.
diff --git a/nixos.org b/nixos.org
index b462019..4c4127b 100644
--- a/nixos.org
+++ b/nixos.org
@@ -1,8 +1,6 @@
 #+TITLE:Nixos Config
 #+AUTHOR: Crazazy
-#+HTML_HEAD: <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/latex.css@1.6.0/style.min.css" integrity="sha256-Ncz7wrwMhIHPJupOT4BWvsCDbduC61SmpMasJCmvPB8=" crossorigin="anonymous">
-#+HTML_HEAD:<style>body { max-width : 120ch; }</style>
-#+OPTIONS: ^:nil p:t
+#+SETUPFILE: ./style.org
 For now this is the way I'm configuring nixos. There is no flakes here, just a configuration.nix and a bunch of other
 stuff
 * Prefix
diff --git a/readme.org b/readme.org
index 0dc8d10..12f273c 100644
--- a/readme.org
+++ b/readme.org
@@ -1,10 +1,7 @@
 #+title: Crazazy's literal config
 #+author: Crazazy
 #+PROPERTY: header-args :tangle yes :noweb yes :results silent
-#+HTML_HEAD: <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/latex.css@1.6.0/style.min.css" integrity="sha256-Ncz7wrwMhIHPJupOT4BWvsCDbduC61SmpMasJCmvPB8=" crossorigin="anonymous">
-#+HTML_HEAD:<style>body { max-width : 120ch; }</style>
-#+OPTIONS: ^:nil p:t
-
+#+SETUPFILE: ./style.org
 This is my collection of literal config for my global and emacs setup you can =git clone= the org files at [[https://crazazy.tilde.cafe/literal-config.git][this link]]
 
 In this document I'm mostly going to set up some prerequisites for tangling other files and setting up dependencies
diff --git a/style.org b/style.org
new file mode 100644
index 0000000..00cebe3
--- /dev/null
+++ b/style.org
@@ -0,0 +1,12 @@
+#+HTML_HEAD: <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/latex.css@1.6.0/style.min.css" integrity="sha256-Ncz7wrwMhIHPJupOT4BWvsCDbduC61SmpMasJCmvPB8=" crossorigin="anonymous">
+#+HTML_HEAD:<style>body { max-width : 120ch; }</style>
+#+OPTIONS: ^:nil p:t
+#+begin_export html
+        <nav>
+          <a href="." >back home</a>
+	  <a href="feeds.xml">List of RSS feeds </a>
+          <a href="scratch.html">Scratch page</a>
+          <a href="readme.html">Literary dotfile config</a>
+	  <a href="elpa.html">Custom ELPA repository</a>
+        </nav>
+#+end_export