By | ~fr33domlover |
At | 2020-03-01 |
Title | Remove writings page, link to them from index page |
Description |
Edit file index.md 33188 → 33188
8 8 - IRC: fr33domlover on Freenode, in `#peers` and other channels, also same
9 9 nickname on some other IRC networks
10 10 - Scuttlebutt: `@BuxFomzQuWKBldsJM4a3w5fPHFrHZSxcZ/H6vxd8ong=.ed25519`
11 11 - Tox: `04D592B2F53BA54F21E28DE8A5EF80AB5AB217A4D5C843FF1107D9C72E96061AEB11D9DF46FE`
12 12 + 13 Sometimes I write. In digital text form there was
+ 14 [this](/poems/2017-12-02-there-is-a-fire),
+ 15 [this](/poems/2017-12-02-%D7%99%D7%A9-%D7%90%D7%A9) and
+ 16 [this](poems/2018-04-04-star) poem. Since then poems have been handwritten, but
+ 17 there are [photos of them](https://box.angeley.es/nextcloud/s/KTkkoEjQq6Y7NPx).
+ 18 + 19 There was one [typed text blog post](/posts/2019-06-06-hello-people). The rest
+ 20 similarly has been
+ 21 [photos of handwriting](https://box.angeley.es/nextcloud/s/F2jx2m5tpxXogbo).
+ 22 13 23 ---
14 24 15 25 *To F.,*
16 26 17 27 *(Mar 1, 2020)*
… … … … Edit file site.hs 33188 → 33188
132 132 >>= loadAndApplyTemplate "templates/poem.html" postCtx
133 133 >>= saveSnapshot "content"
134 134 >>= loadAndApplyTemplate "templates/default.html" postCtx
135 135 >>= relativizeUrls
136 136 - 137 create ["writings.html"] $ do
- 138 route pageRoute
- 139 compile $ do
- 140 poems <- chronological =<< loadAll "poems/*"
- 141 stories <- chronological =<< loadAll "stories/*"
- 142 posts <- chronological =<< loadAll "posts/*"
- 143 let poemCtx =
- 144 listField "poems" postCtx (return poems)
- 145 <> listField "stories" postCtx (return stories)
- 146 <> listField "posts" postCtx (return posts)
- 147 <> constField "title" "Writings"
- 148 <> defaultContext
- 149 - 150 makeItem ""
- 151 >>= loadAndApplyTemplate "templates/writings.html" poemCtx
- 152 >>= loadAndApplyTemplate "templates/default.html" poemCtx
- 153 >>= relativizeUrls
- 154 155 137 create ["private.html"] $ do
156 138 route pageRoute
157 139 compile $ do
158 140 privPoems <- chronological =<< loadAll "private/poems/*"
159 141 privStories <- chronological =<< loadAll "private/stories/*"
… … … … Edit file templates/default.html 33188 → 33188
11 11 <h1 class="header-title">
12 12 <a class="header-title__link" href="/">little red cabin</a>
13 13 </h1>
14 14 <nav class="nav">
15 15 <a class="nav__link" href="/">home</a>
- 16 <a class="nav__link" href="/writings">writings</a>
17 16 <a class="nav__link" href="/software">software</a>
18 17 <a class="nav__link" href="/private">private</a>
19 18 </nav>
20 19 </header>
21 20 <main class="main">
… … … … Remove file templates/writings.html 33188
- 1 <h2>Poems</h2> - 2 - 3 <p> - 4 Handwritten poems are - 5 <a href="https://box.angeley.es/nextcloud/s/KTkkoEjQq6Y7NPx">here</a>. Typed - 6 poems are listed below: - 7 </p> - 8 - 9 <ul class="post-list"> - 10 $for(poems)$ - 11 <li> - 12 <a class="post-list__title" href="$url$">$title$</a> - <date - 13 class="post-list__date" pubdate datetime="$date$">$date$</date> - 14 </li> - 15 $endfor$ - 16 </ul> - 17 - 18 <h2>Stories</h2> - 19 - 20 <ul class="post-list"> - 21 $for(stories)$ - 22 <li> - 23 <a class="post-list__title" href="$url$">$title$</a> - <date - 24 class="post-list__date" pubdate datetime="$date$">$date$</date> - 25 </li> - 26 $endfor$ - 27 </ul> - 28 - 29 <h2>Blog</h2> - 30 - 31 <p> - 32 Handwritten entries are - 33 <a href="https://box.angeley.es/nextcloud/s/F2jx2m5tpxXogbo">here</a>. Typed - 34 entries are listed below: - 35 </p> - 36 - 37 <a href="/blog.atom">Atom feed</a> - 38 - 39 <ul class="post-list"> - 40 $for(posts)$ - 41 <li> - 42 <a class="post-list__title" href="$url$">$title$</a> - <date - 43 class="post-list__date" pubdate datetime="$date$">$date$</date> - 44 </li> - 45 $endfor$ - 46 </ul>