Skip to content

Commit

Permalink
small changes after review, both bot and human
Browse files Browse the repository at this point in the history
  • Loading branch information
nullnein committed Dec 5, 2024
1 parent 25ded86 commit 6eef6ff
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
8 changes: 5 additions & 3 deletions packages/jekyll-yaml/0.1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ title:

Date is set to the current date and authorname can obviously be adjusted.

Change the value `YourName` in line 5 of this package's `package.yml`.

Please make sure to add tags like the following and remain consistent:

```
...
author:
tags:
- tag1
- tag2
...
``
category:
```
5 changes: 3 additions & 2 deletions packages/jekyll-yaml/0.1.0/_manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "jekyll yaml metadata"
name: "jekyll-yaml"
title: "Jekyll YAML metadata"
description: A simple package to add metadata to your jekyll posts before writing.
version: 0.1.0
author: mathis
tags: ["jekyll", "yaml"]
tags: ["jekyll", "yaml"]
homepage: https://github.com/nullnein/espanso-hub/tree/main
9 changes: 5 additions & 4 deletions packages/jekyll-yaml/0.1.0/package.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
global_vars:
- name: autorname
type: echo
params:
echo: YourName
matches:
- trigger: ":newpost"
replace: "---\ndate: {{mydate}}\nauthor: {{autorname}}\ntags:\ncategory:\ntitle:\n---"
vars:
- name: autorname
type: echo
params:
echo: YourName
- name: mydate
type: date
params:
Expand Down

0 comments on commit 6eef6ff

Please sign in to comment.