Files
hugo-fresh/getstarted/index.html

44 lines
7.4 KiB
HTML
Raw Permalink Normal View History

<!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&#43;Sans:300,400,600,700" rel=stylesheet><link rel=stylesheet type=text/css href=/hugo-fresh/css/style.min.90e79d931dd7cbbc3a657115e4b0d9b131892ce20e05d1f3176a3dfbe94ef1c4.css integrity="sha256-kOedkx3Xy7w6ZXEV5LDZsTGJLOIOBdHzF2o9&#43;&#43;lO8cQ="><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 0 1 2e2 2e2L8e2 8e2"/><path class="path2" d="M3e2 5e2H7e2"/><path class="path3" d="M7e2 6e2H3e2c-2e2.0-2e2-4e2 1e2-450A4e2 380 0 1 1 2e2 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 0 1 2e2 2e2L8e2 8e2"/><path class="path2" d="M3e2 5e2H7e2"/><path class="path3" d="M7e2 6e2H3e2c-2e2.0-2e2-4e2 1e2-450A4e2 380 0 1 1 2e2 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 0 1 2e2 2e2L8e2 8e2"/><path class="path2" d="M3e2 5e2H7e2"/><path class="path3" d="M7e2 6e2H3e2c-2e2.0-2e2-4e2 1e2-450A4e2 380 0 1 1 2e2 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 0 1 2e2 2e2L8e2 8e2"/><path class="path2" d="M3e2 5e2H7e2"/><path class="path3" d="M7e2 6e2H3e2c-2e2.0-2e2-4e2 1e2-450A4e2 380 0 1 1 2e2 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/themes/fresh>CSS Ninja</a>. You can find a live demo of the original theme <a href=https://cssninjastudio.github.io>here</a> and a live demo of the Hugo theme <a href=https://hugo-fresh.now.sh/>here</a>.</p><p><img src=https://raw.githubusercontent.com/StefMa/hugo-fresh/master/images/screenshot.png style=margin-left:auto;margin-right:auto></p><h2 id=getting-started>Getting started</h2><p>To create a new site using this theme</p><p><details open><summary>with git submodules</summary></p><pre><code class=language-bash># Create site and cd into it
hugo new site my-site &amp;&amp; cd my-site
# Clone the Fresh theme
git clone https://github.com/StefMa/hugo-fresh themes/hugo-fresh
# Remove the default config
rm config.toml
# Fetch the example config
curl -O https://raw.githubusercontent.com/StefMa/hugo-fresh/master/exampleSite/config.yaml
# Run the site locally
hugo server
# Open the site in your browser
open http://localhost:1313
</code></pre><p></details></p><p><details><summary>with hugo modules</summary></p><pre><code class=language-bash># Create site and cd into it
hugo new site my-site &amp;&amp; cd my-site
# Transform your hugo site to an module
hugo mod init YOUR_MODULE_NAME
# Remove the default config
rm config.toml
# Fetch the example config
curl -O https://raw.githubusercontent.com/StefMa/hugo-fresh/master/exampleSite/config.yaml
# Replace theme with module in config.yaml
#theme: [hugo-fresh]
module:
imports:
path: github.com/StefMa/hugo-fresh
# Run the site locally
hugo server
# Open the site in your browser
open http://localhost:1313
</code></pre><p></details></p><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></div></div></section><div id=backtotop><a href=#></a></div><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/getstarted/>Get Started</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/singlepage/>Single page</a></li><li><a href=https://stefma.github.io/hugo-fresh/troupleshooting/>Troubleshooting</a></li></ul></div></div><script src=https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/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>