https://github.com/spandigital/presidium-layouts-base
The global base (default) Hugo layouts and functionality for Presidium
https://github.com/spandigital/presidium-layouts-base
hugo layouts presidium themes
Last synced: 8 months ago
JSON representation
The global base (default) Hugo layouts and functionality for Presidium
- Host: GitHub
- URL: https://github.com/spandigital/presidium-layouts-base
- Owner: SPANDigital
- License: mit
- Created: 2024-09-02T09:43:23.000Z (about 1 year ago)
- Default Branch: develop
- Last Pushed: 2025-02-26T14:30:07.000Z (8 months ago)
- Last Synced: 2025-02-26T15:34:31.732Z (8 months ago)
- Topics: hugo, layouts, presidium, themes
- Language: HTML
- Homepage: https://presidium.spandigital.net/
- Size: 43.8 MB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# presidium-layouts-base
Base Hugo layouts for Presidium## Custom Output Formats
### Snippets
The `Snippet` output format is a alternative HTML output format to the standard output (`index.html`) for _pages_ and _sections_. It's intended for generating standalone articles that can be used in third-party/isolated contexts (such as in an `iframe`).
Features of a snippet:
- Generates content from the `content/` directory.
- Uses the same stylesheets as the standard output.
- Excludes inter-host navigation contexts that are in the standard output, such as the toolbar and left sidebar.
- Includes breadcrumbs to ancestor snippets for limited navigation within the docset.**Usage**
Snippet outputs must be configured per docset repository in `config.yml`.
```yaml
# /config.yml
...
outputs:
page:
- html # -> index.html
- snippet # -> snippet.html
section:
- html # -> index.html
- snippet # -> snippet.html
```