archetypes, list.html layouts, google analyticsafter </head>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<h2>{{ .Title }}</h2>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
<section class="projects">
|
||||
{{ range .Pages }}
|
||||
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
{{ end }}
|
||||
@@ -1,5 +1,10 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ .Content }}
|
||||
<h3>Projekt</h3>
|
||||
<p>Das letzte Projekt was aktualisiert wurde:
|
||||
{{ range first 1 (where .Site.RegularPages "Type" "in" "projects").ByDate.Reverse }}
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{ end }}
|
||||
</p>
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
@@ -1,7 +1,18 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta name="author" content="{{ .Site.Params.author }}">
|
||||
<meta name="description" content="{{ .Site.Params.description }}">
|
||||
<link rel="stylesheet" href="{{ "css/style.css"
|
||||
| relURL }}">
|
||||
<title>{{ .Site.Title }}</title>
|
||||
</head>
|
||||
</head>
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TT2JW5ZYFZ"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-TT2JW5ZYFZ');
|
||||
</script>
|
||||
@@ -1,6 +1,8 @@
|
||||
<nav>
|
||||
<a href="/">Home</a>
|
||||
<a href="/about">About</a>
|
||||
<a href="/projects">Projects</a>
|
||||
<a href="/presentations">Presentations</a>
|
||||
<a href="/resume">Résumé</a>
|
||||
<a href="/contact"></a>
|
||||
<a href="/contact">Contact</a>
|
||||
</nav>
|
||||
16
themes/basic/layouts/presentations/list.html
Normal file
16
themes/basic/layouts/presentations/list.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<h2>{{ .Title }}</h2>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
<section class="present">
|
||||
<p>Gallery</p>
|
||||
{{ range .Pages }}
|
||||
<a href="{{ .RelPermalink }}">
|
||||
<img alt="{{ .Title }}" style="width: 50px; height: 50px;">
|
||||
</a>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
{{ end }}
|
||||
12
themes/basic/layouts/presentations/single.html
Normal file
12
themes/basic/layouts/presentations/single.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{{ define "main" }}
|
||||
<div class="present-container">
|
||||
<section class="present-thumbs">
|
||||
<h4>Thumbs</h4>
|
||||
Minimum vialable product gallery
|
||||
</section>
|
||||
<section class="present">
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ .Content }}
|
||||
</section>
|
||||
</div>
|
||||
{{ end }}
|
||||
17
themes/basic/layouts/projects/single.html
Normal file
17
themes/basic/layouts/projects/single.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{{ define "main" }}
|
||||
<div class="project-container">
|
||||
<section class="project-list">
|
||||
<h4>What else</h4>
|
||||
<ul>
|
||||
{{ range (where .Site.RegularPages "Type" "in" "projects").ByDate.Reverse }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section class="project">
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ .Content }}
|
||||
</section>
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user