From 1fec7c8aa16577cc410182280851896f6523464c Mon Sep 17 00:00:00 2001 From: Markus Birth <130302+mbirth@users.noreply.github.com> Date: Mon, 26 Jul 2021 17:04:34 +0200 Subject: [PATCH] Change GRAV type from blog_item to item. --- jekyll2grav.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jekyll2grav.py b/jekyll2grav.py index c080ac6..43d980b 100755 --- a/jekyll2grav.py +++ b/jekyll2grav.py @@ -10,7 +10,7 @@ import re SRCDIR="jekyll" GRAVDIR="grav/user/pages" -GRAV_TYPE="blog_item" +GRAV_TYPE="item" # Translates Jekyll top level folders to GRAV (sorted) FIRST_LEVEL = { @@ -25,6 +25,7 @@ DATEFORMAT_OUT="%Y-%m-%d %H:%M:%S" LOCAL_TIMEZONE=pytz.timezone("Europe/Berlin") +# Jekyll-tags that are considered to be categories, not tags CATEGORIES=["know-how", "development", "review", "hacking", "hardware", "software", "miscellaneous"] def convert_file(filepath):