Commit 6ac2610a authored by David Duggins's avatar David Duggins

added resources

parent d302f30f
baseURL = "http://example.org/"
baseURL = "/"
languageCode = "en-us"
title = "My New Hugo Site"
theme = "bootstrap-bp"
[params]
welcomeText = "David Duggins"
showDuckDuckGoSearch = true
startPageColumns = true
---
- group: bookmarks
items:
- title: linux
url: /linux
icon: fab fa-linux
- title: devops
url: /dev-ops
icon: fas fa-terminal
- title: programming
url: /programming
icon: fas fa-code
- title: d&d
url: /dnd
icon: fab fa-d-and-d
- title: vegan
url: /vegan
icon: fas fa-apple-alt
- group: social media
items:
- title: twitter
url: https://twitter.com/davidduggins
icon: fab fa-twitter
RewriteEngine On
# If you migrate from wordpress this will keep your tags and categories working
# RewriteRule ^tag/(.*)$ https://www.REPLACEME.xyz/tags/$1/ [R=301,L]
# RewriteRule ^category/(.*)$ https://www.REPLACEME.xyz/categories/$1/ [R=301,L]
# Migrate old content
# RewriteRule ^my/old/(.*)$ https://www.REPLACEME.xyz/new/page/ [R=301,L]
# RewriteRule ^2018/10/old-blog-post/(.*)$ https://www.REPLACEME.xyz/2018/10/new-blog-post/ [R=301,L]
# SSL and www
# RewriteCond %{HTTPS} !on [OR]
# RewriteCond %{HTTP_HOST} !^www\.
# RewriteRule (.*) https://www.REPLACEME.xyz%{REQUEST_URI} [L,R=301]
# Create 404 error page in /layouts
ErrorDocument 404 /404.html
# Redirect Wordpress RSS feed URL to Hugo RSS feed URL
# RedirectMatch 301 (?i)^/feed/?(index.xml)?$ https://www.REPLACEME.xyz/index.xml
# HSTS
Header set Strict-Transport-Security "max-age=31536000"
# Block site from being framed with X-Frame-Options and CSP
#Header set Content-Security-Policy "frame-ancestors 'self';"
Header append X-Frame-Options: DENY
# Prevent browsers from incorrectly detecting non-scripts as scripts
Header append X-Content-Type-Options: nosniff
# Content Security Policy
# Don't implement the above policy yet; instead just report violations that would have occured
#Header set Content-Security-Policy-Report-Only: "default-src https: 'unsafe-eval' 'unsafe-inline' data:; img-src * data:; object-src 'none'; frame-src 'self' *.google.de google.de *.google.com google.com; font-src * https: data:; frame-ancestors 'self';"
Header set Content-Security-Policy: "default-src https: 'unsafe-eval' 'unsafe-inline' data:; img-src * data:; object-src 'none'; frame-src 'self' *.google.de google.de *.google.com google.com; font-src * data:; frame-ancestors 'self';"
# Active GZIP compression
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>
<IfModule mod_headers.c>
Header append Cache-Control "public"
Header append Vary Accept-Encoding
Header set Connection keep-alive
Header unset ETag
FileETag None
# Because `mod_headers` cannot match based on the content-type,
# the following workaround needs to be used.
<FilesMatch "\.(appcache|atom|bbaw|bmp|crx|css|cur|eot|f4[abpv]|flv|geojson|gif|htc|ic[os]|jpe?g|m?js|json(ld)?|m4[av]|manifest|map|markdown|md|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|topojson|tt[cf]|txt|vcard|vcf|vtt|webapp|web[mp]|webmanifest|woff2?|xloc|xml|xpi)$">
Header unset Content-Security-Policy
Header unset X-Content-Security-Policy
Header unset X-Frame-Options
Header unset X-UA-Compatible
Header unset X-WebKit-CSP
Header unset X-XSS-Protection
Header unset X-Content-Type-Options
</FilesMatch>
</IfModule>
# Browser Caching
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 1 month"
# DATA
ExpiresByType text/xml "access plus 0 seconds"
ExpiresByType text/html "access plus 0 seconds"
ExpiresByType text/plain "access plus 0 seconds"
ExpiresByType application/xml "access plus 0 seconds"
ExpiresByType application/json "access plus 0 seconds"
ExpiresByType application/rss+xml "access plus 1 hour"
ExpiresByType application/atom+xml "access plus 1 hour"
ExpiresByType text/x-component "access plus 1 hour"
# MANIFEST
ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds"
ExpiresByType text/cache-manifest "access plus 0 seconds"
# SCRIPTS
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
# IMAGES
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/jpe "access plus 1 year"
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/jp2 "access plus 1 year"
ExpiresByType image/pipeg "access plus 1 year"
ExpiresByType image/bmp "access plus 1 year"
ExpiresByType image/tiff "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
# ICONS
ExpiresByType image/ico "access plus 1 year"
ExpiresByType image/icon "access plus 1 year"
ExpiresByType text/ico "access plus 1 year"
ExpiresByType image/x-ico "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType application/ico "access plus 1 year"
# AUDIO
ExpiresByType audio/ogg "access plus 1 year"
ExpiresByType audio/basic "access plus 1 year"
ExpiresByType audio/mid "access plus 1 year"
ExpiresByType audio/midi "access plus 1 year"
ExpiresByType audio/mpeg "access plus 1 year"
ExpiresByType audio/x-aiff "access plus 1 year"
ExpiresByType audio/x-mpegurl "access plus 1 year"
ExpiresByType audio/x-pn-realaudio "access plus 1 year"
ExpiresByType audio/x-wav "access plus 1 year"
# VIDEO
ExpiresByType video/ogg "access plus 1 year"
ExpiresByType video/mp4 "access plus 1 year"
ExpiresByType video/webm "access plus 1 year"
ExpiresByType video/x-msvideo "access plus 1 year"
ExpiresByType video/mpeg "access plus 1 year"
ExpiresByType video/quicktime "access plus 1 year"
ExpiresByType video/x-la-asf "access plus 1 year"
ExpiresByType video/x-ms-asf "access plus 1 year"
ExpiresByType x-world/x-vrml "access plus 1 year"
# FONTS
ExpiresByType font/truetype "access plus 1 year"
ExpiresByType font/opentype "access plus 1 year"
ExpiresByType application/x-font-ttf "access plus 1 year"
ExpiresByType application/x-font-woff "access plus 1 year"
ExpiresByType application/font-woff "access plus 1 year"
ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
# FLASH
ExpiresByType application/x-shockwave-flash "access plus 1 year"
ExpiresByType video/x-flv "access plus 1 year"
# OTHERS
ExpiresByType application/pdf "access plus 1 year"
ExpiresByType image/vnd.wap.wbmp "access plus 1 year"
ExpiresByType application/vnd.wap.wbxml "access plus 1 year"
ExpiresByType application/smil "access plus 1 year"
<IfModule mod_headers.c>
Header append Cache-Control "public"
</IfModule>
</IfModule>
Font Awesome Free License
-------------------------
Font Awesome Free is free, open source, and GPL friendly. You can use it for
commercial projects, open source projects, or really almost whatever you want.
Full Font Awesome Free license: https://fontawesome.com/license/free.
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
In the Font Awesome Free download, the CC BY 4.0 license applies to all icons
packaged as SVG and JS file types.
# Fonts: SIL OFL 1.1 License (https://scripts.sil.org/OFL)
In the Font Awesome Free download, the SIL OFL license applies to all icons
packaged as web and desktop font files.
# Code: MIT License (https://opensource.org/licenses/MIT)
In the Font Awesome Free download, the MIT license applies to all non-font and
non-icon files.
# Attribution
Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font
Awesome Free files already contain embedded comments with sufficient
attribution, so you shouldn't need to do anything additional when using these
files normally.
We've kept attribution comments terse, so we ask that you do not actively work
to remove them from files, especially code. They're a great way for folks to
learn about Font Awesome.
# Brand Icons
All brand icons are trademarks of their respective owners. The use of these
trademarks does not indicate endorsement of the trademark holder by Font
Awesome, nor vice versa. **Please do not use brand logos for any purpose except
to represent the company, product, or service to which they refer.**
<!DOCTYPE html>
<html lang="en-us">
<meta charset="utf-8"><script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "\/"
},
"articleSection" : "categories",
"name" : "Categories",
"headline" : "Categories",
"description" : "",
"inLanguage" : "en",
"author" : "",
"creator" : "",
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "0001",
"datePublished": "0001-01-01T00:00:00Z",
"dateModified" : "0001-01-01T00:00:00Z",
"url" : "\/categories\/",
"wordCount" : "0",
"keywords" : [ "Blog" ]
}
</script>
<title>My New Hugo Site</title><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="/favicon.ico">
<meta itemprop="name" content="Categories">
<meta itemprop="description" content="">
<meta property="og:title" content="Categories" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="/categories/" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Categories"/>
<meta name="twitter:description" content=""/>
<link rel="alternate" href="/index.xml" type="application/rss+xml" title="My New Hugo Site"/>
<link rel="stylesheet" href="/css/vendor.min.7d83a599b480805040ceabd210ed28728a42bb198539a4610c248738081ce2ea.css" integrity="sha256-fYOlmbSAgFBAzqvSEO0ocopCuxmFOaRhDCSHOAgc4uo=">
<body class="text-center">
<main role="main" class="container">
</main>
<script src="/js/vendor.min.7232115811badb7575f27fd8245a9afdb2a511aee521fc2d43368153554fe685.js"></script>
</body>
</html>
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on My New Hugo Site</title>
<link>/categories/</link>
<description>Recent content in Categories on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<!DOCTYPE html>
<html lang="en-us">
<meta charset="utf-8"><script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "\/"
},
"articleSection" : "",
"name" : "My New Hugo Site",
"headline" : "My New Hugo Site",
"description" : "",
"inLanguage" : "en",
"author" : "",
"creator" : "",
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "0001",
"datePublished": "0001-01-01T00:00:00Z",
"dateModified" : "0001-01-01T00:00:00Z",
"url" : "\/",
"wordCount" : "0",
"keywords" : [ "Blog" ]
}
</script>
<title>My New Hugo Site</title><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="/favicon.ico">
<meta itemprop="name" content="My New Hugo Site">
<meta itemprop="description" content="">
<meta property="og:title" content="My New Hugo Site" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="/" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="My New Hugo Site"/>
<meta name="twitter:description" content=""/>
<link rel="alternate" href="/index.xml" type="application/rss+xml" title="My New Hugo Site"/>
<link rel="stylesheet" href="/css/vendor.min.7d83a599b480805040ceabd210ed28728a42bb198539a4610c248738081ce2ea.css" integrity="sha256-fYOlmbSAgFBAzqvSEO0ocopCuxmFOaRhDCSHOAgc4uo=">
<body class="text-center">
<main role="main" class="container">
<h1 class="welcomeText">David Duggins</h1>
<form id="search-form-ddg" action="https://duckduckgo.com/" method="get">
<input id="search-bar" class="form-control" type="text" autofocus type="text" placeholder="Search DuckDuckGo" name="q" alt="Search DuckDuckGo" onkeydown="if(event.keyCode === 13) { this.form.submit(); return false; }">
</form>
<div id="groupList" class="card-deck mt-3">
<div id="groupListEntry" class="card">
<div class="card-body">
<h5 class="card-title groupTitle">bookmarks</h5>
<ul class="list-group list-group-flush groupListList">
<li class="list-group-item groupListListItem"><a href="/linux" target="_self" class="groupLink"><i class="fab fa-linux"></i>&nbsp;<span class="groupText">linux</span></a></li>
<li class="list-group-item groupListListItem"><a href="/dev-ops" target="_self" class="groupLink"><i class="fas fa-terminal"></i>&nbsp;<span class="groupText">devops</span></a></li>
<li class="list-group-item groupListListItem"><a href="/programming" target="_self" class="groupLink"><i class="fas fa-code"></i>&nbsp;<span class="groupText">programming</span></a></li>
<li class="list-group-item groupListListItem"><a href="/dnd" target="_self" class="groupLink"><i class="fab fa-d-and-d"></i>&nbsp;<span class="groupText">d&d</span></a></li>
<li class="list-group-item groupListListItem"><a href="/vegan" target="_self" class="groupLink"><i class="fas fa-apple-alt"></i>&nbsp;<span class="groupText">vegan</span></a></li>
</ul>
</div>
</div>
<div id="groupListEntry" class="card">
<div class="card-body">
<h5 class="card-title groupTitle">social media</h5>
<ul class="list-group list-group-flush groupListList">
<li class="list-group-item groupListListItem"><a href="https://twitter.com/davidduggins" target="_self" class="groupLink"><i class="fab fa-twitter"></i>&nbsp;<span class="groupText">twitter</span></a></li>
</ul>
</div>
</div>
</div>
</main>
<script src="/js/vendor.min.7232115811badb7575f27fd8245a9afdb2a511aee521fc2d43368153554fe685.js"></script>
</body>
</html>
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>My New Hugo Site</title>
<link>/</link>
<description>Recent content on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/categories/</loc>
</url>
<url>
<loc>/</loc>
</url>
<url>
<loc>/tags/</loc>
</url>
</urlset>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en-us">
<meta charset="utf-8"><script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "\/"
},
"articleSection" : "tags",
"name" : "Tags",
"headline" : "Tags",
"description" : "",
"inLanguage" : "en",
"author" : "",
"creator" : "",
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "0001",
"datePublished": "0001-01-01T00:00:00Z",
"dateModified" : "0001-01-01T00:00:00Z",
"url" : "\/tags\/",
"wordCount" : "0",
"keywords" : [ "Blog" ]
}
</script>
<title>My New Hugo Site</title><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="/favicon.ico">
<meta itemprop="name" content="Tags">
<meta itemprop="description" content="">
<meta property="og:title" content="Tags" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="/tags/" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Tags"/>
<meta name="twitter:description" content=""/>
<link rel="alternate" href="/index.xml" type="application/rss+xml" title="My New Hugo Site"/>
<link rel="stylesheet" href="/css/vendor.min.7d83a599b480805040ceabd210ed28728a42bb198539a4610c248738081ce2ea.css" integrity="sha256-fYOlmbSAgFBAzqvSEO0ocopCuxmFOaRhDCSHOAgc4uo=">
<body class="text-center">
<main role="main" class="container">
</main>
<script src="/js/vendor.min.7232115811badb7575f27fd8245a9afdb2a511aee521fc2d43368153554fe685.js"></script>
</body>
</html>
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on My New Hugo Site</title>
<link>/tags/</link>
<description>Recent content in Tags on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
{"Target":"css/vendor.min.7d83a599b480805040ceabd210ed28728a42bb198539a4610c248738081ce2ea.css","MediaType":"text/css","Data":{"Integrity":"sha256-fYOlmbSAgFBAzqvSEO0ocopCuxmFOaRhDCSHOAgc4uo="}}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
{"Target":"js/vendor.min.7232115811badb7575f27fd8245a9afdb2a511aee521fc2d43368153554fe685.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-cjIRWBG623V18n/YJFqa/bKlEa7lIfwtQzaBU1VP5oU="}}
\ No newline at end of file
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