Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Remove Hugo Smorg Theme #474

Merged
merged 1 commit into from
Nov 13, 2018
Merged

Remove Hugo Smorg Theme #474

merged 1 commit into from
Nov 13, 2018

Conversation

onedrawingperday
Copy link
Contributor

@onedrawingperday onedrawingperday commented Nov 9, 2018

The Hugo Smorg Theme does not have its demo generated.

There is an open issue since the 3rd of September about a mediaTypes ERROR. This same ERROR breaks the demo on the Themes website.

This theme had its last update on Apr 27, 2018.

Related: #430

EDIT
The ERROR that breaks the demo from the Netlify deploy log:

10:09:09 PM:  ==== PROCESSING  hugo-smorg  ======
10:09:09 PM: Building site for theme hugo-smorg using its own exampleSite to ../themeSite/static/theme/hugo-smorg/
10:09:09 PM: Error: MediaType.Suffix is removed. Before Hugo 0.44 this was used both to set a custom file suffix and as way
10:09:09 PM: to augment the mediatype definition (what you see after the "+", e.g. "image/svg+xml").
10:09:09 PM: This had its limitations. For one, it was only possible with one file extension per MIME type.
10:09:09 PM: Now you can specify multiple file suffixes using "suffixes", but you need to specify the full MIME type
10:09:09 PM: identifier:
10:09:09 PM: [mediaTypes]
10:09:09 PM: [mediaTypes."image/svg+xml"]
10:09:09 PM: suffixes = ["svg", "abc" ]
10:09:09 PM: In most cases, it will be enough to just change:
10:09:09 PM: [mediaTypes]
10:09:09 PM: [mediaTypes."my/custom-mediatype"]
10:09:09 PM: suffix = "txt"
10:09:09 PM: To:
10:09:09 PM: [mediaTypes]
10:09:09 PM: [mediaTypes."my/custom-mediatype"]
10:09:09 PM: suffixes = ["txt"]
10:09:09 PM: Note that you can still get the Media Type's suffix from a template: {{ $mediaType.Suffix }}. But this will now map to the MIME type filename.
10:09:09 PM: FAILED to create exampleSite for hugo-smorg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants