From 94cd694956131012862fb7c320a36577906e24de Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sat, 26 Mar 2022 19:10:33 +0100 Subject: mlnp.fr homepage. --- index.org | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 77 insertions(+), 15 deletions(-) diff --git a/index.org b/index.org index 0302eb3..9a2b8af 100644 --- a/index.org +++ b/index.org @@ -7,34 +7,96 @@ #+EMAIL: mlnp@tuta.io #+OPTIONS: num:nil toc:nil -#+DESCRIPTION: A personal website created with Emacs Org mode -#+KEYWORDS: mlnp personal website blog wiki linux emacs aerospace typography +#+DESCRIPTION: A personal website, blog, and wiki about Linux, Emacs, aerospace, typography, +#+DESCRIPTION: and other subjects. Created with Emacs Org mode. +#+KEYWORDS: mlnp, personal, website, blog, wiki, linux, emacs, aerospace, typography -#+HTML_HEAD: -#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: #+INCLUDE: resources/topnav.html export html +# Not using #+ATTR_LATEX because text-align would be overridden. +#+HTML: + + #+begin_abstract -Welcome to the homepage. This website contains two main areas: blog -posts and wiki pages. Blog posts relate to one-off topics of interest, -and wiki pages serve as my personal and professional [[https://en.wikipedia.org/wiki/Knowledge_management][Knowledge -Management]] resource. +I am passionate about aerospace, open source software, and typography. #+end_abstract +#+ATTR_HTML: :alt Grumman F-14D 'Tomcat' +[[https://live.staticflickr.com/5801/21787648405_2f4c74d268_b.jpg]] + + +* Main content +:PROPERTIES: +:CUSTOM_ID: main-content +:END: + +This section is a wrapper for the main content subsections, presented +as cards. + + +** Recent blog posts +:PROPERTIES: +:CUSTOM_ID: table-of-contents +:END: + +#+NAME: recent-posts +#+BEGIN_SRC emacs-lisp :exports results :results list + (let* ((sorted-posts (directory-files + "blog" nil (rx word) + #'file-newer-than-file-p)) + (recent-posts + (butlast sorted-posts (- (length sorted-posts) 3))) + (make-link + (lambda (path) "Turn path into Org link." + (format "[[https://blog.mlnp.fr/%s.html][%s]]" + (file-name-sans-extension path) + (file-name-sans-extension path))))) + (mapcar make-link recent-posts)) +#+END_SRC + +#+ATTR_HTML: :style list-style-type: decimal; padding-left: 1.5em; +#+RESULTS: recent-posts +- [[https://blog.mlnp.fr/.sitemap.html][.sitemap]] +- [[https://blog.mlnp.fr/.index.html][.index]] +- [[https://blog.mlnp.fr/2023.html][2023]] + + +[[http://blog.mlnp.fr/sitemap.html][See more...]] + + +** Main wiki sections + +#+ATTR_HTML: :style list-style-type: circle; padding-left: 1.5em; +- [[https://wiki.mlnp.fr/aerospace/index.html][Aerospace]] +- [[https://wiki.mlnp.fr/emacs/index.html][Emacs]] +- [[https://wiki.mlnp.fr/languages/index.html][Languages]] + + +[[http://wiki.mlnp.fr/sitemap.html][See more...]] + + +** Publish this website + +Learn how I write and publish this website [[file:publish-mlnp.org][here]]. + -* Blog posts +** TODO Online resume -# Implement (jQuery?) links to last 3 blog posts. +My full online resume is available [[file:cv.org][here]]. -All blog posts available [[http://blog.mlnp.fr/][here]]. +[[file:cv.txt][Text version]] -* Personal wiki +** Credits -All wiki pages available [[http://wiki.mlnp.fr/][here]]. +All content I didn't create is credited [[file:about.org::Credits][here]]. -* Publishing this website +** README -Learn how I build this entire website on the [[file:publish-mlnp.org][publish]] page. +Website design rationale, TODO status, and credits are found [[file:README.org][here]]. -- cgit v1.2.3