Blog Infrastructure Work

What feels like actual productive work, but is only work adjacent? Fixing up the blog.

I managed to gradually destroy the whole thing after a decade or more of platform migrations and upgrades. This is a new and from (mostly) scratch install, into which I’ve imported the contents of the old one. Good backups and some hints from the excellent staff at got me back in shape. I hope.

Notes to my future self:

Start with a clean and empty database after backing up. In this case moved to the new db server at mysql3, which runs a non-antique version of mysql.

Shell permissions are tight, so need to chmod anything I create by hand to a+r or it can’t be read.

Installed into root of ~/public_html so as to stop the weird rewrite rules.

Still have rewrite rules to handle ~sdowney vs

Using the wp Twenty Nineteen theme because it’s not a narrow column format. Created a child theme, and pasted the custom css into the child/style.css.

CSS is generated from M-x org-html-htmlize-generate-css in order to get my defaults in code blocks and such from org export.

Tweaked the .pre.src block to use better fonts. Consider fixing the trendy fonts used in the main theme.

Latex is on via Jetpack plugin.

Testing out posting to blog from emacs

Using org2blog.

Test LaTex

  • The word LaTeX
    • \LaTeX
  • Inline
    • \sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}
  • Equation
    • \sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}

Src blocks


class windows_1252_convert_view
    : public rng::view_facade<windows_1252_convert_view<Range>, rng::unknown>;


print ('Hello, world!')







Leave a Reply

Your email address will not be published. Required fields are marked *