Skip to content

feat: work on article templates and config

Jon requested to merge (removed):3-work-from-issue into development

👷 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 read Copyright {{ 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 tag copyrightHolderType

    Valid values will be Organization or Person. 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.

  • set default post to BlogPosting if meta.type not specified Line 5-7

  • change article and blog posting text property to be articleBody reference Line 14

  • Add isPartOf for all creative work items. All CreativeWorks: blog, article, guide, how to etc

    the 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)).

Edited by Jon

Merge request reports

Loading