Merge pull request #39 from atomtigerzoo/nicer-defaults

Some - hopefully - nicer defaults
This commit is contained in:
David Calavera 2017-08-15 13:37:22 -07:00 committed by GitHub
commit 601c31c949
7 changed files with 43 additions and 8 deletions

View File

@ -1,3 +1,9 @@
baseurl = "/" baseurl = "/"
languageCode = "en-us" languageCode = "en-us"
title = "My New Hugo Site" languageLang = "en"
title = "My new Victor-Hugo site"
# RSS, categories and tags disabled for an easy start
# See configuration options for more details:
# https://gohugo.io/getting-started/configuration/#toml-configuration
disableKinds = ["RSS", "taxonomy", "taxonomyTerm"]

View File

@ -2,4 +2,8 @@
<h1>Hugo with Gulp, PostCSS and Webpack</h1> <h1>Hugo with Gulp, PostCSS and Webpack</h1>
<p>
Hooray 🎉 - you've built this with <a href="https://github.com/netlify/victor-hugo">Victor-Hugo</a>!
</p>
{{ partial "footer" . }} {{ partial "footer" . }}

View File

@ -1,3 +1,4 @@
<script src="/app.js"></script> <script src="app.js"></script>
</body>
</body>
</html> </html>

View File

@ -1,7 +1,9 @@
<!doctype html> <!doctype html>
<html> <html lang="{{ $.Site.Language.Lang }}">
<head> <head>
<title>Hugo with Gulp and Webpack</title> <meta charset="utf-8">
<link rel="stylesheet" href="/css/main.css"/> <base href="{{ $.Site.BaseURL }}">
<title>{{ $.Site.Title }}</title>
<link rel="stylesheet" href="css/main.css"/>
</head> </head>
<body> <body>

View File

@ -1,3 +1,9 @@
body { /*
font-size: 16px; Define your resets here or use something like Normalize.css if you like
*/
html,
body{
margin: 0;
padding: 0;
} }

View File

@ -1 +1,14 @@
/*
You can use import statements to include partials:
*/
@import "imports/reset.css"; @import "imports/reset.css";
/*
Or add your statements here:
*/
body{
font-family: sans-serif;
font-size: 1em;
text-align: center;
}

View File

@ -1 +1,4 @@
// JS Goes here - ES6 supported // JS Goes here - ES6 supported
// Say hello
console.log("🦊 Hello! Edit me in src/js/app.js");