https://github.com/devidw/hugo-theme-cik

Hugo Theme built on the “Content is King” philosophy. 👑

https://github.com/devidw/hugo-theme-cik

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.7%) to scientific vocabulary

Keywords

blog-theme blog-theme-hugo blog-themes blogging cik content-is-king contentisking hugo hugo-blog hugo-blog-theme hugo-theme simple static static-theme theme theme-ui
Last synced: 4 months ago · JSON representation

Repository

Hugo Theme built on the “Content is King” philosophy. 👑

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
blog-theme blog-theme-hugo blog-themes blogging cik content-is-king contentisking hugo hugo-blog hugo-blog-theme hugo-theme simple static static-theme theme theme-ui
Created over 4 years ago · Last pushed over 3 years ago
Metadata Files
Readme License

README.md

Content first Hugo Theme

This Hugo theme focuses purely on content: Content is king. Layout and appearance are simply by design. The primary goal of the theme is to give the website visitor maximal user experience for reading and enjoying the published content elegantly. No Sidebars or any other annoying elements that interrupt the reading experience.

Screenshot

Installation

  1. Clone this theme to your themes directory

cmd git submodule add https://github.com/devidw/hugo-theme-cik ./themes/hugo-theme-cik

  1. Add this theme to your list of themes inside your config-file Using config.toml

toml theme = ["…", "hugo-theme-cik", "…"]

Using config.yaml

yaml theme: ["…", "hugo-theme-cik", "…"]

or

yaml theme: - "…" - "hugo-theme-cik" - "…"

  1. (Optional) Install additional hugo theme components to extend the theme. Some suggestions:
    • https://github.com/devidw/hugo-theme-component-asciidoctor-skin
    • https://github.com/devidw/hugo-theme-component-structured-data
    • https://github.com/devidw/hugo-theme-component-webmentions
    • https://github.com/devidw/hugo-theme-component-oembed
    • Or create your own one using https://github.com/devidw/cookiecutter-hugo-theme-component

Update

cmd git submodule update --init --recursive --remote

Configuration

Params

Main Sections

Please specifiy in which sections you posts are located:

yaml mainSections: - posts

Author

yaml author: name: David Wolf email: david@wolf.gdn signature: signature.svg # static file path

Payments

Generates <link rel=payment> links and adds them to the <head>

yaml payments: - https://paypal.me/devidwolf - https://buymeacoffee.com/dwolf

Theme color

yaml themeColor: "#8b7355"

Icons

yaml icons: favicon: logo.svg touchIcon: logo.svg # Safari maskIcon: logo.svg # Safari

Frontmatter

No index

yaml noindex: true

  • sets robots meta tag
  • excludes via robots.txt
  • excludes from sitemap.xml
  • excludes from RSS feed

Hooks

You can inject custom HTML markup by creating hook partial files inside your projects layouts/partials/hooks directory.

For example to hook directly before the closing </body> tag you can create a body/end.html file in your layouts/partials/hooks directory. The full path in this case would be layouts/partials/hooks/body/end.html.

Available hooks:

  • head/start.html to inject HTML right after the opening <head> tag
  • head/end.html to inject HTML right before the closing </head> tag
  • body/start.html to inject HTML right after the opening <body> tag
  • body/end.html to inject HTML right before the closing </body> tag

Styles

You can add additional custom styles to the Hugo theme via the /assets/sass/_custom.sass file.

If there is no /assets/sass/_custom.sass file in your project you can simply create it.

Using SASS

Simply add your SASS rules into _custom.sass.

All your custom styles will be compiled from SASS to CSS and minified automatically via Hugo pipes.

Using SCSS or CSS

If you not so familiar with SASS you can also write SCSS or just plain CSS.

To do so you only have to import your .scss or .css file into _custom.sass by doing a SASS-import using the @import method.

sass @import <filename>

Example

Say you want to include some CSS styles, which you write into /assets/sass/my-custom-styles.css.

To add them to the theme you add the following into /assets/sass/_custom.sass:

sass @import my-custom-styles

Do not include the file extension like .scss or .css in the path of the @import rule.

Owner

  • Name: David Wolf
  • Login: devidw
  • Kind: user
  • Location: The Zone

// uncommenting

GitHub Events

Total
Last Year

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 53
  • Total Committers: 1
  • Avg Commits per committer: 53.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
David Wolf 6****w 53

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels