Initial AD port
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
<style type="text/css" media="screen">
|
||||
.container {
|
||||
margin: 10px auto;
|
||||
max-width: 600px;
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
margin: 30px 0;
|
||||
font-size: 4em;
|
||||
line-height: 1;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="container">
|
||||
<h1>404</h1>
|
||||
|
||||
<p><strong>Page not found :(</strong></p>
|
||||
<p>The requested page could not be found.</p>
|
||||
</div>
|
||||
@@ -1,17 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-GB">
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
<h3>Arona Jones</h3>
|
||||
{{ partial "nav.html" . }}
|
||||
</header>
|
||||
<main aria-label="Content">
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
</main>
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,25 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<article style="padding-top: 2em;">
|
||||
{{.Content}}
|
||||
</article>
|
||||
<div class="contained" style="max-width: 50%; padding-bottom: 2em;">
|
||||
<h3>Posts:</h3>
|
||||
<div style="display: grid; grid-gap: 1em; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));">
|
||||
{{ range .Pages }}
|
||||
<div style="border: 1px solid #00ADFF; border-radius: 10px;">
|
||||
{{ if .Params.images }}
|
||||
<img src="{{ index .Params.images 0}}" style="border-top-left-radius: 10px; border-top-right-radius: 10px; width: 100%; height: 15em; object-fit: cover;"/>
|
||||
{{ else }}
|
||||
<img src="/img/1*ug9TIbMQlsa4SGxbs0kwgw.jpeg" style="border-top-left-radius: 10px; border-top-right-radius: 10px; width: 100%; height: 15em; object-fit: cover; filter: grayscale(50%); -webkit-filter: grayscale(50%);"/>
|
||||
{{ end }}
|
||||
<a href="{{.Permalink}}" style="padding: 1em; display: inline-block;">{{.Date.Format "02/01/2006"}} | "{{.Title}}"</a>
|
||||
<div style="padding-left: 1em; padding-right: 1em;">
|
||||
{{ .Summary }}...
|
||||
<p style="text-align: right;"><a href="{{.Permalink}}">Read More</a></p>
|
||||
</div>
|
||||
<p style="text-align: right; padding: 1em;"><small>Reading Time: {{ .ReadingTime }}m</small></p>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
0
layouts/_default/rss.xml
Normal file
0
layouts/_default/rss.xml
Normal file
@@ -1,6 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<article>
|
||||
<h1 style="padding-top: 2em; padding-bottom: 1em;">{{ .Title }}</h1>
|
||||
{{.Content}}
|
||||
</article>
|
||||
{{ end }}
|
||||
@@ -1,25 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<article>
|
||||
<h1 style="padding-top: 1em;">{{ .Title }}</h1>
|
||||
<p style="padding-bottom: 1em;">Tags:
|
||||
{{ range (.GetTerms "categories") }}
|
||||
<a href="{{ .Permalink }}" style="background: #202226; border-radius: 0.3em; padding: 0.4em; margin: 0.1em">{{ .LinkTitle }}</a>
|
||||
{{ end }}</p>
|
||||
{{.Content}}
|
||||
<small>Published on {{ .Date.Format "2006-01-02" }}</small>
|
||||
<br>{{ partial "share-buttons.html" . }}
|
||||
<script defer src="https://comments.aronajones.com/js/commento.js"></script>
|
||||
<div id="commento" style="width: 50%"></div>
|
||||
<noscript>FYI: Comments would be here, but they require Javascript.</noscript>
|
||||
<div class="next-post" style="padding-top: 1em;">
|
||||
{{ if .NextPage }}
|
||||
Next: <a class="link-reverse" href="{{ .NextPage.Permalink }}"> {{ .NextPage.Title | truncate 50 "..." }}</a> »
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="previous-post" style="padding-top: 1em; padding-bottom: 2em;">
|
||||
{{ if .PrevPage }}
|
||||
« Previous: <a class="link-reverse" href="{{ .PrevPage.Permalink }}"> {{ .PrevPage.Title | truncate 50 "..."}}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
@@ -1,21 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-GB">
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
<h1>Arona Jones</h1>
|
||||
<h2 style="color: white;">{{ .Site.Title }}</h2>
|
||||
</header>
|
||||
<main aria-label="Content">
|
||||
<div style="display: flex; justify-content: center; background: black; margin-left: -5vw; margin-right: -5vw; height: 100%;" id="homepage-container">
|
||||
<div class="bigimage"><img class="background" src="img/christian-wiediger-WkfDrhxDMC8-unsplash.jpg" alt="Keyboard with blue backlit keys"><a class="button" href="development"><span class="fas fa-file-code"></span> Development</a></div>
|
||||
<div class="bigimage"><img class="background" src="img/1*0V2rDSk8SOr6mpfFf28EJA.jpeg" alt="Mugs of coffee on a fire grate"><a class="button" href="writing"><span class="fas fa-pen-fancy"></span> Writing</a></div>
|
||||
<div class="bigimage"><img class="background" src="img/diwaliball.jpg" alt="Spotlight on an actor, from the position of the spot"><a class="button" href="technical"><span class="fas fa-lightbulb"></span> Technical</a></div>
|
||||
<div class="bigimage"><img class="background" src="img/1*2J4xTO7JYBYA3dcMwwGSlw.jpeg" alt="Gold pocketwatch"><a class="button" href="blog"><span class="fas fa-portrait"></span> Blog</a></div>
|
||||
</div>
|
||||
</main>
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<footer>
|
||||
<a href="mailto:aj@a%72o%6Eajo%6E%65s.com" rel="noopener" target="_blank"><span class="fas fa-envelope"></span><span class="sr-only">My Email Address</span></a>
|
||||
<a href="https://www.github.com/FreneticScribbler" rel="noopener" target="_blank"><span class="fab fa-github"></span><span class="sr-only">My Github</span></a>
|
||||
<a href="https://www.twitter.com/aronajones_" rel="noopener" target="_blank"><span class="fab fa-twitter"></span><span class="sr-only">My Twitter</span></a>
|
||||
</footer>
|
||||
@@ -1,10 +0,0 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ if and (.IsPage) (.Title) }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
|
||||
<meta name="description" content="{{if .IsHome}}{{ $.Site.Title }}{{else}}{{.Description}}{{end}}" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/screen.css">
|
||||
<script defer src="/js/all.min.js"></script>
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
</head>
|
||||
@@ -1,3 +0,0 @@
|
||||
<header>
|
||||
|
||||
</header>
|
||||
@@ -1,7 +0,0 @@
|
||||
<nav id="main-nav" class="contained">
|
||||
<a href="/">Home</a>
|
||||
{{ $currentNode := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
<a href="{{.URL}}">{{.Name}}</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
@@ -1,26 +0,0 @@
|
||||
{{ $pageurl := .Permalink }}
|
||||
|
||||
<style>
|
||||
#share-buttons {display: inline-block; vertical-align: middle; }
|
||||
#share-buttons:after {content: ""; display: block; clear: both;}
|
||||
#share-buttons > div {
|
||||
position: relative;
|
||||
text-align: left;
|
||||
height: 36px;
|
||||
width: 32px;
|
||||
float: left;
|
||||
text-align: center;
|
||||
}
|
||||
#share-buttons > div > svg {height: 16px; fill: #d5d5d5; margin-top: 10px;}
|
||||
#share-buttons > div:hover {cursor: pointer;}
|
||||
#share-buttons > div.twitter:hover > svg {fill: #55ACEE;}
|
||||
#share-buttons > div.mail:hover > svg {fill: #7D7D7D;}
|
||||
#share-buttons > div.instagram:hover > svg {fill: #C73B92;}
|
||||
#share-buttons > div.twitter > svg {height: 20px; margin-top: 8px;}
|
||||
#share-buttons > div.mail > svg {height: 14px; margin-top: 11px;}
|
||||
</style>
|
||||
|
||||
<span style="color: silver;">Share on: </span><div id="share-buttons">
|
||||
<div class="twitter" title="Share this on Twitter" onclick="window.open('https://twitter.com/intent/tweet?text={{ $pageurl }}');"><svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1684 408q-67 98-162 167 1 14 1 42 0 130-38 259.5t-115.5 248.5-184.5 210.5-258 146-323 54.5q-271 0-496-145 35 4 78 4 225 0 401-138-105-2-188-64.5t-114-159.5q33 5 61 5 43 0 85-11-112-23-185.5-111.5t-73.5-205.5v-4q68 38 146 41-66-44-105-115t-39-154q0-88 44-163 121 149 294.5 238.5t371.5 99.5q-8-38-8-74 0-134 94.5-228.5t228.5-94.5q140 0 236 102 109-21 205-78-37 115-142 178 93-10 186-50z"/></svg></div>
|
||||
<div class="mail" title="Share this through Email" onclick="window.open('mailto:?&body={{ $pageurl }}');"><svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1792 710v794q0 66-47 113t-113 47h-1472q-66 0-113-47t-47-113v-794q44 49 101 87 362 246 497 345 57 42 92.5 65.5t94.5 48 110 24.5h2q51 0 110-24.5t94.5-48 92.5-65.5q170-123 498-345 57-39 100-87zm0-294q0 79-49 151t-122 123q-376 261-468 325-10 7-42.5 30.5t-54 38-52 32.5-57.5 27-50 9h-2q-23 0-50-9t-57.5-27-52-32.5-54-38-42.5-30.5q-91-64-262-182.5t-205-142.5q-62-42-117-115.5t-55-136.5q0-78 41.5-130t118.5-52h1472q65 0 112.5 47t47.5 113z"/></svg></div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user