Hugo scroll fork
Find a file
2023-04-01 01:15:16 +02:00
.github chore(deps): bump peaceiris/actions-gh-pages from 3.9.2 to 3.9.3 2023-03-30 16:15:19 +00:00
archetypes Rename title overwrite properties to header_menu_title and navigation_menu_title 2022-02-06 18:15:49 +01:00
assets shorter 0.2s scroll-to animation, helps to reduce frustration from being prevented from scrolling 2023-03-22 00:55:49 +01:00
exampleSite Updated promo image, minor changes in .md files 2023-04-01 00:47:53 +02:00
images Updated promo image for Hugo themes site (screenshot) 2023-04-01 01:15:16 +02:00
layouts Merge pull request #129 from ottlinger/patch-5 2023-03-30 12:36:54 +02:00
static/fonts - documented external links usage 2023-03-11 22:46:22 +01:00
.gitignore use recommended style for fontawesom lists 2023-03-11 10:42:38 -05: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
CHANGELOG.md Updated promo image, minor changes in .md files 2023-04-01 00:47:53 +02:00
contributing.md #128: Introduce changelog and update recent changes (#130) 2023-03-31 21:42:03 +02:00
LICENSE chore: initial commit 2020-07-07 17:50:41 +02:00
package-lock.json chore(deps-dev): bump prettier from 2.8.6 to 2.8.7 2023-03-24 16:13:06 +00:00
package.json chore(deps-dev): bump prettier from 2.8.6 to 2.8.7 2023-03-24 16:13:06 +00:00
README.md Updated promo image, minor changes in .md files 2023-04-01 00:47:53 +02:00
theme.toml Merge remote-tracking branch 'origin/master' 2023-03-18 21:12:07 +01:00

Hugo Scroll Demo

Clean, responsive, single-page Hugo website theme.

hugo-scroll Test GitHub

Promo image which may be a bit outdated:
Screenshot Hugo Scroll Theme

Installation

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

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

Then, adjust the config.toml as detailed below & in the file comments.

Playing around with our example site

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

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

For more information, read the official Hugo setup guide.

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.

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

You can add a new section to the homepage by running hugo new homepage/my-new-content.md (or craft the file manually)

To create a page separate from the homepage, run hugo new my-new-page.md

Features

Icons

This theme includes the full set of Fork Awesome 1.2.0 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/ :-)

Configured in _index.md, see exampleSite: header_logo: "images/chef-hat.png"

In order to see technical version information (extracted from Hugo's GitInfo)) set the following general option in your config.toml: enableGitInfo = true

You can add an external link in the menu, see external.md in the exampleSite.

You can also use extlink shortcode to create a link opening in a new tab:

Visit as at {{<extlink text="Instagram" href="https://www.instagram.com/yourInstagramName/">}}

Referencing and showing icons in front of the link text is possible with a new parameter icon:

Visit as at {{<extlink icon="fa fa-instagram" text="Instagram" href="https://www.instagram.com/yourInstagramName/">}}

Customizing 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

Discussion for Q&A (when unsure), Issues for tracking, Pull Requests for contributions.

See contributing guideline for more.

Special Thanks 🎁