feat: work on article templates and config
-
tasks from #3
-
related nofusscomputing/ops#41
-
continuation of !7 (merged)
-
child of !3 (merged)
-
Part of website-template!1 (merged)
-
required for website-template#1 (closed)
-
page docs !3 (comment 825550490)
👷 Tasks
-
Should only be able to deploy to production optionally from dev branch and always on master branch -
moved template components to website-template repo Required for website-template!1 (merged) -
Added website-template as a git submodule with folder name template
-
-
adjust the copyright at the bottom of article if the
copyrightHolder
tag is present, the copyright should readCopyright {{ page.meta.date.strftime("%Y") }} {{ page.meta.copyrightHolder }}, This article has been published here with the copyright holders permission.
if no copyright holder, add
Copyright {{ page.meta.date.strftime("%Y") }} {{ config.site_name }}
.-
config section for articles added
-
-
add copyrightHolder
meta tagcopyrightHolderType
Valid values will be
Organization
orPerson
. this enables the metadata to be set correctly. -
add meta.about
check to template yo be a url that links to the item of discussion.-
meta.about
Documentation updated
-
-
set default post to BlogPosting
ifmeta.type
not specified Line 5-7 -
change article and blog posting text
property to bearticleBody
reference Line 14 -
Add isPartOf
for all creative work items. All CreativeWorks: blog, article, guide, how to etcthe
isPartOf
will be set to thing, website with the url collected from the config. if org can be put as part of, use a bew config setting organization. -
date fields in microdata to be set to ISO 8601 git revision date plugin adds dates to page meta.
-
add plugin macros enables lots of additional metadata like git details.
-
macros plugin added to syntax Documentation -
macro, get last updated date in full iso8601 date time timezone -
if date not specified in metadata use date create from git in full iso8601 -
get git short commit as the version and add microdata for it.
-
-
add code annotate content.code.annotate
to config (required for nofusscomputing/projects/docker-mail!4 (merged)).