Commit Graph

4 Commits (be20a0eb7d6ead8827a30d678b1a36c0eadfa225)

Author SHA1 Message Date
Mike Gerwitz d1165248e8
post/2018-09-06-libreplanet-2019-will-be-march-23-24-in-boston-ma: Fix URL 2019-01-17 01:33:37 -05:00
Mike Gerwitz 9916ad55dc
Generate slug from post filenames
Rather than having Pandoc generate the id, which has the potential to change
over time and cause 404s, let's just generate the slug from the filename so
that the ids will never change.  This also solves the awkward question of
what the filename should be, since it was previously something arbitrary.

This mass rename was accomplished via this simple shell script:

  for p in *.meta; do
    slug=$( recsel -P slug "$p" | xargs basename )
    mv -v "${p/.meta/.md}" "${p:0:10}-$slug.md"
  done

with minor manual tweaks where I saw fit.  Of course, now I have some pretty
long filenames, which is undesirable.

The next step is to compare it with the slugs currently on mikegerwitz.com
and make them match.  That's the next commit, and should be pretty simple.
2019-01-16 23:44:24 -05:00
Mike Gerwitz 643a9858f1
Translate Git Horror Story from AsciiDoc to Markdown
This was a wholly manual effort since Pandoc does not have an AsciiDoc
reader (only writer).  Fortunately, Pandoc's Markdown features enabled me to
keep the style essentially the same.

I made no changes to the original text other than changes to markup, so this
remains faithful to the original.  Any changes to the text will be made in
future commits so that the diff can be clearly observed.

This could use more work (e.g. getting rid of inline links to make the
Markdown file more readable), but otherwise this is in a good enough state
for now.
2018-12-22 23:48:03 -05:00
Mike Gerwitz 64e1341075
Convert posts to markdown files
This was considerable effort, and took a bit more time than I had
hoped.  While newer posts were written with Markdown, previous ones were
writen with my own Markdown-like formatting, but they had enough differences
that it was quite an effort to get things updated.  I also checked the HTML
output of each, though I didn't read every article in detail.

Some of these were more substantial than others; National Uproar, for
example.

These conversions were markup translations: the actual text remains
unchanged, except in one minor instance to add text for the sake of
providing some text to hold a link to a quote.  Any changes to post text
will happen in future commits so that the diffs are clearly visible.
2018-12-22 23:45:26 -05:00