Compare commits
2 commits
fb46638371
...
ff6a6cdc4a
Author | SHA1 | Date | |
---|---|---|---|
ff6a6cdc4a | |||
234a030d40 |
6 changed files with 171 additions and 0 deletions
68
.gitignore
vendored
Normal file
68
.gitignore
vendored
Normal file
|
@ -0,0 +1,68 @@
|
|||
# lektor
|
||||
packages/
|
||||
|
||||
# ---> Vim
|
||||
# swap
|
||||
[._]*.s[a-v][a-z]
|
||||
[._]*.sw[a-p]
|
||||
[._]s[a-v][a-z]
|
||||
[._]sw[a-p]
|
||||
# session
|
||||
Session.vim
|
||||
# temporary
|
||||
.netrwhist
|
||||
*~
|
||||
# auto-generated tag files
|
||||
tags
|
||||
|
||||
# lektor
|
||||
.cache/
|
||||
.content/
|
||||
.models/
|
||||
.flowblocks/
|
||||
temp/
|
||||
packages/
|
||||
|
||||
# ---> Windows
|
||||
# Windows thumbnail cache files
|
||||
Thumbs.db
|
||||
ehthumbs.db
|
||||
ehthumbs_vista.db
|
||||
|
||||
# Folder config file
|
||||
Desktop.ini
|
||||
|
||||
# Recycle Bin used on file shares
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# Windows Installer files
|
||||
*.cab
|
||||
*.msi
|
||||
*.msm
|
||||
*.msp
|
||||
|
||||
# Windows shortcuts
|
||||
*.lnk
|
||||
|
||||
# DS-Store
|
||||
**.DS_Store
|
||||
*.DS_Store
|
||||
|
||||
# C3WOC Website files
|
||||
assets/css/main.css
|
||||
assets/css/main.min.css
|
||||
assets/css/ie9.css
|
||||
assets/css/ie9.min.css
|
||||
.sass-cache/
|
||||
assets/css/main.css.map
|
||||
assets/css/ie9.css.map
|
||||
assets/css/main.min.css.map
|
||||
assets/css/ie9.min.css.map
|
||||
tmp/
|
||||
libsass/
|
||||
sass-spec/
|
||||
sassc/
|
||||
# validator
|
||||
./rezept.json
|
||||
./rezept.yaml
|
||||
./schema.json
|
11
models/page.ini
Normal file
11
models/page.ini
Normal file
|
@ -0,0 +1,11 @@
|
|||
[model]
|
||||
name = Page
|
||||
label = {{ this.title }}
|
||||
|
||||
[fields.title]
|
||||
label = Title
|
||||
type = string
|
||||
|
||||
[fields.body]
|
||||
label = Body
|
||||
type = markdown
|
52
templates/layout.html
Normal file
52
templates/layout.html
Normal file
|
@ -0,0 +1,52 @@
|
|||
<!doctype html>
|
||||
{%- macro titlestring() -%}
|
||||
{% block title %}Welcome{% endblock %} — winkekatze.tv
|
||||
{%- endmacro -%}
|
||||
{%- macro descriptionstring() -%}
|
||||
{% block description %}Winkekatze Video Operation Center{% endblock %} — winkekatze.tv
|
||||
{%- endmacro -%}
|
||||
<html lang="{{ this.alt }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="{{ '/static/style.css'|url }}">
|
||||
<title>{{- titlestring() -}}</title>
|
||||
|
||||
<meta name="generator" content="lektor" />
|
||||
<meta name="description" content="{{- descriptionstring() -}}">
|
||||
<meta name="author" content="L3D">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml">
|
||||
<meta property="og:url" content="{{ this | url(external=true) }}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="{{- titlestring() -}}">
|
||||
<meta property="og:description" content="{{- descriptionstring() -}}">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>winkekatze.tv</h1>
|
||||
<nav>
|
||||
<ul class="nav navbar-nav">
|
||||
<li
|
||||
{%- if this._path == '/' %} class="active"{%- endif -%}>
|
||||
<a href="{{ '/'|url }}">Welcome</a>
|
||||
</li>
|
||||
{%- for href, title in [
|
||||
['/projects', 'Projects'],
|
||||
['/about', 'About']
|
||||
] %}
|
||||
<li
|
||||
{%- if this.is_child_of(href) %} class="active"{%- endif -%}>
|
||||
<a href="{{ href|url }}">{{ title }}</a>
|
||||
</li>
|
||||
{%- endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="page">
|
||||
{%- block body -%}
|
||||
{%- endblock -%}
|
||||
</div>
|
||||
<footer>
|
||||
© Copyright 2022 by L3D under <a href="https://backwesen.de/voc/winkekatze.tv/src/branch/main/LICENCE">MIT License</a> | <a href="https://backwesen.de/voc/winkekatze.tv.git">Source Code</a>
|
||||
</footer>
|
||||
</body>
|
15
templates/macros/pagination.html
Normal file
15
templates/macros/pagination.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{% macro render_pagination(pagination) %}
|
||||
<div class="pagination">
|
||||
{% if pagination.has_prev %}
|
||||
<a href="{{ pagination.prev|url }}">« Previous</a>
|
||||
{% else %}
|
||||
<span class="disabled">« Previous</span>
|
||||
{% endif %}
|
||||
| {{ pagination.page }} |
|
||||
{% if pagination.has_next %}
|
||||
<a href="{{ pagination.next|url }}">Next »</a>
|
||||
{% else %}
|
||||
<span class="disabled">Next »</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endmacro %}
|
6
templates/page.html
Normal file
6
templates/page.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% extends "layout.html" %}
|
||||
{% block title %}{{ this.title }}{% endblock %}
|
||||
{% block body %}
|
||||
<h2>{{ this.title }}</h2>
|
||||
{{ this.body }}
|
||||
{% endblock %}
|
19
winkekatze.tv.lektorproject
Normal file
19
winkekatze.tv.lektorproject
Normal file
|
@ -0,0 +1,19 @@
|
|||
[project]
|
||||
name = winkekatze.tv
|
||||
url = https://winkekatze.tv/
|
||||
url_style = absolute
|
||||
excluded_assets = *.scss
|
||||
upscale = false
|
||||
output_path = temp/builds/winkekatze.tv/
|
||||
|
||||
[alternatives.de]
|
||||
name = Deutsch
|
||||
primary = yes
|
||||
locale = de_DE
|
||||
|
||||
[alternatives.en]
|
||||
name = Englisch
|
||||
locale = en_US
|
||||
url_prefix = /en/
|
||||
|
||||
|
Loading…
Reference in a new issue