Entries tagged "Site"

May 8th, 2021

So here's my first Statamic tip: don't forget xml_handler in your RSS template

Yeah, the link was there: /index.xml. It just wasn't outputting valid XML until I replaced my raw <?xml with the xml_handler tag:

{{ xml_handler }}

Should be all better now. Or at least better than it was.

May 6th, 2021

Oh hey I finally got it working in prod

Still a lot of fiddling to do. No announcement toots/tweets, for starters. and for some reason certain page layouts are coming up different from what I thought was the same markup

But I had to get out of my SSG rut. Mind you, last time I did that I went right back to my rut after a few months.

Hopefully I stick through a little longer with Statamic.

April 25th, 2021

I'll deploy eventually.

I mean sure. There's my usual puttering with every little corner. But also I need to make sure everything is as close to seamless as possible for when I go live. And I've decided I will go live with this. Statamic's just too much fun.

April 22nd, 2021

Adding a Twitter tag in Statamic

Embedding a tweet's more active than a partial, so let's put it in a Tag class

April 18th, 2021

I'm trying a "notes" collection

Titles are mandatory in Statamic, but I'll figure something out. Could always treat "title" like a lead paragraph. That's the direction I was headed in with the Hugo site.

Course, I already changed my blueprint layout from the screenshot.

April 16th, 2021

Hello World

(Oh yeah this is Statamic)

February 23rd, 2021

yay fresh webmentions again

Finally reconnected the site flow bits that grab and file fresh webmentions. Probably going to tweak rendering of the Bridgy bits that feed reactions from bigger social networks. It's that or add threading here for conversation that happens there. No thank you.

Anyways yay!

February 16th, 2021

Tweaking my tools

Playing a little more with TTY Toolkit for the site workflow. I wanted to say I'm tightening focus, but with a require list like this for one tool?

require 'pastel'
require 'ruby-slugify'
require 'tty-editor'
require 'tty-exit'
require 'tty-logger'
require 'tty-option'
require 'tty-prompt'
require 'tty-screen'

"Tightening focus" would be a lie.

Anyways, it seems to function correctly. Huzzah! Now back to work.

February 14th, 2021

testing a thing

Sometime last year I had half of a great idea for better Asciidoctor handling in Hugo. I might have the other half now:

  • keep my content in the content folder.
  • Use adoc.txt for the extension so Hugo ignores it.
  • Point my build-adoc script there instead of a neighboring adoc folder.
  • profit?

Would work for reStructuredText too.

Need to get through a few post cycles to see how it works.

1 of 9 pages (There are 98 items) Next →

Other Links

Liberapay is patronage for the FOSS and CC community.

Become a patron!