top img in website
@ -2,6 +2,14 @@
|
|||||||
Markdown:
|
Markdown:
|
||||||
ChromaRenderer: False
|
ChromaRenderer: False
|
||||||
|
|
||||||
|
Data:
|
||||||
|
background: /img/coffee.jpg
|
||||||
|
|
||||||
|
slider:
|
||||||
|
- img: /img/coffee.jpg
|
||||||
|
alt:
|
||||||
|
opacity: 1
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# mark2web
|
# mark2web
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
---
|
||||||
|
Data:
|
||||||
|
background: /img/laptop.jpg
|
||||||
|
|
||||||
|
slider:
|
||||||
|
- img: /img/laptop.jpg
|
||||||
|
alt:
|
||||||
|
opacity: 1
|
||||||
|
|
||||||
|
---
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
Damit die korrekten Versionsinformationen dynamisch in das finale mark2web-Binary eingefügt wurde, ist eine manuelle Installation aus dem Git-Repository sinnvoll.
|
Damit die korrekten Versionsinformationen dynamisch in das finale mark2web-Binary eingefügt wurde, ist eine manuelle Installation aus dem Git-Repository sinnvoll.
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
---
|
||||||
|
Data:
|
||||||
|
|
||||||
|
slider:
|
||||||
|
- img: /img/folder.jpg
|
||||||
|
alt:
|
||||||
|
opacity: 1
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
# Benutzung
|
# Benutzung
|
||||||
|
|
||||||
## Ordnerstruktur
|
## Ordnerstruktur
|
||||||
@ -38,6 +48,8 @@ DIR assets (kann auch abweichend benannt werden)
|
|||||||
DIR css
|
DIR css
|
||||||
|
|
||||||
DIR templates
|
DIR templates
|
||||||
|
DIR filters
|
||||||
|
FILE myfilter.js
|
||||||
FIL base.html
|
FIL base.html
|
||||||
FIL base_sub.html
|
FIL base_sub.html
|
||||||
|
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
---
|
||||||
|
Data:
|
||||||
|
|
||||||
|
slider:
|
||||||
|
- img: /img/wire.jpg
|
||||||
|
alt:
|
||||||
|
opacity: 1
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
# Konfiguration
|
# Konfiguration
|
||||||
|
|
||||||
Die Konfigurationsdatein sind im YAML-Format gehalten (siehe: [Wikipedia](https://de.wikipedia.org/wiki/YAML)).
|
Die Konfigurationsdatein sind im YAML-Format gehalten (siehe: [Wikipedia](https://de.wikipedia.org/wiki/YAML)).
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
---
|
||||||
|
Data:
|
||||||
|
|
||||||
|
slider:
|
||||||
|
- img: /img/write.jpg
|
||||||
|
alt:
|
||||||
|
opacity: 1
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
# Inhalte
|
# Inhalte
|
||||||
|
|
||||||
Die Inhalte der Website werden im Ordner `content` und dessen Unterordnern gespeichert.
|
Die Inhalte der Website werden im Ordner `content` und dessen Unterordnern gespeichert.
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
---
|
||||||
|
Data:
|
||||||
|
|
||||||
|
slider:
|
||||||
|
- img: /img/design.jpg
|
||||||
|
alt:
|
||||||
|
opacity: 1
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
# Templates
|
# Templates
|
||||||
|
|
||||||
Templates werden über das pongo2-Paket gerendert. Dieses nutzt die Template-Sprache **Django-Template**.
|
Templates werden über das pongo2-Paket gerendert. Dieses nutzt die Template-Sprache **Django-Template**.
|
||||||
|
@ -1,2 +1,9 @@
|
|||||||
This:
|
This:
|
||||||
GoTo: ordnerstruktur
|
GoTo: ordnerstruktur
|
||||||
|
|
||||||
|
Data:
|
||||||
|
|
||||||
|
slider:
|
||||||
|
- img: /img/gears.jpg
|
||||||
|
alt:
|
||||||
|
opacity: 1
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
---
|
---
|
||||||
Template: base_blog.html
|
Template: base_blog.html
|
||||||
|
|
||||||
|
Data:
|
||||||
|
background: /img/blog.jpg
|
||||||
|
|
||||||
|
slider:
|
||||||
|
- img: /img/blog.jpg
|
||||||
|
alt:
|
||||||
|
opacity: 1
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# Blog
|
# Blog
|
BIN
website/img/blog.jpg
Normal file
After Width: | Height: | Size: 714 KiB |
BIN
website/img/coffee.jpg
Normal file
After Width: | Height: | Size: 453 KiB |
BIN
website/img/design.jpg
Normal file
After Width: | Height: | Size: 436 KiB |
BIN
website/img/desk.jpg
Normal file
After Width: | Height: | Size: 644 KiB |
BIN
website/img/folder.jpg
Normal file
After Width: | Height: | Size: 524 KiB |
BIN
website/img/gears.jpg
Normal file
After Width: | Height: | Size: 881 KiB |
BIN
website/img/html.jpg
Normal file
After Width: | Height: | Size: 520 KiB |
BIN
website/img/keyboard.jpg
Normal file
After Width: | Height: | Size: 595 KiB |
BIN
website/img/laptop.jpg
Normal file
After Width: | Height: | Size: 691 KiB |
BIN
website/img/laptop2.jpg
Normal file
After Width: | Height: | Size: 389 KiB |
BIN
website/img/wire.jpg
Normal file
After Width: | Height: | Size: 171 KiB |
BIN
website/img/write.jpg
Normal file
After Width: | Height: | Size: 715 KiB |
@ -154,7 +154,7 @@ label {font-weight:600;}
|
|||||||
# Header
|
# Header
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
#header {height:80px;}
|
#header {height:80px;}
|
||||||
#header .logo {height:70%; max-width:500px;}
|
#header .logo {height:70%; max-width:400px;}
|
||||||
#header .logo img {height:100%;}
|
#header .logo img {height:100%;}
|
||||||
|
|
||||||
#header .container {
|
#header .container {
|
||||||
@ -175,6 +175,7 @@ label {font-weight:600;}
|
|||||||
z-index:300;
|
z-index:300;
|
||||||
background:none;
|
background:none;
|
||||||
}
|
}
|
||||||
|
#header .logo {height:70%; max-width:100px;}
|
||||||
#header .logo img {height:auto; width:100%;}
|
#header .logo img {height:auto; width:100%;}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 22 KiB |
BIN
website/project-files/img/logo_text.png
Normal file
After Width: | Height: | Size: 14 KiB |
@ -29,7 +29,14 @@
|
|||||||
|
|
||||||
<header id="header">
|
<header id="header">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="logo"><a href="{{ "/"|relative_path }}"><img src="project-files/img/logo.png" alt=""></a></div>
|
<div class="logo" {% if not Data.slider %}style="max-width: 400px;"{% endif %}>
|
||||||
|
<a href="{{ "/"|relative_path }}">
|
||||||
|
<picture>
|
||||||
|
<source media="(max-width: 768px)" srcset="project-files/img/logo_text.png">
|
||||||
|
<img src="project-files/img/logo{% if not Data.slider %}_text{% endif %}.png" alt="mark2web Logo">
|
||||||
|
</picture>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<a id="pull">
|
<a id="pull">
|
||||||
<span class="pull_button">
|
<span class="pull_button">
|
||||||
<span></span>
|
<span></span>
|
||||||
@ -43,6 +50,16 @@
|
|||||||
|
|
||||||
<!-- ========== Slider ========== -->
|
<!-- ========== Slider ========== -->
|
||||||
<section class="slider white_arrows" data-dots="true" data-arrows="true">
|
<section class="slider white_arrows" data-dots="true" data-arrows="true">
|
||||||
|
{% for sl in Data.slider %}
|
||||||
|
<div class="slide">
|
||||||
|
<img
|
||||||
|
src="{{ sl.img|image_process:"p=fill,w=1440,h=600,q=60" }}"
|
||||||
|
srcset="{{ sl.img|image_process:"p=fill,w=768,h=384,q=60" }} 768w,
|
||||||
|
{{ sl.img|image_process:"p=fill,w=1440,h=600,q=60" }} 1440w,
|
||||||
|
{{ sl.img|image_process:"p=fill,w=1920,h=800,q=60" }} 1920w"
|
||||||
|
alt="{{ sl.alt }}" style="opacity:{{ sl.opacity|default:1 }}">
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- ========== Navigation ========== -->
|
<!-- ========== Navigation ========== -->
|
||||||
@ -80,6 +97,9 @@
|
|||||||
|
|
||||||
<!-- ========== Main Content ========== -->
|
<!-- ========== Main Content ========== -->
|
||||||
<div class="maincontent">
|
<div class="maincontent">
|
||||||
|
{% if Data.background %}
|
||||||
|
<img src="{{ Data.background|relative_path }}" alt="{{ Meta.Title }}" class="img2bg">
|
||||||
|
{% endif %}
|
||||||
<div class="white_section section_padding">
|
<div class="white_section section_padding">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
{% block part1 %}
|
{% block part1 %}
|
||||||
|