Some nicer defaults to get started with

This commit is contained in:
atomtigerzoo 2017-08-11 16:48:32 +02:00
parent 1b429572c8
commit 9972b94d36
7 changed files with 38 additions and 8 deletions

View File

@ -1,3 +1,4 @@
baseurl = "/" baseurl = "/"
languageCode = "en-us" languageCode = "en-us"
title = "My New Hugo Site" languageLang = "en"
title = "My new Victor-Hugo site"

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");