{{ 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"> | ||||
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 }} |
{{ 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"> | |||||
<h1>Page not found</h1> | |||||
{{ .Content }} | |||||
</main> | |||||
{{ $currentPageUrl := .URL }} | |||||
{{ $currentSection := where .Site.Pages "Section" .Section }} | |||||
<article class="center cf pv5 measure-wide-l"> | |||||
<h1> | |||||
This is not the page you were looking for | |||||
</h1> | |||||
</article> | |||||
{{ end }} | {{ end }} |
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' | ||||
}, | }, | ||||
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' | |||||
] | |||||
} | } | ||||
] | ] | ||||
}, | }, |
# 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" |