Browse Source

a config file & make target for building a previewable-in-lynx p1k3

related, a little shim to hit `e` in lynx and get to the appropriate place
in the p1k3 source in in an editor:

28af00910a
e46db473c9

and actually using a --config option to wrt that works:

77d90d2180
Brennen Bearnes 11 months ago
parent
commit
3ca65cc535
4 changed files with 33 additions and 2 deletions
  1. 1
    0
      .gitignore
  2. 3
    0
      Makefile
  3. 2
    2
      topics/index.md
  4. 27
    0
      wrt-lynx-preview.json

+ 1
- 0
.gitignore View File

@@ -9,6 +9,7 @@ manifest
9 9
 markdown
10 10
 nytprof*
11 11
 public/*
12
+public_lynx/*
12 13
 render.log
13 14
 photos.log
14 15
 textile

+ 3
- 0
Makefile View File

@@ -69,3 +69,6 @@ publish:
69 69
 render: manifest asset_update_tag
70 70
 	wrt render-all > render.log
71 71
 	@tail -2 render.log
72
+
73
+render-lynx: manifest asset_update_tag
74
+	wrt render-all --config=wrt-lynx-preview.json

+ 2
- 2
topics/index.md View File

@@ -2,5 +2,5 @@ This is an incomplete index of topics covered on p1k3.  The pages are actually
2 2
 a [vimwiki](vimwiki) instance, stitched into the site by way of some shell
3 3
 scripting.
4 4
 
5
-This is a bit of a work in progress.  You can follow the links below for a list
6
-of entries under a given topic.
5
+This is a work in progress.  You can follow the links below for a list of
6
+entries under a given topic.

+ 27
- 0
wrt-lynx-preview.json View File

@@ -0,0 +1,27 @@
1
+{
2
+   "feed_url": "https://p1k3.com/feed",
3
+   "entry_dir": "./archives",
4
+   "publish_dir": "./public_lynx",
5
+   "title_prefix": "p1k3",
6
+   "license": "public domain except where noted",
7
+   "description": "",
8
+   "url_root": "file://localhost/home/brennen/p1k3/public_lynx/",
9
+   "image_url_root": "/",
10
+   "favicon_url": "/favicon.png",
11
+   "template_dir": "./templates",
12
+   "template": "p1k3_actual",
13
+   "stylesheet_url": "/css/p1k3.css",
14
+   "author": "Brennen Bearnes",
15
+   "entry_descriptions": {
16
+      "userland-book": "a book about the command line for humans",
17
+      "tags" : "a list of tagged entries",
18
+      "bones": "the devil made the dinosaur bones",
19
+      "cli": "the command line as a literary environment",
20
+      "new": "newest entries",
21
+      "workings-book": "a technical notebook",
22
+      "chapbook": "unrequired poetry",
23
+      "all": "all entries",
24
+      "feed": "an Atom feed of new entries",
25
+      "hack": "code and technical projects"
26
+   }
27
+}