Twiglot Types

Twiglot Types

Some stuff here

7th Jan 2001


General Twiglot Meta Info

Markdown files end with the .md extension.

All meta info at the top of markdown files have a title, description and image.

  • title: Title
  • description: Description
  • image: Image used for link preview etc

Section Twiglot

Displays markdown as a section on the index page.

structure

  • Contained within folder: False
├── twiglots
│   ├── section.md

markdown

---
title: 'Title'
description: 'Description'
image: 'https://example.com/image.jpg'
active: true
type: section
order: 1
---
Markdown

Text Twiglot

Displays markdown.

structure

  • Contained within folder: True
├── twiglots
│   ├── category
│   │   ├── twiglot.md

markdown

---
title: 'Title'
description: 'Description'
image: 'https://example.com/image.jpg'
created_at: '09/22/2021'
type: 'text'
---
Markdown

Product Twiglot

Displays price and markdown.

structure

  • Contained within folder: True
├── twiglots
│   ├── category
│   │   ├── twiglot.md

markdown

  • price: string
  • currency: string
---
title: 'Title'
description: 'Description'
image: 'https://example.com/image.jpg'
created_at: '09/22/2021'
type: 'product'
price: '300'
currency: '£'
---
Markdown

Video Twiglot

Displays embedded media and markdown.

structure

  • Contained within folder: True
├── twiglots
│   ├── category
│   │   ├── twiglot.md

markdown

  • embed_url: embed url (not iframe)
---
title: 'Title'
description: 'Description'
image: 'https://img.youtube.com/vi/GbfeH6Q8PzY/maxresdefault.jpg'
created_at: '09/22/2021'
type: 'video'
embed_url: 'https://www.youtube.com/embed/GbfeH6Q8PzY'
---
Markdown

Images Twiglot

Displays image gallery and markdown.

structure

  • Contained within folder: True
├── twiglots
│   ├── category
│   │   ├── twiglot.md
│   ├── kittens
│   │   ├── image-1.jpg
│   │   ├── image-2.jpg

markdown

  • image_folder: name of folder containing images within twiglot folder
  • image_size: small/large
---
title: 'Title'
description: 'Description'
image: 'https://example.com/image.jpg'
created_at: '09/22/2021'
type: 'image'
image_folder: 'kittens'
image_size: 'large'
---
Markdown

Comments 1


Farp 25th Sep 2021
Farp!

Subscribe to updates