Add new branch (portfolio) - Hogan_pragmatic-bookshelf
This commit is contained in:
0
.hugo_build.lock
Normal file
0
.hugo_build.lock
Normal file
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: false
|
||||
---
|
||||
|
||||
4
config.toml
Normal file
4
config.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
baseURL = 'http://example.org/'
|
||||
languageCode = 'en-US'
|
||||
title = 'Fransz Portfolio'
|
||||
theme = 'Basic'
|
||||
12
content/_index.md
Normal file
12
content/_index.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: "Welcome"
|
||||
date: 2025-11-01T21:52:55+01:00
|
||||
description: "Landing page"
|
||||
---
|
||||
* Persönliche Vorstellung
|
||||
* Andere Websites
|
||||
* Mein Lebenslauf
|
||||
|
||||
Das soll irgendwann mal eine ordentliche Portfolio Seite werden.
|
||||
|
||||
Anfangs wird es hier Folgendes zu finden sein:
|
||||
7
content/about.md
Normal file
7
content/about.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
title: "About"
|
||||
date: 2025-11-02T21:34:47+01:00
|
||||
draft: false
|
||||
---
|
||||
|
||||
Hi. My name is Fransz, with a sharp ß.
|
||||
7
content/contact.md
Normal file
7
content/contact.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
title: "Contact"
|
||||
date: 2025-11-02T21:52:55+01:00
|
||||
draft: false
|
||||
---
|
||||
|
||||
* Dino
|
||||
7
content/resume.md
Normal file
7
content/resume.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
title: "Résumé"
|
||||
date: 2025-11-02T21:49:23+01:00
|
||||
draft: false
|
||||
---
|
||||
|
||||
curuculum vitae
|
||||
20
themes/basic/LICENSE
Normal file
20
themes/basic/LICENSE
Normal file
@@ -0,0 +1,20 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2025 YOUR_NAME_HERE
|
||||
|
||||
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.
|
||||
2
themes/basic/archetypes/default.md
Normal file
2
themes/basic/archetypes/default.md
Normal file
@@ -0,0 +1,2 @@
|
||||
+++
|
||||
+++
|
||||
0
themes/basic/layouts/404.html
Normal file
0
themes/basic/layouts/404.html
Normal file
14
themes/basic/layouts/_default/baseof.html
Normal file
14
themes/basic/layouts/_default/baseof.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
<div class="container">
|
||||
{{- partial "header.html" . -}}
|
||||
{{- partial "nav.html" . -}}
|
||||
<main>
|
||||
{{- block "main" . }}{{- end }}
|
||||
</main>
|
||||
{{- partial "footer.html" . -}}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
0
themes/basic/layouts/_default/list.html
Normal file
0
themes/basic/layouts/_default/list.html
Normal file
7
themes/basic/layouts/_default/single.html
Normal file
7
themes/basic/layouts/_default/single.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<h2>{{ .Title }}</h2>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ end }}
|
||||
5
themes/basic/layouts/index.html
Normal file
5
themes/basic/layouts/index.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ end }}
|
||||
3
themes/basic/layouts/partials/footer.html
Normal file
3
themes/basic/layouts/partials/footer.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<footer>
|
||||
<small>Copyright {{now.Format "2006"}} Me.</small>
|
||||
</footer>
|
||||
7
themes/basic/layouts/partials/head.html
Normal file
7
themes/basic/layouts/partials/head.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<link rel="stylesheet" href="{{ "css/style.css"
|
||||
| relURL }}">
|
||||
<title>{{ .Site.Title }}</title>
|
||||
</head>
|
||||
3
themes/basic/layouts/partials/header.html
Normal file
3
themes/basic/layouts/partials/header.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<header>
|
||||
<h1>{{ .Site.Title }}</h1>
|
||||
</header>
|
||||
6
themes/basic/layouts/partials/nav.html
Normal file
6
themes/basic/layouts/partials/nav.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<nav>
|
||||
<a href="/">Home</a>
|
||||
<a href="/about">About</a>
|
||||
<a href="/resume">Résumé</a>
|
||||
<a href="/contact"></a>
|
||||
</nav>
|
||||
24
themes/basic/static/css/style.css
Normal file
24
themes/basic/static/css/style.css
Normal file
@@ -0,0 +1,24 @@
|
||||
.container {
|
||||
margin: 0 auto;
|
||||
width: 80%;
|
||||
}
|
||||
nav, footer {
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
nav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
nav > a {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
nav { flex-direction: row; }
|
||||
}
|
||||
21
themes/basic/theme.toml
Normal file
21
themes/basic/theme.toml
Normal file
@@ -0,0 +1,21 @@
|
||||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||
|
||||
name = "Basic"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
|
||||
description = ""
|
||||
homepage = "http://example.com/"
|
||||
tags = []
|
||||
features = []
|
||||
min_version = "0.41.0"
|
||||
|
||||
[author]
|
||||
name = ""
|
||||
homepage = ""
|
||||
|
||||
# If porting an existing theme
|
||||
[original]
|
||||
name = ""
|
||||
homepage = ""
|
||||
repo = ""
|
||||
Reference in New Issue
Block a user