placeholder

This commit is contained in:
Bud Parr 2017-04-10 22:17:47 -04:00
parent 46000aa3ea
commit a10e94cd95
No known key found for this signature in database
GPG key ID: ACA375160539D2B3
4 changed files with 19 additions and 16 deletions

View file

@ -1,5 +1,6 @@
{{ define "header" }}{{ partial "page-header.html" . }}{{ end }} {{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
{{ define "main" }} {{ define "main" }}
<<<<<<< Updated upstream
{{ $currentPageUrl := .URL }} {{ $currentPageUrl := .URL }}
{{ $currentSection := where .Site.Pages "Section" .Section }} {{ $currentSection := where .Site.Pages "Section" .Section }}
<article class="center cf pv5 measure-wide-l"> <article class="center cf pv5 measure-wide-l">
@ -7,4 +8,10 @@
This is not the page you were looking for This is not the page you were looking for
</h1> </h1>
</article> </article>
=======
404 page hee
{{ .Content }}
>>>>>>> Stashed changes
{{ end }} {{ end }}

View file

@ -1,6 +1,10 @@
{{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
{{ define "main" }} {{ define "main" }}
<main class="cf pa5 pa4-l f4 tc center measure-wide lh-copy gray"> {{ $currentPageUrl := .URL }}
<h1>Page not found</h1> {{ $currentSection := where .Site.Pages "Section" .Section }}
{{ .Content }} <article class="center cf pv5 measure-wide-l">
</main> <h1>
This is not the page you were looking for
</h1>
</article>
{{ end }} {{ end }}

View file

@ -2,7 +2,6 @@ var path = require("path");
var ExtractTextPlugin = require("extract-text-webpack-plugin"); var ExtractTextPlugin = require("extract-text-webpack-plugin");
var webpack = require("webpack"); var webpack = require("webpack");
module.exports = { module.exports = {
// context: path.resolve(__dirname, './src'),
entry: { entry: {
app: './js/main.js' app: './js/main.js'
}, },
@ -14,13 +13,6 @@ module.exports = {
fallback: "style-loader", fallback: "style-loader",
use: 'css-loader?importLoaders=1!postcss-loader' use: 'css-loader?importLoaders=1!postcss-loader'
}) })
},
{
test: /\.(jpe?g|png|gif|svg)$/i,
use: [
'url-loader?limit=10000',
'img-loader'
]
} }
] ]
}, },

View file

@ -1,14 +1,14 @@
# theme.toml template for a Hugo theme # theme.toml template for a Hugo theme
# See https://github.com/spf13/hugoThemes#themetoml for an example # See https://github.com/spf13/hugoThemes#themetoml for an example
name = "Gohugo Default" name = "Gohugo Default Theme"
license = "MIT" license = "MIT"
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE.md" licenselink = "https://github.com/budparr/gohugo-default-theme/blob/master/LICENSE.md"
description = "" description = ""
homepage = "http://siteforthistheme.com/" homepage = "https://github.com/budparr/gohugo-default-theme"
tags = ["website", "starter"] tags = ["website", "starter"]
features = ["", ""] features = ["", ""]
min_version = 0.18 min_version = 0.19
[author] [author]
name = "Bud Parr" name = "Bud Parr"