It Begins
This is just an uninteresting post that should things succeed will lead up to actually blogging.
First Post
Every blog has one of these, this is my attempt at getting into it. I’m hoping to tackle things related to technology, and possibly my (undoubtedly awesome) paintings.
Let’s see how this thing turns out!
Testing Inline Images
The heading fairly well says it all. The most interesting thing about this post likely is the screenshot below of me creating this post…
Testing Inline Code
This may actually be more interesting, we’re probably just pretending though.
It should be noted that this is in no way an actual correct setting, as it’s
missing things like legion/blog-common, but moreso illustrates this data
type displaying correctly once I go back in and add a deplorable amount of
css.
(setq org-publish-project-alist `(("blog.pages" ,@legion/blog-common :html-preamble nil :html-postamble nil :publishing-function org-html-publish-to-html :publishing-directory ,(concat legion/blog-site-publish-dir "pages") :sitemap-title "llmII's Pages" :base-directory ,(concat legion/org-base-path "/blog/pages")) ("blog.posts" ,@legion/blog-common :html-preamble-format (("en" ,(concat "<h1 class=\"title\">%t</h1>\n" "<p class=\"author\">Author: %a </p>\n" "<p class=\"date\">Date: %d</p>\n"))) :html-preamble ,(lambda (p) (concat "<h1 class=\"title\">" (org-publish-find-title (buffer-file-name) p) "</h1>\n" (unless (string= (file-name-nondirectory (buffer-file-name)) "index.org") (concat "<p class=\"author\">Author: " (car (org-publish-find-property (buffer-file-name) :author p)) "</p>\n" "<p class=\"date\">Posted: " (format-time-string "%B %d, %Y" (org-publish-find-date (buffer-file-name) p)) "</p>\n" )))) :html-postamble nil :with-title nil :publishing-function org-html-publish-to-html :publishing-directory ,(concat legion/blog-site-publish-dir "posts") :sitemap-sort-files 'anti-chronilogically :sitemap-style list :sitemap-title "llmII's Posts" :base-directory ,(concat legion/org-base-path "/blog/posts")) ("blog.attachments" :recursive t :publishing-function org-publish-attachment :base-extension "png\\|jpg\\|gif\\|pdf" :publishing-directory ,(concat legion/blog-site-publish-dir "attachments") :base-directory ,(concat legion/org-base-path "/blog/attachments")) ("blog.resources" :recursive t :publishing-function org-publish-attachment :base-extension "css\\|js" :publishing-directory ,(concat legion/blog-site-publish-dir "res") :base-directory ,(concat legion/org-base-path "/blog/res")) ("blog" :components ("blog.pages" "blog.posts" "blog.attachments" "blog.resources"))))
Credits
We’ve taken hints, direction, and sometimes a bit of code from the various places listed below.
- Blogging With Emacs and Org - Nicolas Knoebber
- Made with Org-Mode - Daniel Liden
- Blogging using org-mode (and nothing else) - Dennis Ogbe
CSS (currently) is heavily based upon, though slightly modified from orgcss.
In the event any of the above listed, or those I may have failed to mention, believe I am in noncompliance with their licensed works, or have not given due credit, please inform me either once I have a contact page up listing how to contact me, or by ingenuity in seeking my other presences. It is my belief that I am in compliance with any/all licensed works produced by others and utilized on this site.