You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Steven McCurdy 5816271b03 update drone to pull submodules when building 5 days ago
content remove drafts from master 2 weeks ago
data add old articles 4 months ago
i18n fix author and tag sorting 3 months ago
static adjusted byline spacing 4 months ago
themes delete unnecessary files 5 days ago
.drone.yml update drone to pull submodules when building 5 days ago
.gitignore ignore 4 months ago
.gitmodules fix submodule repo url 3 weeks ago
README.md sm url 3 weeks ago
config.toml fix spacing 5 days ago

README.md

Metagnosis.xyz

Install and run

  1. Install hugo
  2. git clone https://git.metagnosis.xyz/steven/metagnosis --recurse-submodules
  3. cd metagnosis
  4. hugo server
  5. Go to localhost:1313

Multilingual Content

This uses https://git.metagnosis.xyz/steven/hugo-editorial-plus and it's a multilingual theme

Multilingual content is separated by the folder structure:

  • content/english or content/french, etc
  • Reused phrases are in i18n/en.yaml, i18n/fr.yaml, etc
  • The text for the homepage and associated widgets is content/english/_index.md, content/french/_index.md, etc.

Content

  • Articles

    • Article in content/articles/NAME_OF_ARTICLE/index.md
    • Header image for article at content/articles/NAME_OF_ARTICLE/header_image.jpg
    • Frontmatter
      • date: "”
      • title: "”
      • draft: true|false
      • header_image_credit: "”
      • header_image_credit_link: “https://”
      • license: "”
      • authors: ["",""]
      • tags: ["",""]
      • pinned: “no”
      • sourcename: "” # Name of the source website for the article when republishing
      • sourcelink: "” # Link to the source website for the article when republishing
  • Authors

    • Author in content/authors/NAME_OF_ARTICLE/index.md
    • Header image for author at content/articles/NAME_OF_ARTICLE/header_image.jpg
    • data
  • Pages

    • Page in content/articles/NAME_OF_ARTICLE/index.md

Licenses

metagnosis takes special interest in what licenses are used, thus each article can be licensed differenty. The ‘license’ key used in the article fronmatter is refenced to web addresses in data/licenses.toml.

Customization

Colors (and anything else really) can be changed by editing static/local-css/local.css

This is the source code and article source for metagnosis.xyz.

Built with Hugo/Gitea/Drone

Build Status