Commit 386501b4 authored by edavidaja's avatar edavidaja

copying docter assets

parents
The MIT License (MIT)
Copyright (c) 2019 E. David Aja
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
</html>
{{ define "main" }}
<h2 class="page-title">{{ page.title }}</h2>
{{ content }}
{{ end }}
\ No newline at end of file
<footer role="contentinfo">
<div class="wrap">
<p>This project is maintained by <a href="{{ site.author.url }}">{{ .Site.Params.name }}</a>.</p>
<p>Hosted on <a href="http://pages.github.com/">GitHub Pages</a>.</p>
</div><!--/.wrap -->
</footer>
\ No newline at end of file
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<title>
{{ if page.title == null }}
{{ site.name }}
{{ else }}
{{ page.title }} - {{ site.name }}
{{ end }}
</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/normalize.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/syntax.css">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="{{ site.baseurl }}/assets/js/respond.min.js"></script>
<![endif]-->
</head>
<header role="banner">
<div class="wrap">
{{ if isset .Site.Params "logourl" }}
<img class="logo" src="{{ site.logourl }}" alt="{{ site.logoalt }}">
{{ end }}
<h1 class="site-title"><a class="title-link" href="{{ site.baseurl }}/">{{ site.name }}</a></h1>
</div>
</header>
\ No newline at end of file
{{ define "main" }}
<article>
<h2 class="page-title">{{ page.title }}</h2>
<p class="meta">{{ page.date | date_to_string }}</p>
<div class="post">
{{ content }}
</div>
</article>
{{ end }}
\ No newline at end of file
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
name = "docter"
license = "MIT"
licenselink = "https://github.com/edavidaja/hugo-docter/blob/master/LICENSE"
description = "cfpb docter for hugo"
homepage = "http://example.com/"
tags = ["documentation"]
features = []
min_version = "0.41"
[author]
name = "edavidaja"
homepage = "edavidaja.com"
# If porting an existing theme
[original]
name = "docter"
homepage = "http://cfpb.github.io/DOCter"
repo = "https://github.com/cfpb/DOCter"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment