Sometimes you decide that you just need a tag (and category)
cloud. The top search result was
from SuperDevResources
by Kanishk
Kunal, which worked pretty well, but I didn't like the sizes,
and wanted to have fun colours. Here's my version:
Many and varied are the ways to add comments to your static
website. Most of them involve subscribing to services which, if
you're running your own domain on your own server, might strike you
as the wrong solution. "But," you might say, "if I
want to have a comment system on my own site, it would not
be static
anymore. CGi's
are so '90s and who needs the attack vector?"
There is annoying little documentation about writing
a generator
for Jekyll, particularly since when searching for examples,
there is so much noise in form of hits for "static site generator."
Two decent examples are from
Ricardo
Lopes and
Starr
Horne of Honeybadger.
Starting at the beginning, you want to be putting my_generator.rb
in _plugins/ in the root directory of your
Jekyll site
directory.
For an absolute
"Hello, World" we can do:
which prints out to the terminal when you
bundle exec jekyll serve. Look for it
after Generating...
My site has many snippets of different languages, and I wanted to tag them for CSS purposes among other possible useful things marking them might make possible. One problem with that is I am still searching out the "correct" labelling, so using mutable tags would be easier to remember as well as change later....Read more