https://github.com/hiAndrewQuinn/minimum-viable-hugo Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code + Explore + All features + Documentation + GitHub Skills + Blog * Solutions + For + Enterprise + Teams + Startups + Education + By Solution + CI/CD & Automation + DevOps + DevSecOps + Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles + Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} hiAndrewQuinn / minimum-viable-hugo Public * Notifications * Fork 5 * Star 81 No CSS, no JS. One static HTML page to start you off. License CC0-1.0 license 81 stars 5 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights hiAndrewQuinn/minimum-viable-hugo This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/h] Use Git or checkout with SVN using the web URL. [gh repo clone hiAndr] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @hiAndrewQuinn hiAndrewQuinn Merge pull request #1 from terrabruder/hotfix/ documentation-context ... 1c1b4ef Feb 27, 2023 Merge pull request #1 from terrabruder/hotfix/documentation-context Add context to documentation 1c1b4ef Git stats * 7 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time LICENSE Initial commit February 27, 2023 18:03 README.md Update README.md February 27, 2023 11:55 View code Minimum Viable Hugo Quickstart TODO README.md Minimum Viable Hugo Hugo is a web framework which is frequently used to generate content from Markdown. This repository helps new users get started. image 4 out of 5 web devs have experienced the following: "Hugo sounds great! Let me try it out!" "Okay, I made a new theme and a page in content/!!" "Running hugo server -D now!!! ... Where is it!!!!" This repo aims to fix that. Quickstart # Start a new site. # We --force because this will complain # if *anything* else is in the directory, # even something so meek as a freshborn .git/. hugo new site . --force # Make a new theme. Tell Hugo we want to use it. hugo new theme minimum-viable-hugo echo "theme = 'minimum-viable-hugo'" >> config.toml # GOTCHA #1: Your root page is called _index.md. mkdir content/ hugo new _index.md echo "Lorem ipsum dolor sit amet" >> content/_index.md # GOTCHA #2: Hugo needs to be explicitly told to # serve content from _index.md. echo "{{ .Content }}" >> themes/minimum-viable-hugo/layouts/index.html # Serve the site. Don't leave out the -D yet. hugo server -D Then go to localhost:#### in your browser and you should see it. If you look at content/_index.md, it will look like --- title: "" date: 2023-02-27T18:21:50+02:00 draft: true --- Lorem ipsum dolor sit amet Change draft to false. Then you'll be able to run your site with just hugo server TODO * Turn this repo into a submodule you can pull in for this. About No CSS, no JS. One static HTML page to start you off. Resources Readme License CC0-1.0 license Stars 81 stars Watchers 3 watching Forks 5 forks Releases No releases published Packages 0 No packages published Contributors 2 * @hiAndrewQuinn hiAndrewQuinn Andrew Quinn * @terrabruder terrabruder Terra Bruder Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.