-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit dac0b76
Showing
61 changed files
with
1,779 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Categories on Hugo Fresh documentation</title><link>https://stefma.github.io/hugo-fresh/categories/</link><description>Recent content in Categories on Hugo Fresh documentation</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://stefma.github.io/hugo-fresh/categories/index.xml" rel="self" type="application/rss+xml"/></channel></rss> |
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
css/style.min.7a984355ea0371a845ca84dd9356e5caf3fc628ad4553524aa9a665b79c54d29.css
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<!doctype html><html lang=en-us><head><meta name=description content="Hardcoded description; the author should update :)"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta http-equiv=x-ua-compatible content="ie=edge"><title>Hugo Fresh documentation</title><link rel=icon type=image/png href=/hugo-fresh/images/favicon.png><link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel=stylesheet><link rel=stylesheet type=text/css href=/hugo-fresh/css/style.min.7a984355ea0371a845ca84dd9356e5caf3fc628ad4553524aa9a665b79c54d29.css integrity="sha256-ephDVeoDcahFyoTdk1blyvP8YorUVTUkqppmW3nFTSk="><link rel=stylesheet type=text/css href=/hugo-fresh/css/icons.css></head><body><div id=preloader><div id=status></div></div><nav class="navbar is-fresh is-transparent no-shadow" role=navigation aria-label="main navigation"><div class=container><div class=navbar-brand><a class=navbar-item href=/hugo-fresh><img src=/hugo-fresh/images/logos/fresh.svg alt width=112 height=28></a> | ||
<a class="navbar-item is-hidden-desktop is-hidden-tablet"><div id=menu-icon-wrapper class=menu-icon-wrapper style=visibility:visible><svg width="1e3" height="1e3"><path class="path1" d="M3e2 4e2H7e2c2e2.0 2e2 350-1e2 450A4e2 4e2.0 012e2 2e2L8e2 8e2"/><path class="path2" d="M3e2 5e2H7e2"/><path class="path3" d="M7e2 6e2H3e2c-2e2.0-2e2-4e2 1e2-450A4e2 380 0 112e2 8e2L8e2 2e2"/></svg><button id=menu-icon-trigger class=menu-icon-trigger></button></div></a><a role=button class=navbar-burger aria-label=menu aria-expanded=false data-target=navbar-menu><span aria-hidden=true></span> | ||
<span aria-hidden=true></span> | ||
<span aria-hidden=true></span></a></div><div id=navbar-menu class="navbar-menu is-static"><div class=navbar-start><a class="navbar-item is-hidden-mobile"><div id=menu-icon-wrapper class=menu-icon-wrapper style=visibility:visible><svg width="1e3" height="1e3"><path class="path1" d="M3e2 4e2H7e2c2e2.0 2e2 350-1e2 450A4e2 4e2.0 012e2 2e2L8e2 8e2"/><path class="path2" d="M3e2 5e2H7e2"/><path class="path3" d="M7e2 6e2H3e2c-2e2.0-2e2-4e2 1e2-450A4e2 380 0 112e2 8e2L8e2 2e2"/></svg><button id=menu-icon-trigger class=menu-icon-trigger></button></div></a></div><div class=navbar-end><a href=https://github.com/StefMa/hugo-fresh class=navbar-item><span class="button signup-button rounded secondary-btn raised">GitHub</span></a></div></div></div></nav><nav id=navbar-clone class="navbar is-fresh is-transparent" role=navigation aria-label="main navigation"><div class=container><div class=navbar-brand><a class=navbar-item href=/hugo-fresh><img src=/hugo-fresh/images/logos/fresh.svg alt width=112 height=28></a> | ||
<a class="navbar-item is-hidden-desktop is-hidden-tablet"><div id=menu-icon-wrapper class=menu-icon-wrapper style=visibility:visible><svg width="1e3" height="1e3"><path class="path1" d="M3e2 4e2H7e2c2e2.0 2e2 350-1e2 450A4e2 4e2.0 012e2 2e2L8e2 8e2"/><path class="path2" d="M3e2 5e2H7e2"/><path class="path3" d="M7e2 6e2H3e2c-2e2.0-2e2-4e2 1e2-450A4e2 380 0 112e2 8e2L8e2 2e2"/></svg><button id=menu-icon-trigger class=menu-icon-trigger></button></div></a><a role=button class=navbar-burger aria-label=menu aria-expanded=false data-target=cloned-navbar-menu><span aria-hidden=true></span> | ||
<span aria-hidden=true></span> | ||
<span aria-hidden=true></span></a></div><div id=cloned-navbar-menu class="navbar-menu is-fixed"><div class=navbar-start><a class="navbar-item is-hidden-mobile"><div id=cloned-menu-icon-wrapper class=menu-icon-wrapper style=visibility:visible><svg width="1e3" height="1e3"><path class="path1" d="M3e2 4e2H7e2c2e2.0 2e2 350-1e2 450A4e2 4e2.0 012e2 2e2L8e2 8e2"/><path class="path2" d="M3e2 5e2H7e2"/><path class="path3" d="M7e2 6e2H3e2c-2e2.0-2e2-4e2 1e2-450A4e2 380 0 112e2 8e2L8e2 2e2"/></svg><button id=cloned-menu-icon-trigger class=menu-icon-trigger></button></div></a></div><div class=navbar-end><a href=https://github.com/StefMa/hugo-fresh class=navbar-item><span class="button signup-button rounded secondary-btn raised">GitHub</span></a></div></div></div></nav><section class="section is-medium"><div class=container><div class=columns><div class="column is-centered-tablet-portrait"><h1 class="title section-title">Deep modification</h1><h5 class="subtitle is-5 is-muted"></h5><div class=divider></div></div></div><div class=content><h2 id=deep-modifications>Deep modifications</h2><p>In case you want to make deep modifications of this theme (like changing the colors) you have to | ||
add the theme as an git submodule rather than as a <a href=../module>hugo module</a>.</p><p>To create a new site using this theme as hugo module:</p><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-bash data-lang=bash><span style=display:flex><span><span style=color:#75715e># Create site and cd into it</span> | ||
</span></span><span style=display:flex><span>hugo new site my-site <span style=color:#f92672>&&</span> cd my-site | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Make a git project out of it</span> | ||
</span></span><span style=display:flex><span>git init | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Add this theme as a git submodule</span> | ||
</span></span><span style=display:flex><span>git submodule add https://github.com/StefMa/hugo-fresh.git themes/hugo-fresh | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Add the dependency to the css files as a git submodule and checkout version 0.9.4</span> | ||
</span></span><span style=display:flex><span>git submodule add https://github.com/jgthms/bulma.git themes/bulma | ||
</span></span><span style=display:flex><span>cd themes/bulma <span style=color:#f92672>&&</span> git checkout 0.9.4 | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Go back from themes/bulma dir</span> | ||
</span></span><span style=display:flex><span>cd ../.. | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Remove the default config</span> | ||
</span></span><span style=display:flex><span>rm config.toml | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Fetch the example config</span> | ||
</span></span><span style=display:flex><span>curl -O https://raw.githubusercontent.com/StefMa/hugo-fresh/master/exampleSite/hugo.yaml | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Configure the theme as git submodule</span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Remove the 'module' section in the `hugo.yml` and add</span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># theme: 'hugo-fresh' (See also https://github.com/StefMa/hugo-fresh/issues/175#issuecomment-1863358700)</span> | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Change the path of the bulma css files</span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Replace `github.com/jgthms/bulma` with `bulma` in</span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># my-site/themes/hugo-fresh/config.yml</span> | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Run the site locally</span> | ||
</span></span><span style=display:flex><span>hugo server | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Open the site in your browser</span> | ||
</span></span><span style=display:flex><span>open http://localhost:1313 | ||
</span></span></code></pre></div><p>Now you’re able to change anything in the theme to your needs.</p><p>To change the colors for example, open | ||
<code>my-site/themes/hugo-fresh/assets/fresh/partials/_colors.scss</code> | ||
and customizes to your needs.</p><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-diff data-lang=diff><span style=display:flex><span><span style=color:#f92672>- $primary: #4FC1E; | ||
</span></span></span><span style=display:flex><span><span style=color:#f92672>- $secondary: #F39200; | ||
</span></span></span><span style=display:flex><span><span style=color:#f92672></span><span style=color:#a6e22e>+ $primary: #b85ca2; | ||
</span></span></span><span style=display:flex><span><span style=color:#a6e22e>+ $secondary: #2ee62e; | ||
</span></span></span></code></pre></div></div></div></section><div class=sidebar><div class=sidebar-header><img src=/hugo-fresh/images/logos/fresh-white.svg> | ||
<a class=sidebar-close href=javascript:void(0);><i data-feather=x></i></a></div><div class=inner><ul class=sidebar-menu><li><a href=https://stefma.github.io/hugo-fresh/deepmodifications/>Deep modification</a></li><li><a href=https://stefma.github.io/hugo-fresh/getstarted/>Get Started</a></li><li><a href=https://stefma.github.io/hugo-fresh/module/>Hugo module</a></li><li><a href=https://stefma.github.io/hugo-fresh/landingpage/>Landing page</a></li><li><a href=https://stefma.github.io/hugo-fresh/markdown-syntax/>Markdown Syntax Guide</a></li><li><a href=https://stefma.github.io/hugo-fresh/misc/>Misc</a></li><li><a href=https://stefma.github.io/hugo-fresh/singlepage/>Single page</a></li><li><a href=https://stefma.github.io/hugo-fresh/troubleshooting/>Troubleshooting</a></li></ul></div></div><div id=backtotop><a href=#></a></div><script src=https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js></script> | ||
<script src=https://unpkg.com/feather-icons></script> | ||
<script src=/hugo-fresh/js/fresh.js></script> | ||
<script src=/hugo-fresh/js/jquery.panelslider.min.js></script> | ||
<script src=https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js></script></body></html> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!doctype html><html lang=en-us><head><meta name=description content="Hardcoded description; the author should update :)"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta http-equiv=x-ua-compatible content="ie=edge"><title>Hugo Fresh documentation</title><link rel=icon type=image/png href=/hugo-fresh/images/favicon.png><link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel=stylesheet><link rel=stylesheet type=text/css href=/hugo-fresh/css/style.min.7a984355ea0371a845ca84dd9356e5caf3fc628ad4553524aa9a665b79c54d29.css integrity="sha256-ephDVeoDcahFyoTdk1blyvP8YorUVTUkqppmW3nFTSk="><link rel=stylesheet type=text/css href=/hugo-fresh/css/icons.css></head><body><div id=preloader><div id=status></div></div><nav class="navbar is-fresh is-transparent no-shadow" role=navigation aria-label="main navigation"><div class=container><div class=navbar-brand><a class=navbar-item href=/hugo-fresh><img src=/hugo-fresh/images/logos/fresh.svg alt width=112 height=28></a> | ||
<a class="navbar-item is-hidden-desktop is-hidden-tablet"><div id=menu-icon-wrapper class=menu-icon-wrapper style=visibility:visible><svg width="1e3" height="1e3"><path class="path1" d="M3e2 4e2H7e2c2e2.0 2e2 350-1e2 450A4e2 4e2.0 012e2 2e2L8e2 8e2"/><path class="path2" d="M3e2 5e2H7e2"/><path class="path3" d="M7e2 6e2H3e2c-2e2.0-2e2-4e2 1e2-450A4e2 380 0 112e2 8e2L8e2 2e2"/></svg><button id=menu-icon-trigger class=menu-icon-trigger></button></div></a><a role=button class=navbar-burger aria-label=menu aria-expanded=false data-target=navbar-menu><span aria-hidden=true></span> | ||
<span aria-hidden=true></span> | ||
<span aria-hidden=true></span></a></div><div id=navbar-menu class="navbar-menu is-static"><div class=navbar-start><a class="navbar-item is-hidden-mobile"><div id=menu-icon-wrapper class=menu-icon-wrapper style=visibility:visible><svg width="1e3" height="1e3"><path class="path1" d="M3e2 4e2H7e2c2e2.0 2e2 350-1e2 450A4e2 4e2.0 012e2 2e2L8e2 8e2"/><path class="path2" d="M3e2 5e2H7e2"/><path class="path3" d="M7e2 6e2H3e2c-2e2.0-2e2-4e2 1e2-450A4e2 380 0 112e2 8e2L8e2 2e2"/></svg><button id=menu-icon-trigger class=menu-icon-trigger></button></div></a></div><div class=navbar-end><a href=https://github.com/StefMa/hugo-fresh class=navbar-item><span class="button signup-button rounded secondary-btn raised">GitHub</span></a></div></div></div></nav><nav id=navbar-clone class="navbar is-fresh is-transparent" role=navigation aria-label="main navigation"><div class=container><div class=navbar-brand><a class=navbar-item href=/hugo-fresh><img src=/hugo-fresh/images/logos/fresh.svg alt width=112 height=28></a> | ||
<a class="navbar-item is-hidden-desktop is-hidden-tablet"><div id=menu-icon-wrapper class=menu-icon-wrapper style=visibility:visible><svg width="1e3" height="1e3"><path class="path1" d="M3e2 4e2H7e2c2e2.0 2e2 350-1e2 450A4e2 4e2.0 012e2 2e2L8e2 8e2"/><path class="path2" d="M3e2 5e2H7e2"/><path class="path3" d="M7e2 6e2H3e2c-2e2.0-2e2-4e2 1e2-450A4e2 380 0 112e2 8e2L8e2 2e2"/></svg><button id=menu-icon-trigger class=menu-icon-trigger></button></div></a><a role=button class=navbar-burger aria-label=menu aria-expanded=false data-target=cloned-navbar-menu><span aria-hidden=true></span> | ||
<span aria-hidden=true></span> | ||
<span aria-hidden=true></span></a></div><div id=cloned-navbar-menu class="navbar-menu is-fixed"><div class=navbar-start><a class="navbar-item is-hidden-mobile"><div id=cloned-menu-icon-wrapper class=menu-icon-wrapper style=visibility:visible><svg width="1e3" height="1e3"><path class="path1" d="M3e2 4e2H7e2c2e2.0 2e2 350-1e2 450A4e2 4e2.0 012e2 2e2L8e2 8e2"/><path class="path2" d="M3e2 5e2H7e2"/><path class="path3" d="M7e2 6e2H3e2c-2e2.0-2e2-4e2 1e2-450A4e2 380 0 112e2 8e2L8e2 2e2"/></svg><button id=cloned-menu-icon-trigger class=menu-icon-trigger></button></div></a></div><div class=navbar-end><a href=https://github.com/StefMa/hugo-fresh class=navbar-item><span class="button signup-button rounded secondary-btn raised">GitHub</span></a></div></div></div></nav><section class="section is-medium"><div class=container><div class=columns><div class="column is-centered-tablet-portrait"><h1 class="title section-title">Get Started</h1><h5 class="subtitle is-5 is-muted"></h5><div class=divider></div></div></div><div class=content><h2 id=the-fresh-theme-for-hugo>The Fresh theme for Hugo</h2><p><strong>Fresh</strong> is a theme for the <a href=https://gohugo.io>Hugo</a> static site generator adapted from the gorgeous, <a href=https://bulma.io>Bulma</a>-based theme of the same name from <a href=https://cssninja.io/product/fresh>CSS Ninja</a>. You can find a live demo of the original theme <a href=https://fresh.cssninja.io>here</a> and a live demo of the Hugo theme <a href=https://hugo-fresh.now.sh/>here</a>.</p><img src=https://raw.githubusercontent.com/StefMa/hugo-fresh/master/images/screenshot.png style=margin-left:auto;margin-right:auto><h2 id=getting-started>Getting started</h2><p>To create a new site using this theme as hugo module:</p><p>Make sure <code>go</code> > 1.13 is installed on your system. <a href=https://go.dev/dl/>Download</a> and install if needed.</p><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-bash data-lang=bash><span style=display:flex><span><span style=color:#75715e># Create site and cd into it</span> | ||
</span></span><span style=display:flex><span>hugo new site my-site <span style=color:#f92672>&&</span> cd my-site | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Transform your hugo site to an module</span> | ||
</span></span><span style=display:flex><span>hugo mod init YOUR_MODULE_NAME | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Remove the default config</span> | ||
</span></span><span style=display:flex><span>rm hugo.toml | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Fetch the example config</span> | ||
</span></span><span style=display:flex><span>curl -O https://raw.githubusercontent.com/StefMa/hugo-fresh/master/exampleSite/hugo.yaml | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Run the site locally</span> | ||
</span></span><span style=display:flex><span>hugo server | ||
</span></span><span style=display:flex><span> | ||
</span></span><span style=display:flex><span><span style=color:#75715e># Open the site in your browser</span> | ||
</span></span><span style=display:flex><span>open http://localhost:1313 | ||
</span></span></code></pre></div><h2 id=customizing-your-page>Customizing your page</h2><p>Checkout the <a href=../landingpage>Landing page docs</a> to customize the landing page.</p><p>There is also the option to create single pages. Check the <a href=../singlepage>Single page docs</a> for more.</p><p>Have some troubles? Check our <a href=../troubleshooting>troubleshooting</a> guide.</p><p>Interested in changed colors? Checkout the <a href=../deepmodifications>Deep modifications</a> guide.</p></div></div></section><div class=sidebar><div class=sidebar-header><img src=/hugo-fresh/images/logos/fresh-white.svg> | ||
<a class=sidebar-close href=javascript:void(0);><i data-feather=x></i></a></div><div class=inner><ul class=sidebar-menu><li><a href=https://stefma.github.io/hugo-fresh/deepmodifications/>Deep modification</a></li><li><a href=https://stefma.github.io/hugo-fresh/getstarted/>Get Started</a></li><li><a href=https://stefma.github.io/hugo-fresh/module/>Hugo module</a></li><li><a href=https://stefma.github.io/hugo-fresh/landingpage/>Landing page</a></li><li><a href=https://stefma.github.io/hugo-fresh/markdown-syntax/>Markdown Syntax Guide</a></li><li><a href=https://stefma.github.io/hugo-fresh/misc/>Misc</a></li><li><a href=https://stefma.github.io/hugo-fresh/singlepage/>Single page</a></li><li><a href=https://stefma.github.io/hugo-fresh/troubleshooting/>Troubleshooting</a></li></ul></div></div><div id=backtotop><a href=#></a></div><script src=https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js></script> | ||
<script src=https://unpkg.com/feather-icons></script> | ||
<script src=/hugo-fresh/js/fresh.js></script> | ||
<script src=/hugo-fresh/js/jquery.panelslider.min.js></script> | ||
<script src=https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js></script></body></html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.