Skip to content

About

My personal website

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Repository files navigation

Tim's Personal Website

tiim.ch Powered by sveltekit, markdown, and IndieGo, my project to join the indieweb.

Content

Stored int the content folder:

  • assets: contains images.
  • blog: contains full blog posts, articles.
  • metadata: contains special markdown files that are used in components on the site.
  • mf2: notes, replies, likes and similar shortform non-exposed content.
  • projects: projects, products, apps and scripts.
  • tags: tags with extra descriptions.

Frontmatter

All frontmatter properties are optional unless marked as required.

Core Properties (Used by the site)

---
# Basic metadata
uuid: # string, unique identifier for the item
title: # string, title shown as h1 (for blog/projects/pages)
published: # boolean, whether to show this item (default: false, always true for mf2/)
description: # string, short summary (used in meta tags and cards)
content_tags: # array<string>, list of tags
date: # date-time (iso), published date and time (required for published content, must include time after 2023-01-29)
modified: # date-time (iso), last modification date

# Display
cover_image: # string, relative or absolute URL to image file
cover_image_txt: # string, caption/alt text for the cover image
links: # array<url>, links to show at the top of the page

# IndieWeb properties (for notes, replies, likes, reposts)
in_reply_to: # object, {url, name?, author?: {name}} - the post this is replying to
like_of: # object, {url, name?, content?} - the post this is a like of
repost_of: # object, {url, name?} - the post this is a repost/share of
rsvp: # string, RSVP response: "yes", "no", "maybe", or "interested"
syndication: # string or array<url>, syndication URLs where this is also published
photos: # array<{url}>, photos associated with this post
photo: # object, {url} - single photo
---

Additional Properties (Not used by site, may be used by other tools)

These properties are ignored by the site but may be used by Obsidian or other tools:

---
aliases: # array<string>, alternative names (Obsidian)
created: # date-time, creation date (Obsidian - site uses 'date' instead)
name: # string, alternative to 'title' in some mf2 posts
share: # boolean, sharing status (Obsidian)
raw_data: # object, micropub raw data
---

Deprecated Properties

  • cover_caption - use cover_image_txt instead
  • reply_to - use in_reply_to instead

Writing from the browser (CMS)

Sveltia CMS runs at https://tiim.ch/admin (static/admin/). Saving an entry commits to source, which deploys the site, so keep published off until a post is ready.

  • Sign in with GitHub uses the OAuth helper on backend.tiim.ch (/cms/*, see docs/cms-auth.md in Tiim/backend).
  • Sign in using access token takes a fine-grained personal access token with Contents: read and write on this repo only.

Collections and frontmatter fields are defined in static/admin/config.yml. Add a new frontmatter field there too, or the CMS won't show it.

Developing

npm run dev

Building

npm run build
npm run preview

About

My personal website

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages