mirror of
https://git.sr.ht/~magic_rb/website
synced 2024-11-21 15:54:21 +01:00
Add link page
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
25aa12d60d
commit
7751dd3ccd
|
@ -32,6 +32,10 @@ code {
|
|||
padding: 0rem 0.1rem 0rem 0.1rem;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
.TINY {
|
||||
font-size: 0.75rem;
|
||||
|
@ -68,6 +72,15 @@ pre {
|
|||
line-height: 1.75em;
|
||||
}
|
||||
|
||||
#content :is(h1, h2, h3, h4, h5, h6) a {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
|
||||
#content.textual {
|
||||
margin: 0.5rem 0 0 0;
|
||||
}
|
||||
|
||||
#organizer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -186,6 +199,7 @@ pre {
|
|||
|
||||
.navbar-text {
|
||||
padding: 0rem 0rem 1rem 0rem;
|
||||
font-size: 1.5rem;
|
||||
color: black;
|
||||
}
|
||||
|
||||
|
|
9
home/links.org
Normal file
9
home/links.org
Normal file
|
@ -0,0 +1,9 @@
|
|||
* [[https://www.c0t0d0s0.de/otdl/otdl.html][~org-habit~ Habit Visualisation]]
|
||||
Allows for creating nice, yearly SVGs showing how bad you are at following habits
|
||||
|
||||
* Haskell
|
||||
** Aeson
|
||||
- [[https://guide.aelve.com/haskell/aeson-cookbook-amra6lk6#item-tdlbc06e][Aelve Guide | Haskell - Aeson cookbook]]
|
||||
- [[https://www.schoolofhaskell.com/school/starting-with-haskell/libraries-and-frameworks/text-manipulation/json][Parsing JSON with Aeson]]
|
||||
- [[https://www.schoolofhaskell.com/user/Geraldus/algebraic-data-types-adts-with-aeson][Algebraic Data Types (ADTs) with Aeson]]
|
||||
- [[https://artyom.me/aeson][Aeson: the tutorial]]
|
13
make.el
13
make.el
|
@ -95,6 +95,17 @@
|
|||
:html-template ,(templated-html-load-template "./templates/empty.html")
|
||||
:publishing-function org-html-publish-to-templated-html)
|
||||
|
||||
;; Links
|
||||
("links"
|
||||
:base-directory ,(expand-file-name "./home")
|
||||
:recursive nil
|
||||
:base-extension "org"
|
||||
:exclude "^.*$"
|
||||
:include ("links.org")
|
||||
:with-toc nil
|
||||
:publishing-directory ,(expand-file-name "./public_html/")
|
||||
:html-template ,(templated-html-load-template "./templates/empty.html")
|
||||
:publishing-function org-html-publish-to-templated-html)
|
||||
|
||||
;; Static images and css and js
|
||||
("assets"
|
||||
|
@ -106,7 +117,7 @@
|
|||
|
||||
;; top-level trigger
|
||||
("publish"
|
||||
:components ("blog" "assets" "homepage" "contact"))))
|
||||
:components ("blog" "assets" "homepage" "contact" "links"))))
|
||||
|
||||
(org-publish "publish" t)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{{:include "navbar.html"}}
|
||||
<div id="organizer">
|
||||
<div class="sidebar">{{org-html-toc 2 info}}</div>
|
||||
<div id="content">
|
||||
<div id="content" class="textual">
|
||||
{{contents}}
|
||||
</div>
|
||||
<div class="sidebar"></div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{{:include "navbar.html"}}
|
||||
<div id="organizer">
|
||||
<div class="sidebar">{{org-html-toc 2 info}}</div>
|
||||
<div id="content">
|
||||
<div id="content" class="textual">
|
||||
{{:if with-title}}<h1>{{title}}</h1>{{:endif}}
|
||||
{{:if date}}<div class="post-meta">Published on {{format-time-string "%b %d, %Y" date}}</div>{{:endif}}
|
||||
{{contents}}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{{:include "navbar.html"}}
|
||||
<div id="organizer">
|
||||
<div class="sidebar"></div>
|
||||
<div id="content">
|
||||
<div id="content" class="textual">
|
||||
{{contents}}
|
||||
</div>
|
||||
<div class="sidebar"></div>
|
||||
|
|
|
@ -31,6 +31,13 @@
|
|||
<div class="navbar-underline"></div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="navbar-item">
|
||||
<a class="navbar-click" href="/links.html">
|
||||
<div class="navbar-text">Links</div>
|
||||
<div class="navbar-underline"></div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="navbar-spacer"></div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue