My 11ty Blog

drafts and notes for my 11ty blog

TiddlyWiki version 5.2.2

Open the default tiddlers

Close all tiddlers

Fold the bodies of all opened tiddlers

Unfold the bodies of all opened tiddlers

Set browser address bar to a direct link to all the tiddlers in this story

Create a new tiddler

Create a new Markdown tiddler

Create a new journal tiddler

Create a new image tiddler

Import many types of file including text, image, TiddlyWiki or JSON

Export all tiddlers

Open control panel

Open tiddler manager

Open tag manager

Choose the user interface language

Choose the colour palette

Choose the display theme

Choose the story visualisation

Set or clear a password for saving this wiki

Choose whether modifications update timestamps

Enter or leave full-screen mode

Print the current page

Save changes

Perform a full refresh of the wiki

More actions

To Do List

5th June 2022 at 4:44am

My Todo List

  8 ITEMS

move this to imadigitalape as webdav
contact page
About me page
make an include for links? - with target blank
make an export of just the text area only for json data files
move gallery code to partials
finish up sidebar ideas
export posts as json from here - test
 

Todolist - Archived Items - Simple

Post List

16th June 2022 at 3:30am

Post Template with Fields

digitalap331st May 2022 at 3:27am

Notes

9th May 2022 at 12:20am

going to start using 11straps for blog template, which is going to require a decent amount of reworking, especially in regards to the export template.

  • tag setup will need to change
    • no longer need to put posts in tags
    • still keep the current tag field just change the names in the export template
      • nope - will have to move the tags to the tag area, and remove the tagList field or exclude it from the template
  • some changing around of basic code, need to keep track here as I go

Tags

  • start maybe here; use Mytags and then use this operator to remove the 'My'
    • will need to exclude 'tags' in the export

filter:"[Mytags] +[removeprefix[My]]"

in regards to Remark42 - google will only allow 'insecure app access' until the end of May so a new strategy of being alerted will be necessary

  • use admin notification through Telegram

if using html in variable or any type of content you must use {{ stuff | safe }} , ie the word safe, or it won't be rendered as a safety mechanism

  • see the figure templates, captions for an example.
  • also solution to why my escaped html was not being rendered

Do not use a . in front of slash for relative references

when using {% set variable %}, you must use seperate ones for each complex variable such as when setting variables for images.

Images

I am going to see if I can use HTML escape characters to keep the macro in place while editing here, but it won't show in the exported version but instead will show via whatever image plugin I end up using.

Exporter seems to be working!!

REMEMBER to change links from tiddly markup to markdown

Tags

since the front matter has to be formatted a certain way I can't just easily use the default TW tags so the post's tags will be contained in the field postTags. I will use TW tags and the Front Matter tags feature of automatically creating collections. Ie I will create a collection post by tagging each blog post, etc.

  • actually I can't even do that because of the formatting required. all collections will have to be created manually
  • actually maybe not refer to here there is no formatting
    • the caveat here is that you can only have one tag / collection bc of formatting which for a blog's purpose is fine

Templates

blog post template used : $:/blog-post/templates/static.tiddler.html 1

  • Remark42 comment section is in here

blog post gallery template: $:/blog-gallery/templates/static.tiddler.html

correct format for frontmatter/ field

images: [ [ /blog/images/2020/09/olliedino.jpg, 0 ], [ /blog/images/2020/09/olliedreams.jpg, 1 ], [ /blog/images/2020/09/olliehardlife.jpg, 2 ], [ /blog/images/2020/09/ollieflowers.jpg, 3 ], [ /blog/images/2020/09/olliehat.jpg, 4 ], [ /blog/images/2020/09/lowridersleeps.jpg, 5 ] ]

---
creator: digitalap3
date: 2022-04-04
headerPic: /headers/default-post.jpg
lead: I have been bitten by the blog bug.  Again.  This iteration I am moving to the 11ty static site generator
pin: no
postTags: ['Musings']
slug: 2022/April/a-new-start.html
tags: post
title: A New Start

---

I have been bitten by the blog bug.  Again.  This iteration I am moving to the [11ty static site generator](https://www.11ty.dev/), which is built with nodejs.  Previously I was hacking my absolute most favorite piece of software [tiddlywiki](https://tiddlywiki.com/) to use as an SSG and although I did absolutely enjoy the project, it just feels like reinventing the wheel in a far inferior form.  I will still be using tiddlywiki to write drafts and I have modified it to provide output formatted for 11ty which will be the subject of my initial posts.  All of the tiddlywiki code still resides on my [github page](https://github.com/digitalap3/tiddlywikistaticsitegen) if someone by some bizarre twist comes upon this obscure part of the webs.

In addition to the quite lofty goals I have set for myself in [My Intent for This Blog](/blog/2022/April/my-intent-for-this-blog.html) I will be posting lots of, actually probably more of, wonderfully mundane family pictures like this:

{% set imgUrl = '/2022/April/OGKidsatthetable.jpg' %}
{% set size = "80%" %}
{% set imgCaption = "I have no idea what I'm saying but it must be amazing" %}

  {% include "partials/figure-center.html" %}