Hugo scroll fork
Find a file
Sylvia Dieckmann 6ac16b42d3
Add safeHTML to blog-title
SafeHTML signals to the go templating engine that the html in this string is considered safe and does not need to be escaped. This will allow me to add some additional markup to the title. In my case, I use an explicit <br/> tag to control the line break.
2022-06-15 09:44:46 +02:00
.github chore(deps): bump actions/checkout from 2.4.0 to 3 (#50) 2022-03-02 16:52:42 +01:00
archetypes style: add & run prettier 2020-09-09 18:00:59 +02:00
exampleSite style: add whitespace 2020-09-21 14:09:26 +02:00
images chore: compress images & screenshots 2020-07-07 17:55:18 +02:00
layouts Add safeHTML to blog-title 2022-06-15 09:44:46 +02:00
static Deliver fonts locally (#48) 2022-02-03 12:32:11 +01:00
.gitignore style: add & run prettier 2020-09-09 18:00:59 +02:00
.prettierignore chore: move from font-awesome to fork-awesome (#23) 2021-03-26 09:58:40 +01:00
.prettierrc.json style: add & run prettier 2020-09-09 18:00:59 +02:00
LICENSE chore: initial commit 2020-07-07 17:50:41 +02:00
package-lock.json chore(deps-dev): bump prettier from 2.6.0 to 2.6.1 (#54) 2022-03-25 16:37:41 +01:00
package.json chore(deps-dev): bump prettier from 2.6.0 to 2.6.1 (#54) 2022-03-25 16:37:41 +01:00
README.md chore: move from font-awesome to fork-awesome (#23) 2021-03-26 09:58:40 +01:00
theme.toml chore: add demosite to theme.toml 2021-08-28 11:31:05 +02:00

Hugo Scroll Test Pay me Sponsor me

📜 A Hugo-theme for pretty, quick and simple single-page websites.

Screenshot Hugo Scroll Theme

Demo

For a current & working demo of this theme please check out https://janraasch.github.io/hugo-scroll/ 🎯.

Sponsor 💟

Support my work on this theme via GitHub Sponsors (recurring) or PayPal (one-time).

GitHub Stats

Installation

If you already have a hugo site on your machine, you can simply add this theme via

git submodule add https://github.com/janraasch/hugo-scroll.git themes/hugo-scroll

Then, adjust the config.toml as detailed below.

If you simply want to check out the exampleSite, you can run

git clone https://github.com/janraasch/hugo-scroll.git hugo-scroll
cd hugo-scroll
hugo server --source=exampleSite --themesDir=../..

For more information read the official setup guide of Hugo.

Adjust configuration / config.toml

Please check out the config.toml included on the exampleSite of this theme.

Content & structure

Starting fresh

If you are starting fresh, simply copy over the contents of the exampleSite-directory included in this theme to your source directory. That should give you a good idea about how things work, and then you can go on from there to make the site your own.

Adding content

You can add a new section to the homepage via running

hugo new homepage/my-new-content.md

To create a page separate from the homepage, run

hugo new my-new-page.md

Using icons

This theme includes the full set of Fork Awesome 1.1.7 Icons. Use the {{<icon>}}-shortcode with the respective "fa fa-ICONNAME"-class to use an icon directly in your .markdown files à la

Look at this nice »envelope«-icon: {{<icon class="fa fa-envelope">}}. I took this from https://forkaweso.me/Fork-Awesome/icon/envelope/ :-)

For the full list of icons, see Fork Awesome 1.1.7 Icons.

Adding your branding / colors / css

Add a custom_head.html-file to your layouts/partials-directory. In there you may add a <style>-tag or you may add a <link>-tag referencing your own custom.css (in case you prefer to have a separate .css-file). Checkout the custom_head.html-file from the exampleSite-directory to get started and to find more detailed instructions.

Issues / Feedback / Contributing

Please use GitHub issues and Pull Requests.

If you do not have a GitHub-account, feel free to hit me up via e-mail (see janraasch.com).

Special Thanks 🎁

License

MIT License © Jan Raasch