Initial page back up and running.

This commit is contained in:
Señor Rolando 2022-08-14 17:03:26 +02:00
parent 2ef7861b92
commit b4907becb1
18 changed files with 146 additions and 103 deletions

2
.gitignore vendored
View file

@ -18,3 +18,5 @@ Rakefile
.jekyll-metadata
Gemfile.lock
_deploy.yml
resources/*
public/*

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "themes/toha"]
path = themes/toha
url = https://github.com/hugo-toha/toha

View file

@ -1,50 +1,17 @@
Quelldateien der Homepage unter [rolandjesse.de](https://rolandjesse.de/). Basiert auf dem [Personal Jekyll Theme](https://github.com/le4ker/personal-jekyll-theme/).
# Homepage rolandjesse.de
# Seite bauen
## Setup
Jekyll und die erforderlichen Gems installieren:
```shell
bundle install
```console
git submodule add https://github.com/hugo-toha/toha themes/toha
```
Seite bauen und lokalen Server unter [localhost:4000](http://localhost:4000) starten:
`make`-Targets:
```shell
jekyll serve --livereload
```
* `make serve`: build locally and start development server
* `make deploy`: build and deploy (via `rsync`)
* `make clean`: remove the `public` folder that might have been created
Seite mittels rsync (via scp) auf den Server laden (erfordert _deploy.yml mit den Zugangsdaten):
## Related
```shell
jekyll build
octopress deploy
```
Run using Docker:
```
docker run --rm -it -p 4000:4000 -v "$PWD:/srv/jekyll" jekyll/jekyll jekyll serve --watch --host "0.0.0.0" --config _config.yml,_config.dev.yml
```
Run using Docker with Docker Compose:
```
docker-compose up
```
## OSS used in { Personal }
One of the reasons { Personal } is real is the following OSS projects:
1. [Grayscale](http://startbootstrap.com/template-overviews/grayscale/)
2. [hammer.js](https://hammerjs.github.io/)
3. [highlightjs](https://highlightjs.org/)
4. [RRSSB](https://github.com/kni-labs/rrssb)
5. [Timeline](https://github.com/kirbyt/timeline-jekyll-theme)
6. [typed.js](https://github.com/mattboldt/typed.js/)
<div style="font-size:16px;margin:0 auto;width:300px">
<a href="https://blockchain.info/address/1LHuKC9Em3KA5yoZaf7nngnNdf9K7s2gSi">
<img src="https://blockchain.info/Resources/buttons/donate_64.png"/>
</a>
</div>
Uses the [toha](https://github.com/hugo-toha/toha) theme.

View file

@ -1,13 +0,0 @@
{% if site.force-https and jekyll.environment == "production" %}
<!-- Force HTTPS Start -->
<script>
// Don't force http when serving the website locally
if (!(window.location.host.startsWith("127.0.0.1")) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
<!-- Force HTTPS End -->
{% endif %}

View file

@ -1,30 +0,0 @@
<!-- Index Layout Start -->
<!DOCTYPE html>
<html lang="{{ site.lang }}">
{% include head.html %}
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top" data-offset="151">
{% include navigation.html %}
{% include header.html %}
{% for p in site.pages_list %}
{% for page in site.pages %}
{% if p[1] == page.section-type %}
{% include {{ page.path }} %}
{% endif %}
{% endfor %}
{% endfor %}
{% include footer.html %}
{% include js.html %}
</body>
</html>
<!-- Index Layout End -->

6
archetypes/default.md Normal file
View file

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

View file

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 97 KiB

Before After
Before After

BIN
assets/images/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
assets/images/main-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Before After
Before After

View file

@ -1,3 +1,109 @@
baseURL = 'https://rolandjesse.de/'
languageCode = 'de-DE'
title = 'Roland Jesse'
author = 'Roland Jesse'
keywords = 'personal homepage'
theme = 'toha'
DefaultContentLanguage = 'de'
# Enable global emoji support
enableEmoji = true
# Allow raw html in markdown file
[markup.goldmark.renderer]
unsafe = true
[markup.tableOfContents]
startLevel = 2
endLevel = 6
ordered = false
# At least HTML and JSON are required for the main HTML content and
# client-side JavaScript search
[outputs]
home = [ "HTML", "RSS", "JSON" ]
# Site parameters
[params]
background = "/images/background.jpg"
# specify whether you want to show Table of Contents in reading page
enableTOC = false
# Show tags under the post title
enableTags = false
# Specify whether to show flag in the language selector. Default is true.
showFlags = false
# Provide logos for your site. The inverted logo will be used in the initial
# transparent navbar and the main logo will be used in the non-transparent navbar.
[params.logo]
main = "/images/main-logo.png"
inverted = "/images/inverted-logo.png"
favicon = "/images/favicon.png"
# Configure the number of section title visible in the top navbar
[params.topNavbar]
maxVisibleSections = 5
# Enable dark theme
[params.darkMode]
provider = "darkreader"
enable = true
default = "system"
# Configure various features of the toha theme
[params.features.portfolio]
enable = true
[params.features.blog]
enable = false
[params.features.blog.shareButtons]
facebook = false
twitter = false
linkedin = false
reddit = false
whatsapp = false
email = false
# Enable & configure "Notes" features
[params.features.notes]
enable = false
[params.features.comment]
enable = false
[params.features.analytics]
enabled = false
# Provide footer configuration.
[params.footer]
enable = false
# You can provide your custom footer template using this option.
# Put your template in "layouts/partials" folder of your repo.
template = "footer.html"
# Show/hide navigation in the footer. Default is "true".
[params.footer.navigation]
enable = true
customMenus = true
# Show/hide "Contact Me" section in the footer. Default is "true".
[params.footer.contactMe]
enable = true
# Show/hide credentials section in the footer. Default is "true".
[params.footer.credentials]
enable = false
# Show/hide newsletter section in the footer. Default is "true".
# Currently, it supports "mailchimp".
[params.footer.newsletter]
enable = false
# Show/hide disclaimer notice in the footer. Default is "false".
[params.footer.disclaimer]
enable = true

View file

@ -1,8 +0,0 @@
---
layout: null
section-type: contact
title: Kontact
---
## Kontakt
Am besten bin ich per E-Mail zu erreichen. Die anderen Kanäle sollten jedoch ebenfalls passabel funktionieren.

3
content/_index.md Executable file
View file

@ -0,0 +1,3 @@
---
title: Home
---

15
data/de/author.toml Normal file
View file

@ -0,0 +1,15 @@
name = 'Roland Jesse'
nickname = 'Roland'
greeting = 'Das ist'
image = 'images/roland.jpg'
summary = [
'Lieber produktiv prokrastinieren als gar nichts zu tun.',
'Redet schneller als er denken kann. Klingt zumindest manchmal so.',
'Introvertiert und redet trotzdem gern vor vielen Menschen.'
]
# give your some contact information. they will be used in the footer
[contactInfo]
email = 'kontakt@rolandjesse.de'
linkedin = 'rolandjesse'

View file

@ -1,9 +0,0 @@
---
layout: index
section-type: index
sitemap:
priority: 1.0
---
<!--
If you want to have a static message in your intro layout, disable the dynamic-typing in the _config.yml and write here your text
-->

1
themes/toha Submodule

@ -0,0 +1 @@
Subproject commit 55dd90a0dda051791e6238614337a42ed2192612