Editorial Workflows

Hugo metadata

public workflow

Install Workflow

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: I use Hugo and GitLab Pages for my website.

On iOS, I use Working Copy and Editorial to write posts.

This workflow streamlines adding metadata (TOML format) to the posts.

It assumes you have created the file in Working Copy with the file name as the title of the post (hyphens in file name where spaces will go in the post's title.)

Shared by: ohthreefive

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Request Text Input ?
Title
Description of blogpost?
Initial Text
  • Single Line
  • Multiple Lines
Keyboard Options:
Set Variable ?
Variable Name
description
Value
Input
Request Text Input ?
Title
Blogpost categories?
Initial Text
remember to comma separate them!
  • Single Line
  • Multiple Lines
Keyboard Options:
Find / Replace ?
Find
,
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
", "
Set Variable ?
Variable Name
categories
Value
Input
Set Variable ?
Variable Name
file
Value
File Name
Find / Replace ?
Find
-
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
Find / Replace ?
Find
_[^_]+$
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
Set Variable ?
Variable Name
title
Value
Input
Move Caret ?
Direction
  • Backward
  • Forward
  • Start/End of Document
  • Start/End of Line
  • Number of Characters:
1
Set Variable ?
Variable Name
metadata
Value
+++ date = "Year: 2001-Month: 01-Day: 01THour: 01 (24h):Minute: 01:Second: 01Z" title = "title" description = "description" categories = [ "categories" ] +++
Replace Selected Text ?
Replacement Text
Input