Erster Entwurf
8
Skeptiker-Nord.sublime-project
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"folders":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"path": "."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
1212
Skeptiker-Nord.sublime-workspace
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
275
config.toml
Normal file
|
@ -0,0 +1,275 @@
|
||||||
|
|
||||||
|
# The directory where Hugo finds archetype files (content templates).
|
||||||
|
#archetypeDir = “archetypes”
|
||||||
|
|
||||||
|
# Hostname (and path) to the root, e.g. http://bep.is/
|
||||||
|
#baseURL = "http://example.org/"
|
||||||
|
baseURL = "https://entwurf.skeptiker-nord.de"
|
||||||
|
|
||||||
|
# See Configure Blackfriday (https://gohugo.io/getting-started/configuration/#configure-blackfriday)
|
||||||
|
#blackfriday
|
||||||
|
|
||||||
|
# Include drafts when building.
|
||||||
|
#buildDrafts = false
|
||||||
|
|
||||||
|
# Include content already expired.
|
||||||
|
#buildExpired = false
|
||||||
|
|
||||||
|
# Include content with publishdate in the future.
|
||||||
|
#buildFuture = false
|
||||||
|
|
||||||
|
# Enable to turn relative URLs into absolute.
|
||||||
|
#canonifyURLs = false
|
||||||
|
|
||||||
|
# The directory from where Hugo reads content files.
|
||||||
|
#contentDir = “content”
|
||||||
|
|
||||||
|
# The directory from where Hugo reads data files.
|
||||||
|
#dataDir = “data”
|
||||||
|
|
||||||
|
# Content without language indicator will default to this language.
|
||||||
|
defaultContentLanguage = "de"
|
||||||
|
|
||||||
|
# Render the default content language in subdir, e.g. content/en/.
|
||||||
|
# The site root / will then redirect to /en/.
|
||||||
|
#defaultContentLanguageInSubdir = false
|
||||||
|
|
||||||
|
# Hugo will, by default, inject a generator meta tag in the HTML head on the home page only.
|
||||||
|
# You can turn it off, but we would really appreciate if you don’t,
|
||||||
|
# as this is a good way to watch Hugo’s popularity on the rise.
|
||||||
|
#disableHugoGeneratorInject = false
|
||||||
|
|
||||||
|
# Enable disabling of all pages of the specified Kinds.
|
||||||
|
# Allowed values in this list: "page", "home", "section", "taxonomy",
|
||||||
|
# "taxonomyTerm", "RSS", "sitemap", "robotsTXT", "404".
|
||||||
|
#disableKinds = []
|
||||||
|
|
||||||
|
# Disable automatic live reloading of browser window.
|
||||||
|
#disableLiveReload = false
|
||||||
|
|
||||||
|
# Do not convert the url/path to lowercase.
|
||||||
|
#disablePathToLower = false
|
||||||
|
|
||||||
|
# Enable Emoji emoticons support for page content; see the Emoji Cheat Sheet.
|
||||||
|
#enableEmoji = false
|
||||||
|
|
||||||
|
# Enable .GitInfo object for each page (if the Hugo site is versioned by Git).
|
||||||
|
# This will then update the Lastmod parameter for each page using the last git commit date for that content file.
|
||||||
|
#enableGitInfo = false
|
||||||
|
|
||||||
|
# Show a placeholder instead of the default value or an empty string if a translation is missing.
|
||||||
|
#enableMissingTranslationPlaceholders = false
|
||||||
|
|
||||||
|
# Enable generation of robots.txt file.
|
||||||
|
#enableRobotsTXT = false
|
||||||
|
|
||||||
|
# See Front matter Configuration.
|
||||||
|
#frontmatter
|
||||||
|
|
||||||
|
# Prefix for footnote anchors.
|
||||||
|
#footnoteAnchorPrefix = “”
|
||||||
|
|
||||||
|
# Text to display for footnote return links.
|
||||||
|
#footnoteReturnLinkContents = “”
|
||||||
|
|
||||||
|
# Google Analytics tracking ID.
|
||||||
|
#googleAnalytics = “”
|
||||||
|
|
||||||
|
# If true, auto-detect Chinese/Japanese/Korean Languages in the content.
|
||||||
|
# This will make .Summary and .WordCount behave correctly for CJK languages.
|
||||||
|
#hasCJKLanguage = false
|
||||||
|
|
||||||
|
# See Image Processing Config.
|
||||||
|
#imaging
|
||||||
|
|
||||||
|
# See Configure Languages.
|
||||||
|
#languages
|
||||||
|
|
||||||
|
# The site’s language code.
|
||||||
|
#languageCode = “”
|
||||||
|
languageCode = "de-de"
|
||||||
|
|
||||||
|
# See Disable a Language
|
||||||
|
# disableLanguages
|
||||||
|
|
||||||
|
# The directory from where Hugo reads layouts (templates).
|
||||||
|
#layoutDir = “layouts”
|
||||||
|
|
||||||
|
# Enable logging.
|
||||||
|
#log = false
|
||||||
|
|
||||||
|
# Log File path (if set, logging enabled automatically).
|
||||||
|
#logFile = “”
|
||||||
|
|
||||||
|
# See Add Non-content Entries to a Menu.
|
||||||
|
#menu
|
||||||
|
|
||||||
|
# Front matter meta-data format. Valid values: "toml", "yaml", or "json".
|
||||||
|
#metaDataFormat = “toml”
|
||||||
|
|
||||||
|
# The editor to use when creating new content.
|
||||||
|
#newContentEditor = “”
|
||||||
|
|
||||||
|
# Don’t sync permission mode of files.
|
||||||
|
#noChmod = false
|
||||||
|
|
||||||
|
# Don’t sync modification time of files.
|
||||||
|
#noTimes = false
|
||||||
|
|
||||||
|
# Default number of pages per page in pagination.
|
||||||
|
#paginate = 10
|
||||||
|
|
||||||
|
# The path element used during pagination (https://example.com/page/2).
|
||||||
|
#paginatePath = “page”
|
||||||
|
|
||||||
|
# See Content Management.
|
||||||
|
#permalinks
|
||||||
|
|
||||||
|
# Pluralize titles in lists.
|
||||||
|
#pluralizeListTitles = true
|
||||||
|
|
||||||
|
# Preserve special characters in taxonomy names (“Gérard Depardieu” vs “Gerard Depardieu”).
|
||||||
|
#preserveTaxonomyNames = false
|
||||||
|
|
||||||
|
# The directory to where Hugo will write the final static site (the HTML files etc.).
|
||||||
|
#publishDir = “public”
|
||||||
|
|
||||||
|
# Enable syntax guessing for code fences without specified language.
|
||||||
|
#pygmentsCodeFencesGuessSyntax = false
|
||||||
|
|
||||||
|
# Color-theme or style for syntax highlighting. See Pygments Color Themes.
|
||||||
|
#pygmentsStyle = “monokai”
|
||||||
|
|
||||||
|
# Enable using external CSS for syntax highlighting.
|
||||||
|
#pygmentsUseClasses = false
|
||||||
|
|
||||||
|
# See Related Content.
|
||||||
|
#related
|
||||||
|
|
||||||
|
# Enable this to make all relative URLs relative to content root. Note that this does not affect absolute URLs.
|
||||||
|
#relativeURLs = false
|
||||||
|
|
||||||
|
# Maximum number of items in the RSS feed.
|
||||||
|
#rssLimit = unlimited
|
||||||
|
|
||||||
|
# See “Section Menu for Lazy Bloggers”.
|
||||||
|
#sectionPagesMenu = “”
|
||||||
|
|
||||||
|
# Default sitemap configuration.
|
||||||
|
#sitemap
|
||||||
|
|
||||||
|
# Relative directory from where Hugo reads static files.
|
||||||
|
#staticDir = “static”
|
||||||
|
|
||||||
|
# Display memory and timing of different steps of the program.
|
||||||
|
#stepAnalysis = false
|
||||||
|
|
||||||
|
# The length of text to show in a .Summary.
|
||||||
|
#summaryLength = 70
|
||||||
|
|
||||||
|
# See Configure Taxonomies.
|
||||||
|
#taxonomies
|
||||||
|
|
||||||
|
# Theme to use (located by default in /themes/THEMENAME/).
|
||||||
|
#theme = “”
|
||||||
|
theme = "mainroad"
|
||||||
|
|
||||||
|
# The directory where Hugo reads the themes from.
|
||||||
|
#themesDir = “themes”
|
||||||
|
|
||||||
|
# Timeout for generating page contents, in milliseconds (defaults to 10 seconds). Note: this is used to bail out of recursive content generation, if your pages are slow to generate (e.g., because they require large image processing or depend on remote contents) you might need to raise this limit.
|
||||||
|
#timeout = 10000
|
||||||
|
|
||||||
|
# Site title.
|
||||||
|
#title = “”
|
||||||
|
title = "Skeptiker Nord"
|
||||||
|
|
||||||
|
# When enabled, creates URL of the form /filename.html instead of /filename/.
|
||||||
|
#uglyURLs = false
|
||||||
|
|
||||||
|
# Enable verbose output.
|
||||||
|
#verbose = false
|
||||||
|
|
||||||
|
# Enable verbose logging.
|
||||||
|
#verboseLog = false
|
||||||
|
|
||||||
|
# Watch filesystem for changes and recreate as needed.
|
||||||
|
#watch = false
|
||||||
|
|
||||||
|
# Privacy settings
|
||||||
|
[privacy]
|
||||||
|
[privacy.disqus]
|
||||||
|
disable = true
|
||||||
|
[privacy.googleAnalytics]
|
||||||
|
disable = true
|
||||||
|
anonymizeIP = false
|
||||||
|
respectDoNotTrack = false
|
||||||
|
useSessionStorage = false
|
||||||
|
[privacy.instagram]
|
||||||
|
disable = false
|
||||||
|
simple = false
|
||||||
|
[privacy.twitter]
|
||||||
|
disable = false
|
||||||
|
enableDNT = true
|
||||||
|
simple = false
|
||||||
|
[privacy.vimeo]
|
||||||
|
disable = true
|
||||||
|
simple = false
|
||||||
|
[privacy.youtube]
|
||||||
|
disable = false
|
||||||
|
privacyEnhanced = true
|
||||||
|
|
||||||
|
# Parameters for the Theme
|
||||||
|
[Params]
|
||||||
|
# Subtitle of your site
|
||||||
|
subtitle = "GWUP Regionalgruppe"
|
||||||
|
# Description of your site
|
||||||
|
description = "Skeptiker Nord - GWUP Regionalgruppe"
|
||||||
|
opengraph = false
|
||||||
|
twitter_cards = false
|
||||||
|
# Show "Read more" button in list if true
|
||||||
|
readmore = true
|
||||||
|
# Move sidebar to the left side if true
|
||||||
|
leftsidebar = false
|
||||||
|
authorbox = false
|
||||||
|
post_navigation = true
|
||||||
|
postSections = ["post"]
|
||||||
|
|
||||||
|
# Sidebar Widgets
|
||||||
|
[Params.widgets]
|
||||||
|
# Enable "Events" widget
|
||||||
|
events = true
|
||||||
|
# Enable "Search" widget
|
||||||
|
search = false
|
||||||
|
# Enable "Recent arcticles" widget
|
||||||
|
recent_articles = true
|
||||||
|
# Enable "Categories" widget
|
||||||
|
categories = true
|
||||||
|
# Enable "Tags" widget
|
||||||
|
tags = true
|
||||||
|
# Enable counter for each tag in "Tags" widget (disabled by default)
|
||||||
|
tags_counter = true
|
||||||
|
# Enable "Social" widget, if any of "social_*" set a value
|
||||||
|
social_facebook = "SkeptikerNord"
|
||||||
|
social_twitter = "SkeptikerNord"
|
||||||
|
|
||||||
|
# Menu Entries
|
||||||
|
[[menu.main]]
|
||||||
|
name = "News"
|
||||||
|
url = "/"
|
||||||
|
weight = 1
|
||||||
|
|
||||||
|
[[menu.main]]
|
||||||
|
name = "Über uns"
|
||||||
|
url = "/about"
|
||||||
|
weight = 50
|
||||||
|
|
||||||
|
# [[menu.main]]
|
||||||
|
# name = "Impressum"
|
||||||
|
# url = "/impressum"
|
||||||
|
# weight = 98
|
||||||
|
|
||||||
|
# [[menu.main]]
|
||||||
|
# name = "Datenschutz"
|
||||||
|
# url = "/datenschutz"
|
||||||
|
# weight = 99
|
375
content/Datenschutz/_index.md
Normal file
|
@ -0,0 +1,375 @@
|
||||||
|
---
|
||||||
|
title: "Datenschutzerklärung"
|
||||||
|
---
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Diese Datenschutzerklärung klärt Sie über die Art, den Umfang und Zweck
|
||||||
|
der Verarbeitung von personenbezogenen Daten (nachfolgend kurz „Daten“)
|
||||||
|
innerhalb unseres Onlineangebotes und der mit ihm verbundenen Webseiten,
|
||||||
|
Funktionen und Inhalte sowie externen Onlinepräsenzen,
|
||||||
|
wie z.B. unser Social Media Profile auf (nachfolgend gemeinsam bezeichnet
|
||||||
|
als „Onlineangebot“). Im Hinblick auf die verwendeten Begrifflichkeiten,
|
||||||
|
wie z.B. „Verarbeitung“ oder „Verantwortlicher“ verweisen wir auf die
|
||||||
|
Definitionen im Art. 4 der Datenschutzgrundverordnung (DSGVO).<br>
|
||||||
|
<br>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-controller">Verantwortlicher</h3>
|
||||||
|
<p>
|
||||||
|
<span class="tsmcontroller">
|
||||||
|
Nis Wechselberg<br>
|
||||||
|
c/o GWUP e.V. (Gesellschaft zur wissenschaftlichen Untersuchung von Parawissenschaften e. V.)<br>
|
||||||
|
Arheilger Weg 11<br>
|
||||||
|
64380 Roßdorf<br>
|
||||||
|
<br>
|
||||||
|
E-Mail: nis.wechselberg@skeptiker-nord.de
|
||||||
|
</span>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-datatype">Arten der verarbeiteten Daten:</h3>
|
||||||
|
<p>
|
||||||
|
- Bestandsdaten (z.B., Namen, Adressen).<br>
|
||||||
|
- Kontaktdaten (z.B., E-Mail, Telefonnummern).<br>
|
||||||
|
- Inhaltsdaten (z.B., Texteingaben, Fotografien, Videos).<br>
|
||||||
|
<!-- - Nutzungsdaten (z.B., besuchte Webseiten, Interesse an Inhalten, Zugriffszeiten).<br>-->
|
||||||
|
- Meta-/Kommunikationsdaten (z.B., Geräte-Informationen, IP-Adressen).<br>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-datasubjects">Kategorien betroffener Personen</h3>
|
||||||
|
<p>
|
||||||
|
Besucher und Nutzer des Onlineangebotes (Nachfolgend bezeichnen wir die betroffenen Personen zusammenfassend auch als „Nutzer“).<br>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-purpose">Zweck der Verarbeitung</h3>
|
||||||
|
<p>
|
||||||
|
- Zurverfügungstellung des Onlineangebotes, seiner Funktionen und Inhalte.<br>
|
||||||
|
- Beantwortung von Kontaktanfragen und Kommunikation mit Nutzern.<br>
|
||||||
|
<!-- - Sicherheitsmaßnahmen.<br>
|
||||||
|
- Reichweitenmessung/Marketing<br>-->
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-terms">Verwendete Begrifflichkeiten </h3>
|
||||||
|
<p>
|
||||||
|
„Personenbezogene Daten“ sind alle Informationen, die sich auf eine identifizierte
|
||||||
|
oder identifizierbare natürliche Person (im Folgenden „betroffene Person“) beziehen;
|
||||||
|
als identifizierbar wird eine natürliche Person angesehen, die direkt oder indirekt,
|
||||||
|
insbesondere mittels Zuordnung zu einer Kennung wie einem Namen, zu einer Kennnummer,
|
||||||
|
zu Standortdaten, zu einer Online-Kennung (z.B. Cookie) oder zu einem oder mehreren
|
||||||
|
besonderen Merkmalen identifiziert werden kann, die Ausdruck der physischen,
|
||||||
|
physiologischen, genetischen, psychischen, wirtschaftlichen, kulturellen oder sozialen
|
||||||
|
Identität dieser natürlichen Person sind.<br>
|
||||||
|
<br>
|
||||||
|
„Verarbeitung“ ist jeder mit oder ohne Hilfe automatisierter Verfahren ausgeführte Vorgang
|
||||||
|
oder jede solche Vorgangsreihe im Zusammenhang mit personenbezogenen Daten.
|
||||||
|
Der Begriff reicht weit und umfasst praktisch jeden Umgang mit Daten.<br>
|
||||||
|
<br>
|
||||||
|
„Pseudonymisierung“ die Verarbeitung personenbezogener Daten in einer Weise,
|
||||||
|
dass die personenbezogenen Daten ohne Hinzuziehung zusätzlicher Informationen nicht mehr
|
||||||
|
einer spezifischen betroffenen Person zugeordnet werden können, sofern diese zusätzlichen
|
||||||
|
Informationen gesondert aufbewahrt werden und technischen und organisatorischen Maßnahmen
|
||||||
|
unterliegen, die gewährleisten, dass die personenbezogenen Daten nicht einer
|
||||||
|
identifizierten oder identifizierbaren natürlichen Person zugewiesen werden.<br>
|
||||||
|
<br>
|
||||||
|
„Profiling“ jede Art der automatisierten Verarbeitung personenbezogener Daten,
|
||||||
|
die darin besteht, dass diese personenbezogenen Daten verwendet werden,
|
||||||
|
um bestimmte persönliche Aspekte, die sich auf eine natürliche Person beziehen,
|
||||||
|
zu bewerten, insbesondere um Aspekte bezüglich Arbeitsleistung, wirtschaftliche Lage,
|
||||||
|
Gesundheit, persönliche Vorlieben, Interessen, Zuverlässigkeit, Verhalten, Aufenthaltsort
|
||||||
|
oder Ortswechsel dieser natürlichen Person zu analysieren oder vorherzusagen.<br>
|
||||||
|
<br>
|
||||||
|
Als „Verantwortlicher“ wird die natürliche oder juristische Person, Behörde, Einrichtung
|
||||||
|
oder andere Stelle, die allein oder gemeinsam mit anderen über die Zwecke und Mittel der
|
||||||
|
Verarbeitung von personenbezogenen Daten entscheidet, bezeichnet.<br>
|
||||||
|
<br>
|
||||||
|
„Auftragsverarbeiter“ eine natürliche oder juristische Person, Behörde, Einrichtung oder
|
||||||
|
andere Stelle, die personenbezogene Daten im Auftrag des Verantwortlichen verarbeitet.<br>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-legalbasis">Maßgebliche Rechtsgrundlagen</h3>
|
||||||
|
<p>
|
||||||
|
Nach Maßgabe des Art. 13 DSGVO teilen wir Ihnen die Rechtsgrundlagen unserer Datenverarbeitungen mit.
|
||||||
|
Sofern die Rechtsgrundlage in der Datenschutzerklärung nicht genannt wird, gilt Folgendes:
|
||||||
|
Die Rechtsgrundlage für die Einholung von Einwilligungen ist Art. 6 Abs. 1 lit. a und Art. 7 DSGVO,
|
||||||
|
die Rechtsgrundlage für die Verarbeitung zur Erfüllung unserer Leistungen und Durchführung vertraglicher
|
||||||
|
Maßnahmen sowie Beantwortung von Anfragen ist Art. 6 Abs. 1 lit. b DSGVO, die Rechtsgrundlage für die
|
||||||
|
Verarbeitung zur Erfüllung unserer rechtlichen Verpflichtungen ist Art. 6 Abs. 1 lit. c DSGVO, und die
|
||||||
|
Rechtsgrundlage für die Verarbeitung zur Wahrung unserer berechtigten Interessen ist Art. 6 Abs. 1 lit. f DSGVO.
|
||||||
|
Für den Fall, dass lebenswichtige Interessen der betroffenen Person oder einer anderen natürlichen
|
||||||
|
Person eine Verarbeitung personenbezogener Daten erforderlich machen, dient Art. 6 Abs. 1 lit. d DSGVO
|
||||||
|
als Rechtsgrundlage.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-securitymeasures">Sicherheitsmaßnahmen</h3>
|
||||||
|
<p>
|
||||||
|
Wir treffen nach Maßgabe des Art. 32 DSGVO unter Berücksichtigung des Stands der Technik,
|
||||||
|
der Implementierungskosten und der Art, des Umfangs, der Umstände und der Zwecke der Verarbeitung
|
||||||
|
sowie der unterschiedlichen Eintrittswahrscheinlichkeit und Schwere des Risikos für die Rechte
|
||||||
|
und Freiheiten natürlicher Personen, geeignete technische und organisatorische Maßnahmen,
|
||||||
|
um ein dem Risiko angemessenes Schutzniveau zu gewährleisten.<br>
|
||||||
|
<br>
|
||||||
|
Zu den Maßnahmen gehören insbesondere die Sicherung der Vertraulichkeit, Integrität und Verfügbarkeit
|
||||||
|
von Daten durch Kontrolle des physischen Zugangs zu den Daten, als auch des sie betreffenden Zugriffs,
|
||||||
|
der Eingabe, Weitergabe, der Sicherung der Verfügbarkeit und ihrer Trennung. Des Weiteren haben wir Verfahren
|
||||||
|
eingerichtet, die eine Wahrnehmung von Betroffenenrechten, Löschung von Daten und Reaktion auf Gefährdung der
|
||||||
|
Daten gewährleisten. Ferner berücksichtigen wir den Schutz personenbezogener Daten bereits bei der Entwicklung,
|
||||||
|
bzw. Auswahl von Hardware, Software sowie Verfahren, entsprechend dem Prinzip des Datenschutzes durch
|
||||||
|
Technikgestaltung und durch datenschutzfreundliche Voreinstellungen (Art. 25 DSGVO).<br>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-coprocessing">Zusammenarbeit mit Auftragsverarbeitern und Dritten</h3>
|
||||||
|
<p>
|
||||||
|
Sofern wir im Rahmen unserer Verarbeitung Daten gegenüber anderen Personen und Unternehmen
|
||||||
|
(Auftragsverarbeitern oder Dritten) offenbaren, sie an diese übermitteln oder ihnen sonst Zugriff auf
|
||||||
|
die Daten gewähren, erfolgt dies nur auf Grundlage einer gesetzlichen Erlaubnis (z.B. wenn eine Übermittlung
|
||||||
|
der Daten an Dritte, wie an Zahlungsdienstleister, gem. Art. 6 Abs. 1 lit. b DSGVO zur Vertragserfüllung erforderlich ist),
|
||||||
|
Sie eingewilligt haben, eine rechtliche Verpflichtung dies vorsieht oder auf Grundlage unserer berechtigten Interessen
|
||||||
|
(z.B. beim Einsatz von Beauftragten, Webhostern, etc.). <br>
|
||||||
|
<br>
|
||||||
|
Sofern wir Dritte mit der Verarbeitung von Daten auf Grundlage eines sog. „Auftragsverarbeitungsvertrages“ beauftragen,
|
||||||
|
geschieht dies auf Grundlage des Art. 28 DSGVO.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-thirdparty">Übermittlungen in Drittländer</h3>
|
||||||
|
<p>
|
||||||
|
Sofern wir Daten in einem Drittland (d.h. außerhalb der Europäischen Union (EU) oder des Europäischen
|
||||||
|
Wirtschaftsraums (EWR)) verarbeiten oder dies im Rahmen der Inanspruchnahme von Diensten Dritter oder Offenlegung,
|
||||||
|
bzw. Übermittlung von Daten an Dritte geschieht, erfolgt dies nur, wenn es zur Erfüllung unserer
|
||||||
|
(vor)vertraglichen Pflichten, auf Grundlage Ihrer Einwilligung, aufgrund einer rechtlichen Verpflichtung
|
||||||
|
oder auf Grundlage unserer berechtigten Interessen geschieht.
|
||||||
|
Vorbehaltlich gesetzlicher oder vertraglicher Erlaubnisse, verarbeiten oder lassen wir die Daten in einem
|
||||||
|
Drittland nur beim Vorliegen der besonderen Voraussetzungen der Art. 44 ff. DSGVO verarbeiten.
|
||||||
|
D.h. die Verarbeitung erfolgt z.B. auf Grundlage besonderer Garantien, wie der offiziell anerkannten Feststellung
|
||||||
|
eines der EU entsprechenden Datenschutzniveaus (z.B. für die USA durch das „Privacy Shield“)
|
||||||
|
oder Beachtung offiziell anerkannter spezieller vertraglicher Verpflichtungen (so genannte „Standardvertragsklauseln“).
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-rightssubject">Rechte der betroffenen Personen</h3>
|
||||||
|
<p>
|
||||||
|
Sie haben das Recht, eine Bestätigung darüber zu verlangen, ob betreffende Daten verarbeitet werden
|
||||||
|
und auf Auskunft über diese Daten sowie auf weitere Informationen und Kopie der Daten entsprechend Art. 15 DSGVO.<br>
|
||||||
|
<br>
|
||||||
|
Sie haben entsprechend. Art. 16 DSGVO das Recht, die Vervollständigung der Sie betreffenden Daten oder
|
||||||
|
die Berichtigung der Sie betreffenden unrichtigen Daten zu verlangen.<br>
|
||||||
|
<br>
|
||||||
|
Sie haben nach Maßgabe des Art. 17 DSGVO das Recht zu verlangen,
|
||||||
|
dass betreffende Daten unverzüglich gelöscht werden, bzw. alternativ nach Maßgabe des Art. 18 DSGVO
|
||||||
|
eine Einschränkung der Verarbeitung der Daten zu verlangen.<br>
|
||||||
|
<br>
|
||||||
|
Sie haben das Recht zu verlangen, dass die Sie betreffenden Daten, die Sie uns bereitgestellt haben nach
|
||||||
|
Maßgabe des Art. 20 DSGVO zu erhalten und deren Übermittlung an andere Verantwortliche zu fordern.<br>
|
||||||
|
<br>
|
||||||
|
Sie haben ferner gem. Art. 77 DSGVO das Recht, eine Beschwerde bei der zuständigen Aufsichtsbehörde einzureichen.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-revokeconsent">Widerrufsrecht</h3>
|
||||||
|
<p>
|
||||||
|
Sie haben das Recht, erteilte Einwilligungen gem. Art. 7 Abs. 3 DSGVO mit Wirkung für die Zukunft zu widerrufen
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-object">Widerspruchsrecht</h3>
|
||||||
|
<p>
|
||||||
|
Sie können der künftigen Verarbeitung der Sie betreffenden Daten nach Maßgabe des Art. 21 DSGVO jederzeit widersprechen.
|
||||||
|
Der Widerspruch kann insbesondere gegen die Verarbeitung für Zwecke der Direktwerbung erfolgen.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-cookies">Cookies und Widerspruchsrecht bei Direktwerbung</h3>
|
||||||
|
<p>
|
||||||
|
Als „Cookies“ werden kleine Dateien bezeichnet, die auf Rechnern der Nutzer gespeichert werden.
|
||||||
|
Innerhalb der Cookies können unterschiedliche Angaben gespeichert werden. Ein Cookie dient primär dazu,
|
||||||
|
die Angaben zu einem Nutzer (bzw. dem Gerät auf dem das Cookie gespeichert ist) während oder auch nach seinem Besuch
|
||||||
|
innerhalb eines Onlineangebotes zu speichern. Als temporäre Cookies, bzw. „Session-Cookies“ oder „transiente Cookies“,
|
||||||
|
werden Cookies bezeichnet, die gelöscht werden, nachdem ein Nutzer ein Onlineangebot verlässt und seinen Browser schließt.
|
||||||
|
In einem solchen Cookie kann z.B. der Inhalt eines Warenkorbs in einem Onlineshop oder ein Login-Status gespeichert werden.
|
||||||
|
Als „permanent“ oder „persistent“ werden Cookies bezeichnet, die auch nach dem Schließen des Browsers gespeichert bleiben.
|
||||||
|
So kann z.B. der Login-Status gespeichert werden, wenn die Nutzer diese nach mehreren Tagen aufsuchen.
|
||||||
|
Ebenso können in einem solchen Cookie die Interessen der Nutzer gespeichert werden, die für Reichweitenmessung
|
||||||
|
oder Marketingzwecke verwendet werden. Als „Third-Party-Cookie“ werden Cookies bezeichnet,
|
||||||
|
die von anderen Anbietern als dem Verantwortlichen, der das Onlineangebot betreibt, angeboten werden
|
||||||
|
(andernfalls, wenn es nur dessen Cookies sind spricht man von „First-Party Cookies“).<br>
|
||||||
|
<br>
|
||||||
|
Wir setzen im Rahmen unseres Onlineangebotes keine „First-Party Cookies“ ein.<br>
|
||||||
|
<!-- Wir können temporäre und permanente Cookies einsetzen und klären hierüber im Rahmen unserer Datenschutzerklärung auf.<br>
|
||||||
|
<br>
|
||||||
|
Falls die Nutzer nicht möchten, dass Cookies auf ihrem Rechner gespeichert werden,
|
||||||
|
werden sie gebeten die entsprechende Option in den Systemeinstellungen ihres Browsers zu deaktivieren.
|
||||||
|
Gespeicherte Cookies können in den Systemeinstellungen des Browsers gelöscht werden.
|
||||||
|
Der Ausschluss von Cookies kann zu Funktionseinschränkungen dieses Onlineangebotes führen.<br> -->
|
||||||
|
<br>
|
||||||
|
Ein genereller Widerspruch gegen den Einsatz der zu Zwecken des Onlinemarketing eingesetzten Cookies
|
||||||
|
kann bei einer Vielzahl der Dienste, vor allem im Fall des Trackings, über die US-amerikanische Seite
|
||||||
|
<a href="http://www.aboutads.info/choices/">http://www.aboutads.info/choices/</a>
|
||||||
|
oder die EU-Seite <a href="http://www.youronlinechoices.com/">http://www.youronlinechoices.com/</a> erklärt werden.
|
||||||
|
Des Weiteren kann die Speicherung von Cookies mittels deren Abschaltung in den Einstellungen des Browsers erreicht werden.
|
||||||
|
<!-- Bitte beachten Sie, dass dann gegebenenfalls nicht alle Funktionen dieses Onlineangebotes genutzt werden können. -->
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3 id="dsg-general-erasure">Löschung von Daten</h3>
|
||||||
|
<p>
|
||||||
|
Die von uns verarbeiteten Daten werden nach Maßgabe der Art. 17 und 18 DSGVO gelöscht
|
||||||
|
oder in ihrer Verarbeitung eingeschränkt. Sofern nicht im Rahmen dieser Datenschutzerklärung
|
||||||
|
ausdrücklich angegeben, werden die bei uns gespeicherten Daten gelöscht, sobald sie
|
||||||
|
für ihre Zweckbestimmung nicht mehr erforderlich sind und der Löschung keine gesetzlichen
|
||||||
|
Aufbewahrungspflichten entgegenstehen. Sofern die Daten nicht gelöscht werden,
|
||||||
|
weil sie für andere und gesetzlich zulässige Zwecke erforderlich sind, wird deren
|
||||||
|
Verarbeitung eingeschränkt.
|
||||||
|
D.h. die Daten werden gesperrt und nicht für andere Zwecke verarbeitet.
|
||||||
|
Das gilt z.B. für Daten, die aus handels- oder steuerrechtlichen Gründen aufbewahrt werden müssen.<br>
|
||||||
|
<!-- <br>
|
||||||
|
Nach gesetzlichen Vorgaben in Deutschland, erfolgt die Aufbewahrung insbesondere
|
||||||
|
für 10 Jahre gemäß §§ 147 Abs. 1 AO, 257 Abs. 1 Nr. 1 und 4, Abs. 4 HGB
|
||||||
|
(Bücher, Aufzeichnungen, Lageberichte, Buchungsbelege, Handelsbücher, für Besteuerung relevanter Unterlagen, etc.)
|
||||||
|
und 6 Jahre gemäß § 257 Abs. 1 Nr. 2 und 3, Abs. 4 HGB (Handelsbriefe). <br>
|
||||||
|
<br>
|
||||||
|
Nach gesetzlichen Vorgaben in Österreich erfolgt die Aufbewahrung insbesondere für 7 J
|
||||||
|
gemäß § 132 Abs. 1 BAO (Buchhaltungsunterlagen, Belege/Rechnungen, Konten, Belege,
|
||||||
|
Geschäftspapiere, Aufstellung der Einnahmen und Ausgaben, etc.),
|
||||||
|
für 22 Jahre im Zusammenhang mit Grundstücken und für 10 Jahre bei Unterlagen im Zusammenhang
|
||||||
|
mit elektronisch erbrachten Leistungen, Telekommunikations-, Rundfunk- und Fernsehleistungen,
|
||||||
|
die an Nichtunternehmer in EU-Mitgliedstaaten erbracht werden und für die der
|
||||||
|
Mini-One-Stop-Shop (MOSS) in Anspruch genommen wird. -->
|
||||||
|
</p>
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
<h3 id="dsg-socialmedia">Onlinepräsenzen in sozialen Medien</h3>
|
||||||
|
<p></p>
|
||||||
|
<p>
|
||||||
|
Wir unterhalten Onlinepräsenzen innerhalb sozialer Netzwerke und Plattformen,
|
||||||
|
um mit den dort aktiven Kunden, Interessenten und Nutzern kommunizieren
|
||||||
|
und sie dort über unsere Leistungen informieren zu können.<br>
|
||||||
|
<br>
|
||||||
|
Wir weisen darauf hin, dass dabei Daten der Nutzer außerhalb des Raumes der Europäischen Union
|
||||||
|
verarbeitet werden können. Hierdurch können sich für die Nutzer Risiken ergeben,
|
||||||
|
weil so z.B. die Durchsetzung der Rechte der Nutzer erschwert werden könnte.
|
||||||
|
Im Hinblick auf US-Anbieter die unter dem Privacy-Shield zertifiziert sind, weisen wir darauf hin,
|
||||||
|
dass sie sich damit verpflichten, die Datenschutzstandards der EU einzuhalten.<br>
|
||||||
|
<br>
|
||||||
|
Ferner werden die Daten der Nutzer im Regelfall für Marktforschungs- und Werbezwecke verarbeitet.
|
||||||
|
So können z.B. aus dem Nutzungsverhalten und sich daraus ergebenden Interessen der Nutzer
|
||||||
|
Nutzungsprofile erstellt werden. Die Nutzungsprofile können wiederum verwendet werden,
|
||||||
|
um z.B. Werbeanzeigen innerhalb und außerhalb der Plattformen zu schalten,
|
||||||
|
die mutmaßlich den Interessen der Nutzer entsprechen.
|
||||||
|
Zu diesen Zwecken werden im Regelfall Cookies auf den Rechnern der Nutzer gespeichert,
|
||||||
|
in denen das Nutzungsverhalten und die Interessen der Nutzer gespeichert werden.
|
||||||
|
Ferner können in den Nutzungsprofilen auch Daten unabhängig der von den Nutzern verwendeten Geräte
|
||||||
|
gespeichert werden (insbesondere wenn die Nutzer Mitglieder der jeweiligen Plattformen sind
|
||||||
|
und bei diesen eingeloggt sind).<br>
|
||||||
|
<br>
|
||||||
|
Die Verarbeitung der personenbezogenen Daten der Nutzer erfolgt auf Grundlage unserer berechtigten
|
||||||
|
Interessen an einer effektiven Information der Nutzer und Kommunikation mit den Nutzern
|
||||||
|
gem. Art. 6 Abs. 1 lit. f. DSGVO.
|
||||||
|
Falls die Nutzer von den jeweiligen Anbietern um eine Einwilligung in die Datenverarbeitung
|
||||||
|
gebeten werden (d.h. ihr Einverständnis z.B. über das Anhaken eines Kontrollkästchens oder
|
||||||
|
Bestätigung einer Schaltfläche erklären) ist die Rechtsgrundlage der
|
||||||
|
Verarbeitung Art. 6 Abs. 1 lit. a., Art. 7 DSGVO.<br>
|
||||||
|
<br>
|
||||||
|
Für eine detaillierte Darstellung der jeweiligen Verarbeitungen und der Widerspruchsmöglichkeiten
|
||||||
|
(Opt-Out), verweisen wir auf die nachfolgend verlinkten Angaben der Anbieter.<br>
|
||||||
|
<br>
|
||||||
|
Auch im Fall von Auskunftsanfragen und der Geltendmachung von Nutzerrechten, weisen wir darauf hin,
|
||||||
|
dass diese am effektivsten bei den Anbietern geltend gemacht werden können.
|
||||||
|
Nur die Anbieter haben jeweils Zugriff auf die Daten der Nutzer und können direkt entsprechende Maßnahmen
|
||||||
|
ergreifen und Auskünfte geben. Sollten Sie dennoch Hilfe benötigen, dann können Sie sich an uns wenden.<br>
|
||||||
|
<br>
|
||||||
|
- Facebook (Facebook Ireland Ltd., 4 Grand Canal Square, Grand Canal Harbour, Dublin 2, Irland)
|
||||||
|
- Datenschutzerklärung: <a target="_blank" href="https://www.facebook.com/about/privacy/">https://www.facebook.com/about/privacy/</a>,
|
||||||
|
Opt-Out: <a target="_blank" href="https://www.facebook.com/settings?tab=ads">https://www.facebook.com/settings?tab=ads</a>
|
||||||
|
und <a target="_blank" href="http://www.youronlinechoices.com">http://www.youronlinechoices.com</a>,
|
||||||
|
Privacy Shield: <a target="_blank" href="https://www.privacyshield.gov/participant?id=a2zt0000000GnywAAC&status=Active">
|
||||||
|
https://www.privacyshield.gov/participant?id=a2zt0000000GnywAAC&status=Active</a>.<br>
|
||||||
|
<!--<br>
|
||||||
|
- Google/ YouTube (Google LLC, 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA)
|
||||||
|
– Datenschutzerklärung: <a target="_blank" href="https://policies.google.com/privacy">https://policies.google.com/privacy</a>,
|
||||||
|
Opt-Out: <a target="_blank" href="https://adssettings.google.com/authenticated">https://adssettings.google.com/authenticated</a>,
|
||||||
|
Privacy Shield: <a target="_blank" href="https://www.privacyshield.gov/participant?id=a2zt000000001L5AAI&status=Active">
|
||||||
|
https://www.privacyshield.gov/participant?id=a2zt000000001L5AAI&status=Active</a>.<br>
|
||||||
|
<br>
|
||||||
|
- Instagram (Instagram Inc., 1601 Willow Road, Menlo Park, CA, 94025, USA)
|
||||||
|
– Datenschutzerklärung/ Opt-Out: <a target="_blank" href="http://instagram.com/about/legal/privacy/">http://instagram.com/about/legal/privacy/</a>.<br>-->
|
||||||
|
<br>
|
||||||
|
- Twitter (Twitter Inc., 1355 Market Street, Suite 900, San Francisco, CA 94103, USA)
|
||||||
|
- Datenschutzerklärung: <a target="_blank" href="https://twitter.com/de/privacy">https://twitter.com/de/privacy</a>,
|
||||||
|
Opt-Out: <a target="_blank" href="https://twitter.com/personalization">https://twitter.com/personalization</a>,
|
||||||
|
Privacy Shield: <a target="_blank" href="https://www.privacyshield.gov/participant?id=a2zt0000000TORzAAO&status=Active">
|
||||||
|
https://www.privacyshield.gov/participant?id=a2zt0000000TORzAAO&status=Active</a>.<br>
|
||||||
|
<!--<br>
|
||||||
|
- Pinterest (Pinterest Inc., 635 High Street, Palo Alto, CA, 94301, USA)
|
||||||
|
– Datenschutzerklärung/ Opt-Out: <a target="_blank" href="https://about.pinterest.com/de/privacy-policy">https://about.pinterest.com/de/privacy-policy</a>.<br>
|
||||||
|
<br>
|
||||||
|
- LinkedIn (LinkedIn Ireland Unlimited Company Wilton Place, Dublin 2, Irland)
|
||||||
|
- Datenschutzerklärung <a target="_blank" href="https://www.linkedin.com/legal/privacy-policy">https://www.linkedin.com/legal/privacy-policy</a>,
|
||||||
|
Opt-Out: <a target="_blank" href="https://www.linkedin.com/psettings/guest-controls/retargeting-opt-out">https://www.linkedin.com/psettings/guest-controls/retargeting-opt-out</a>,
|
||||||
|
Privacy Shield: <a target="_blank" href="https://www.privacyshield.gov/participant?id=a2zt0000000L0UZAA0&status=Active">
|
||||||
|
https://www.privacyshield.gov/participant?id=a2zt0000000L0UZAA0&status=Active</a>.<br>
|
||||||
|
<br>
|
||||||
|
- Xing (XING AG, Dammtorstraße 29-32, 20354 Hamburg, Deutschland)
|
||||||
|
- Datenschutzerklärung/ Opt-Out: <a target="_blank" href="https://privacy.xing.com/de/datenschutzerklaerung">https://privacy.xing.com/de/datenschutzerklaerung</a>.<br>
|
||||||
|
<br>
|
||||||
|
- Wakalet (Wakelet Limited, 76 Quay Street, Manchester, M3 4PR, United Kingdom)
|
||||||
|
- Datenschutzerklärung/ Opt-Out: <a target="_blank" href="https://wakelet.com/privacy.html">https://wakelet.com/privacy.html</a>.<br>
|
||||||
|
<br>
|
||||||
|
- Soundcloud (SoundCloud Limited, Rheinsberger Str. 76/77, 10115 Berlin, Deutschland)
|
||||||
|
- Datenschutzerklärung/ Opt-Out: <a target="_blank" href="https://soundcloud.com/pages/privacy">https://soundcloud.com/pages/privacy</a>.-->
|
||||||
|
</p>
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
<h3 id="dsg-thirdparty-einleitung">Einbindung von Diensten und Inhalten Dritter</h3>
|
||||||
|
<p></p>
|
||||||
|
<p>
|
||||||
|
Wir setzen innerhalb unseres Onlineangebotes auf Grundlage unserer berechtigten Interessen
|
||||||
|
(d.h. Interesse an der Analyse, Optimierung und wirtschaftlichem Betrieb unseres
|
||||||
|
Onlineangebotes im Sinne des Art. 6 Abs. 1 lit. f. DSGVO)
|
||||||
|
Inhalts- oder Serviceangebote von Drittanbietern ein, um deren Inhalte und Services,
|
||||||
|
wie z.B. Videos oder Schriftarten einzubinden (nachfolgend einheitlich bezeichnet als “Inhalte”).<br>
|
||||||
|
<br>
|
||||||
|
Dies setzt immer voraus, dass die Drittanbieter dieser Inhalte,
|
||||||
|
die IP-Adresse der Nutzer wahrnehmen, da sie ohne die IP-Adresse die Inhalte nicht an deren Browser senden könnten.
|
||||||
|
Die IP-Adresse ist damit für die Darstellung dieser Inhalte erforderlich.
|
||||||
|
Wir bemühen uns nur solche Inhalte zu verwenden, deren jeweilige Anbieter die IP-Adresse lediglich zur Auslieferung der Inhalte verwenden.
|
||||||
|
Drittanbieter können ferner so genannte Pixel-Tags (unsichtbare Grafiken, auch als "Web Beacons" bezeichnet)
|
||||||
|
für statistische oder Marketingzwecke verwenden. Durch die "Pixel-Tags" können Informationen,
|
||||||
|
wie der Besucherverkehr auf den Seiten dieser Website ausgewertet werden.
|
||||||
|
Die pseudonymen Informationen können ferner in Cookies auf dem Gerät der Nutzer gespeichert werden und
|
||||||
|
unter anderem technische Informationen zum Browser und Betriebssystem, verweisende Webseiten,
|
||||||
|
Besuchszeit sowie weitere Angaben zur Nutzung unseres Onlineangebotes enthalten,
|
||||||
|
als auch mit solchen Informationen aus anderen Quellen verbunden werden.
|
||||||
|
</p>
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
<h3 id="dsg-thirdparty-youtube">Youtube</h3>
|
||||||
|
<p></p>
|
||||||
|
<p>
|
||||||
|
Wir binden die Videos der Plattform “YouTube” des Anbieters Google LLC,
|
||||||
|
1600 Amphitheatre Parkway, Mountain View, CA 94043, USA,ein.
|
||||||
|
Datenschutzerklärung: <a target="_blank" href="https://www.google.com/policies/privacy/">https://www.google.com/policies/privacy/</a>,
|
||||||
|
Opt-Out: <a target="_blank" href="https://adssettings.google.com/authenticated">https://adssettings.google.com/authenticated</a>.
|
||||||
|
</p>
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
<h3 id="dsg-thirdparty-googlefonts">Google Fonts</h3>
|
||||||
|
<p></p>
|
||||||
|
<p>
|
||||||
|
Wir binden die Schriftarten ("Google Fonts") des Anbieters Google LLC,
|
||||||
|
1600 Amphitheatre Parkway, Mountain View, CA 94043, USA, ein.
|
||||||
|
Datenschutzerklärung: <a target="_blank" href="https://www.google.com/policies/privacy/">https://www.google.com/policies/privacy/</a>,
|
||||||
|
Opt-Out: <a target="_blank" href="https://adssettings.google.com/authenticated">https://adssettings.google.com/authenticated</a>.
|
||||||
|
</p>
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
<h3 id="dsg-thirdparty-twitter">Twitter</h3>
|
||||||
|
<p></p>
|
||||||
|
<p>
|
||||||
|
Innerhalb unseres Onlineangebotes können Funktionen und Inhalte des Dienstes Twitter,
|
||||||
|
angeboten durch die Twitter Inc., 1355 Market Street, Suite 900, San Francisco, CA 94103, USA, eingebunden werden.
|
||||||
|
Hierzu können z.B. Inhalte wie Bilder, Videos oder Texte und Schaltflächen gehören,
|
||||||
|
mit denen Nutzer Inhalte dieses Onlineangebotes innerhalb von Twitter teilen können.<br>
|
||||||
|
Sofern die Nutzer Mitglieder der Plattform Twitter sind, kann Twitter den Aufruf der
|
||||||
|
o.g. Inhalte und Funktionen den dortigen Profilen der Nutzer zuordnen.
|
||||||
|
Twitter ist unter dem Privacy-Shield-Abkommen zertifiziert und bietet hierdurch eine Garantie,
|
||||||
|
das europäische Datenschutzrecht einzuhalten
|
||||||
|
(<a target="_blank" href="https://www.privacyshield.gov/participant?id=a2zt0000000TORzAAO&status=Active">
|
||||||
|
https://www.privacyshield.gov/participant?id=a2zt0000000TORzAAO&status=Active</a>).
|
||||||
|
Datenschutzerklärung: <a target="_blank" href="https://twitter.com/de/privacy">https://twitter.com/de/privacy</a>,
|
||||||
|
Opt-Out: <a target="_blank" href="https://twitter.com/personalization">https://twitter.com/personalization</a>.</p>
|
||||||
|
<p>
|
||||||
|
Vom Websiteinhaber angepasst</br>
|
||||||
|
<a href="https://datenschutz-generator.de" class="dsg1-5" rel="nofollow" target="_blank">Erstellt mit Datenschutz-Generator.de von RA Dr. Thomas Schwenke</a></p>
|
63
content/Impressum/_index.md
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
---
|
||||||
|
title: "Impressum"
|
||||||
|
---
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Angaben gemäß § 5 TMG
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Skeptiker Nord<br>
|
||||||
|
GWUP Regionalgruppe
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<strong>Vertreten durch:</strong><br>
|
||||||
|
Nis Wechselberg<br>
|
||||||
|
c/o GWUP e.V. (Gesellschaft zur wissenschaftlichen Untersuchung von Parawissenschaften e. V.)<br>
|
||||||
|
Arheilger Weg 11<br>
|
||||||
|
64380 Roßdorf<br>
|
||||||
|
<br>
|
||||||
|
E-Mail: nis.wechselberg@skeptiker-nord.de
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3>Haftungsausschluss: </h3>
|
||||||
|
<h4>Haftung für Inhalte</h4>
|
||||||
|
<p>
|
||||||
|
Die Inhalte unserer Seiten wurden mit größter Sorgfalt erstellt.
|
||||||
|
Für die Richtigkeit, Vollständigkeit und Aktualität der Inhalte können wir jedoch keine Gewähr übernehmen.
|
||||||
|
Als Diensteanbieter sind wir gemäß § 7 Abs.1 TMG für eigene Inhalte auf diesen Seiten nach
|
||||||
|
den allgemeinen Gesetzen verantwortlich. Nach §§ 8 bis 10 TMG sind wir als Diensteanbieter
|
||||||
|
jedoch nicht verpflichtet, übermittelte oder gespeicherte fremde Informationen zu überwachen
|
||||||
|
oder nach Umständen zu forschen, die auf eine rechtswidrige Tätigkeit hinweisen.
|
||||||
|
Verpflichtungen zur Entfernung oder Sperrung der Nutzung von Informationen nach den
|
||||||
|
allgemeinen Gesetzen bleiben hiervon unberührt. Eine diesbezügliche Haftung ist jedoch erst ab dem
|
||||||
|
Zeitpunkt der Kenntnis einer konkreten Rechtsverletzung möglich.
|
||||||
|
Bei Bekanntwerden von entsprechenden Rechtsverletzungen werden wir diese Inhalte umgehend entfernen.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h4>Haftung für Links</h4>
|
||||||
|
<p>
|
||||||
|
Unser Angebot enthält Links zu externen Webseiten Dritter,
|
||||||
|
auf deren Inhalte wir keinen Einfluss haben. Deshalb können wir für diese fremden Inhalte
|
||||||
|
auch keine Gewähr übernehmen. Für die Inhalte der verlinkten Seiten ist stets der jeweilige
|
||||||
|
Anbieter oder Betreiber der Seiten verantwortlich. Die verlinkten Seiten wurden zum Zeitpunkt
|
||||||
|
der Verlinkung auf mögliche Rechtsverstöße überprüft. Rechtswidrige Inhalte waren zum Zeitpunkt
|
||||||
|
der Verlinkung nicht erkennbar. Eine permanente inhaltliche Kontrolle der verlinkten Seiten ist
|
||||||
|
jedoch ohne konkrete Anhaltspunkte einer Rechtsverletzung nicht zumutbar.
|
||||||
|
Bei Bekanntwerden von Rechtsverletzungen werden wir derartige Links umgehend entfernen.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h4>Urheberrecht</h4>
|
||||||
|
<p>
|
||||||
|
Die durch die Seitenbetreiber erstellten Inhalte und Werke auf diesen Seiten unterliegen
|
||||||
|
dem deutschen Urheberrecht. Die Vervielfältigung, Bearbeitung, Verbreitung und
|
||||||
|
jede Art der Verwertung außerhalb der Grenzen des Urheberrechtes bedürfen der schriftlichen
|
||||||
|
Zustimmung des jeweiligen Autors bzw. Erstellers. Downloads und Kopien dieser Seite sind nur
|
||||||
|
für den privaten, nicht kommerziellen Gebrauch gestattet. Soweit die Inhalte auf dieser Seite
|
||||||
|
nicht vom Betreiber erstellt wurden, werden die Urheberrechte Dritter beachtet.
|
||||||
|
Insbesondere werden Inhalte Dritter als solche gekennzeichnet. Sollten Sie trotzdem auf eine
|
||||||
|
Urheberrechtsverletzung aufmerksam werden, bitten wir um einen entsprechenden Hinweis.
|
||||||
|
Bei Bekanntwerden von Rechtsverletzungen werden wir derartige Inhalte umgehend entfernen.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>Website Impressum von <a href="https://www.impressum-generator.de">impressum-generator.de</a></p>
|
||||||
|
|
18
content/about/_index.md
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
title: Über Uns
|
||||||
|
---
|
||||||
|
|
||||||
|
Die Skeptiker Nord Regionalgruppe ist eine der jüngsten Regionalgruppen der [GWUP][1].
|
||||||
|
Die Gründung fand im Rahmen der Skepkon 2018 statt.
|
||||||
|
|
||||||
|
Wir treffen uns regelmäßig zum Skeptiker-Stammtisch im Restaurant <a href="https://www.gutenberg-kiel.de">Gutenberg</a>.
|
||||||
|
Regelmäßig bedeutet hier <strong>jeder erste Montag im Monat ab 19:30 Uhr</strong>.
|
||||||
|
Der Stammtisch ist ein lockerer Austausch und steht grundsätzlich allen Interessierten offen.
|
||||||
|
Wer sich also über kritisches Denken informieren möchte,
|
||||||
|
oder einfach nur vor dem wachsenden Wahnsinn der Welt flüchten möchte,
|
||||||
|
ist eingeladen sich bei uns zu melden oder zum vorbeizuschauen.
|
||||||
|
|
||||||
|
Ansonsten kann man uns natürlich auch gerne ein Mail an <kontakt@skeptiker-nord.de> schicken.
|
||||||
|
|
||||||
|
|
||||||
|
[1]: https://www.gwup.org/
|
15
content/post/180711-Stammtisch-August.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
title: Stammtisch am 6. August 2018
|
||||||
|
author: eNBeWe
|
||||||
|
type: post
|
||||||
|
date: 2018-07-11T20:22:12+02:00
|
||||||
|
categories:
|
||||||
|
- Stammtisch
|
||||||
|
---
|
||||||
|
|
||||||
|
Unser nächster Stammtisch findet am <strong>6. August 2018</strong> um <strong>19:30 Uhr</strong> statt.
|
||||||
|
Der Ort für unseren Stammtisch hat sich geändert.
|
||||||
|
Wir treffen uns im Restaurant [Gutenberg][1], in der Gutenbergstraße 66, 24118 Kiel.
|
||||||
|
Hier haben wir in Zukunft vermutlich auch genug Platz um Vorträge veranstalten zu können.
|
||||||
|
|
||||||
|
[1]: https://www.gutenberg-kiel.de/
|
67
i18n/de.yaml
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
# General
|
||||||
|
- id: read_more
|
||||||
|
translation: Mehr…
|
||||||
|
|
||||||
|
# Post meta
|
||||||
|
- id: meta_lastmod
|
||||||
|
translation: Zuletzt geändert
|
||||||
|
|
||||||
|
# Table of Contents
|
||||||
|
- id: toc_title
|
||||||
|
translation: Inhalt
|
||||||
|
|
||||||
|
# Post nav
|
||||||
|
- id: post_nav_prev
|
||||||
|
translation: Vorheriger Beitrag
|
||||||
|
|
||||||
|
- id: post_nav_next
|
||||||
|
translation: Nächster Beitrag
|
||||||
|
|
||||||
|
# Authorbox
|
||||||
|
- id: authorbox_name
|
||||||
|
translation: Über {{ .Count }}
|
||||||
|
|
||||||
|
# Sidebar
|
||||||
|
- id: sidebar_warning
|
||||||
|
translation: ACHTUNG
|
||||||
|
|
||||||
|
- id: sidebar_recommendation
|
||||||
|
translation: Bitte aktiviere mindestens ein Widget in der Seitenleiste.
|
||||||
|
|
||||||
|
# Events widget
|
||||||
|
- id: events_title
|
||||||
|
translation: Unser nächster Termin
|
||||||
|
|
||||||
|
# Search widget
|
||||||
|
- id: search_placeholder
|
||||||
|
translation: Suchen...
|
||||||
|
|
||||||
|
# Categories widget
|
||||||
|
- id: categories_title
|
||||||
|
translation: Kategorien
|
||||||
|
|
||||||
|
# Recent Posts widget
|
||||||
|
- id: recent_title
|
||||||
|
translation: Letzte Beiträge
|
||||||
|
|
||||||
|
# Social widget
|
||||||
|
- id: social_title
|
||||||
|
translation: Soziales
|
||||||
|
|
||||||
|
# Tags List widget
|
||||||
|
- id: tags_title
|
||||||
|
translation: Schlagworte
|
||||||
|
|
||||||
|
# Footer
|
||||||
|
- id: footer_credits
|
||||||
|
translation: "Erzeugt mit <a href=\"https://gohugo.io/\" rel=\"nofollow noopener\" target=\"_blank\">Hugo</a> und <a href=\"https://github.com/Vimux/Mainroad/\" rel=\"nofollow noopener\" target=\"_blank\">Mainroad</a> theme."
|
||||||
|
|
||||||
|
# 404
|
||||||
|
- id: 404_title
|
||||||
|
translation: 404. Seite nicht gefunden
|
||||||
|
|
||||||
|
- id: 404_text
|
||||||
|
translation: "Die gesuchte Seite wurde anscheinend verschoben, gelöscht oder existiert nicht. Bitte benutze die Suche oder gehe zur"
|
||||||
|
|
||||||
|
- id: 404_linktext
|
||||||
|
translation: "Startseite"
|
67
i18n/en.yaml
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
# General
|
||||||
|
- id: read_more
|
||||||
|
translation: Read more…
|
||||||
|
|
||||||
|
# Post meta
|
||||||
|
- id: meta_lastmod
|
||||||
|
translation: Last Modified
|
||||||
|
|
||||||
|
# Table of Contents
|
||||||
|
- id: toc_title
|
||||||
|
translation: Page content
|
||||||
|
|
||||||
|
# Post nav
|
||||||
|
- id: post_nav_prev
|
||||||
|
translation: Previous
|
||||||
|
|
||||||
|
- id: post_nav_next
|
||||||
|
translation: Next
|
||||||
|
|
||||||
|
# Authorbox
|
||||||
|
- id: authorbox_name
|
||||||
|
translation: About {{ .Count }}
|
||||||
|
|
||||||
|
# Sidebar
|
||||||
|
- id: sidebar_warning
|
||||||
|
translation: WARNING
|
||||||
|
|
||||||
|
- id: sidebar_recommendation
|
||||||
|
translation: Please activate at least one sidebar widget.
|
||||||
|
|
||||||
|
# Events widget
|
||||||
|
- id: events_title
|
||||||
|
translation: Our next Event
|
||||||
|
|
||||||
|
# Search widget
|
||||||
|
- id: search_placeholder
|
||||||
|
translation: SEARCH...
|
||||||
|
|
||||||
|
# Categories widget
|
||||||
|
- id: categories_title
|
||||||
|
translation: Categories
|
||||||
|
|
||||||
|
# Recent Posts widget
|
||||||
|
- id: recent_title
|
||||||
|
translation: Recent Posts
|
||||||
|
|
||||||
|
# Social widget
|
||||||
|
- id: social_title
|
||||||
|
translation: Social
|
||||||
|
|
||||||
|
# Tags List widget
|
||||||
|
- id: tags_title
|
||||||
|
translation: Tags
|
||||||
|
|
||||||
|
# Footer
|
||||||
|
- id: footer_credits
|
||||||
|
translation: "Generated with <a href=\"https://gohugo.io/\" rel=\"nofollow noopener\" target=\"_blank\">Hugo</a> and <a href=\"https://github.com/Vimux/Mainroad/\" rel=\"nofollow noopener\" target=\"_blank\">Mainroad</a> theme."
|
||||||
|
|
||||||
|
# 404
|
||||||
|
- id: 404_title
|
||||||
|
translation: 404. Page not found
|
||||||
|
|
||||||
|
- id: 404_text
|
||||||
|
translation: "The page you were looking for appears to have been moved, deleted or does not exist. Please, use search or go to"
|
||||||
|
|
||||||
|
- id: 404_linktext
|
||||||
|
translation: "main page"
|
22
layouts/partials/authorbox.html
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{{- if .Param "authorbox" }}
|
||||||
|
<div class="authorbox clearfix">
|
||||||
|
{{- if and (not .Params.Author.avatar) (not .Params.Author.name) (not .Params.Author.bio) }}
|
||||||
|
<p class="authorbox__warning"><strong>WARNING:</strong> Authorbox is activated, but [Author] parameters are not specified.</p>
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Params.Author.avatar }}
|
||||||
|
<figure class="authorbox__avatar">
|
||||||
|
<img alt="{{ $.Params.Author.name }} avatar" src="{{ $.Params.Author.avatar | relURL }}" class="avatar" height="90" width="90">
|
||||||
|
</figure>
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Params.Author.name }}
|
||||||
|
<div class="authorbox__header">
|
||||||
|
<span class="authorbox__name">{{ T "authorbox_name" . }}</span>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Params.Author.bio }}
|
||||||
|
<div class="authorbox__description">
|
||||||
|
{{ . }}
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
16
layouts/partials/footer.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
</div><!-- .wrapper -->
|
||||||
|
<footer class="footer">
|
||||||
|
<div class="container container-inner">
|
||||||
|
<div class="footer__copyright">© {{ now.Format "2006" }} {{ .Site.Title }} - <a href="/impressum">Impressum</a> - <a href="/datenschutz">Datenschutz</a></div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</div><!-- .container-outer -->
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var navigation = responsiveNav(".menu", {
|
||||||
|
navClass: "menu--collapse",
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{{- partial "mathjax.html" . -}}
|
||||||
|
</body>
|
||||||
|
</html>
|
36
layouts/partials/header.html
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{else}}{{ .Params.Description }}{{end}}">
|
||||||
|
{{ .Hugo.Generator }}
|
||||||
|
{{ if .Site.Params.opengraph }}{{ template "_internal/opengraph.html" . }}{{ end }}
|
||||||
|
{{ if .Site.Params.twitter_cards }}{{ template "_internal/twitter_cards.html" . }}{{ end }}
|
||||||
|
<link rel="dns-prefetch" href="//fonts.googleapis.com">
|
||||||
|
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
||||||
|
{{- range .AlternativeOutputFormats }}
|
||||||
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .RelPermalink | safeURL }}">
|
||||||
|
{{- end }}
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700">
|
||||||
|
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
|
||||||
|
<script type="text/javascript" src="{{ "js/scripts.js" | relURL }}"></script>
|
||||||
|
<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}">
|
||||||
|
</head>
|
||||||
|
<body class="body {{ if (.Site.Params.leftsidebar) or (.Params.leftsidebar) }}body-left-sidebar{{ else }}body-right-sidebar{{ end }}">
|
||||||
|
<div class="container container-outer">
|
||||||
|
<header class="header">
|
||||||
|
<div class="container container-inner">
|
||||||
|
<div class="logo" role="banner">
|
||||||
|
<a class="logo__link" href="{{ "" | relLangURL }}" title="{{ .Site.Title }}" rel="home">
|
||||||
|
<!--<div class="logo__title">{{ .Site.Title }}</div>
|
||||||
|
{{ with .Site.Params.subtitle }}<div class="logo__tagline">{{ . }}</div>{{ end }}-->
|
||||||
|
<img src="{{ "Skyline_Skeptiker_Nord.svg" | relURL }}">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{ partial "menu.html" . }}
|
||||||
|
</header>
|
||||||
|
<div class="wrapper clearfix">
|
12
layouts/partials/sidebar.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<aside class="sidebar">
|
||||||
|
{{ partial "widgets/events.html" . }}
|
||||||
|
{{ partial "widgets/search.html" . }}
|
||||||
|
{{ partial "widgets/recent.html" . }}
|
||||||
|
{{ partial "widgets/categories.html" . }}
|
||||||
|
{{ partial "widgets/social.html" . }}
|
||||||
|
{{ partial "widgets/taglist.html" . }}
|
||||||
|
|
||||||
|
{{- if and (not .Site.Params.widgets.search) (not .Site.Params.widgets.recent_articles) (not .Site.Params.widgets.categories) (not .Site.Params.widgets.social) (not .Site.Params.widgets.taglist) }}
|
||||||
|
<p class="sidebar__warning"><strong>{{ T "sidebar_warning" }}:</strong><br>{{ T "sidebar_recommendation" }}</p>
|
||||||
|
{{- end }}
|
||||||
|
</aside>
|
8
layouts/partials/widgets/events.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{{- if .Site.Params.widgets.events }}
|
||||||
|
<div class="widget-events widget">
|
||||||
|
<h4 class="widget-events__title widget__title">{{ T "events_title" }}</h4>
|
||||||
|
<div class="widget__content">
|
||||||
|
<strong>Skeptiker Stammtisch</strong> am 6. August 2018 um 19:30 Uhr im Restaurant <a class="widget-events__link" href="https://www.gutenberg-kiel.de">Gutenberg</a>.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
271
static/Skyline_Skeptiker_Nord.svg
Normal file
After Width: | Height: | Size: 62 KiB |
1168
static/css/style.css
Normal file
19
themes/mainroad/.editorconfig
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# editorconfig.org
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = tab
|
||||||
|
end_of_line = lf
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.html]
|
||||||
|
insert_final_newline = false
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[*.{json,yml,toml,md,babelrc,eslintrc,stylelintrc}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
19
themes/mainroad/.gitignore
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# NPM
|
||||||
|
node_modules/
|
||||||
|
npm-debug.log
|
||||||
|
|
||||||
|
# IDE
|
||||||
|
.idea
|
||||||
|
*.sublime-project
|
||||||
|
*.sublime-workspace
|
||||||
|
.vscode/*
|
||||||
|
|
||||||
|
# OS
|
||||||
|
._*
|
||||||
|
Thumbs.db
|
||||||
|
.DS_Store
|
||||||
|
.Trashes
|
||||||
|
.Spotlight-V100
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
Desktop.ini
|
317
themes/mainroad/.stylelintrc
Normal file
|
@ -0,0 +1,317 @@
|
||||||
|
{
|
||||||
|
"plugins": [
|
||||||
|
"stylelint-order"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"at-rule-empty-line-before": [
|
||||||
|
"always",
|
||||||
|
{
|
||||||
|
"except": [
|
||||||
|
"blockless-after-same-name-blockless",
|
||||||
|
"first-nested"
|
||||||
|
],
|
||||||
|
"ignore": [
|
||||||
|
"after-comment"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"at-rule-name-case": "lower",
|
||||||
|
"at-rule-name-space-after": "always-single-line",
|
||||||
|
"at-rule-semicolon-newline-after": "always",
|
||||||
|
"block-closing-brace-newline-after": "always",
|
||||||
|
"block-closing-brace-empty-line-before": "never",
|
||||||
|
"block-no-empty": true,
|
||||||
|
"block-opening-brace-newline-after": "always-multi-line",
|
||||||
|
"color-hex-case": "lower",
|
||||||
|
"color-hex-length": "short",
|
||||||
|
"color-no-invalid-hex": true,
|
||||||
|
"comment-no-empty": true,
|
||||||
|
"declaration-bang-space-after": "never",
|
||||||
|
"declaration-bang-space-before": "always",
|
||||||
|
"declaration-block-no-duplicate-properties": [
|
||||||
|
true,
|
||||||
|
{
|
||||||
|
"ignore": [
|
||||||
|
"consecutive-duplicates-with-different-values"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"declaration-block-no-shorthand-property-overrides": true,
|
||||||
|
"declaration-block-semicolon-newline-after": "always-multi-line",
|
||||||
|
"declaration-block-semicolon-space-after": "always-single-line",
|
||||||
|
"declaration-block-semicolon-space-before": "never",
|
||||||
|
"declaration-block-single-line-max-declarations": 1,
|
||||||
|
"declaration-block-trailing-semicolon": "always",
|
||||||
|
"declaration-colon-newline-after": "always-multi-line",
|
||||||
|
"declaration-colon-space-after": "always-single-line",
|
||||||
|
"declaration-colon-space-before": "never",
|
||||||
|
"font-family-no-duplicate-names": true,
|
||||||
|
"function-calc-no-unspaced-operator": true,
|
||||||
|
"function-comma-newline-after": "always-multi-line",
|
||||||
|
"function-comma-space-after": "always-single-line",
|
||||||
|
"function-comma-space-before": "never",
|
||||||
|
"function-linear-gradient-no-nonstandard-direction": true,
|
||||||
|
"function-max-empty-lines": 0,
|
||||||
|
"function-name-case": "lower",
|
||||||
|
"function-parentheses-newline-inside": "always-multi-line",
|
||||||
|
"function-parentheses-space-inside": "never-single-line",
|
||||||
|
"function-whitespace-after": "always",
|
||||||
|
"indentation": "tab",
|
||||||
|
"keyframe-declaration-no-important": true,
|
||||||
|
"length-zero-no-unit": true,
|
||||||
|
"max-empty-lines": 1,
|
||||||
|
"media-feature-colon-space-after": "always",
|
||||||
|
"media-feature-colon-space-before": "never",
|
||||||
|
"media-feature-name-case": "lower",
|
||||||
|
"media-feature-name-no-unknown": true,
|
||||||
|
"media-feature-parentheses-space-inside": "never",
|
||||||
|
"media-feature-range-operator-space-after": "always",
|
||||||
|
"media-feature-range-operator-space-before": "always",
|
||||||
|
"media-query-list-comma-newline-after": "always-multi-line",
|
||||||
|
"media-query-list-comma-space-after": "always-single-line",
|
||||||
|
"media-query-list-comma-space-before": "never",
|
||||||
|
"no-empty-source": true,
|
||||||
|
"no-eol-whitespace": true,
|
||||||
|
"no-extra-semicolons": true,
|
||||||
|
"no-invalid-double-slash-comments": true,
|
||||||
|
"no-missing-end-of-source-newline": true,
|
||||||
|
"number-no-trailing-zeros": true,
|
||||||
|
"property-case": "lower",
|
||||||
|
"property-no-unknown": true,
|
||||||
|
"selector-attribute-brackets-space-inside": "never",
|
||||||
|
"selector-attribute-operator-space-after": "never",
|
||||||
|
"selector-attribute-operator-space-before": "never",
|
||||||
|
"selector-combinator-space-after": "always",
|
||||||
|
"selector-combinator-space-before": "always",
|
||||||
|
"selector-descendant-combinator-no-non-space": true,
|
||||||
|
"selector-list-comma-newline-after": "always",
|
||||||
|
"selector-list-comma-space-before": "never",
|
||||||
|
"selector-pseudo-class-case": "lower",
|
||||||
|
"selector-pseudo-class-no-unknown": true,
|
||||||
|
"selector-pseudo-class-parentheses-space-inside": "never",
|
||||||
|
"selector-pseudo-element-case": "lower",
|
||||||
|
"selector-pseudo-element-colon-notation": "double",
|
||||||
|
"selector-pseudo-element-no-unknown": true,
|
||||||
|
"selector-type-case": "lower",
|
||||||
|
"selector-type-no-unknown": true,
|
||||||
|
"shorthand-property-no-redundant-values": true,
|
||||||
|
"string-no-newline": true,
|
||||||
|
"unit-case": "lower",
|
||||||
|
"unit-no-unknown": true,
|
||||||
|
"value-list-comma-newline-after": "always-multi-line",
|
||||||
|
"value-list-comma-space-after": "always-single-line",
|
||||||
|
"value-list-comma-space-before": "never",
|
||||||
|
"value-list-max-empty-lines": 0,
|
||||||
|
"order/properties-order": [
|
||||||
|
"position",
|
||||||
|
"top",
|
||||||
|
"right",
|
||||||
|
"bottom",
|
||||||
|
"left",
|
||||||
|
"z-index",
|
||||||
|
"box-sizing",
|
||||||
|
"display",
|
||||||
|
"flex",
|
||||||
|
"flex-align",
|
||||||
|
"flex-basis",
|
||||||
|
"flex-direction",
|
||||||
|
"flex-wrap",
|
||||||
|
"flex-flow",
|
||||||
|
"flex-shrink",
|
||||||
|
"flex-grow",
|
||||||
|
"flex-order",
|
||||||
|
"flex-pack",
|
||||||
|
"align-content",
|
||||||
|
"align-items",
|
||||||
|
"align-self",
|
||||||
|
"justify-content",
|
||||||
|
"order",
|
||||||
|
"float",
|
||||||
|
"width",
|
||||||
|
"min-width",
|
||||||
|
"max-width",
|
||||||
|
"height",
|
||||||
|
"min-height",
|
||||||
|
"max-height",
|
||||||
|
"padding",
|
||||||
|
"padding-top",
|
||||||
|
"padding-right",
|
||||||
|
"padding-bottom",
|
||||||
|
"padding-left",
|
||||||
|
"margin",
|
||||||
|
"margin-top",
|
||||||
|
"margin-right",
|
||||||
|
"margin-bottom",
|
||||||
|
"margin-left",
|
||||||
|
"overflow",
|
||||||
|
"overflow-x",
|
||||||
|
"overflow-y",
|
||||||
|
"-webkit-overflow-scrolling",
|
||||||
|
"-ms-overflow-x",
|
||||||
|
"-ms-overflow-y",
|
||||||
|
"-ms-overflow-style",
|
||||||
|
"columns",
|
||||||
|
"column-count",
|
||||||
|
"column-fill",
|
||||||
|
"column-gap",
|
||||||
|
"column-rule",
|
||||||
|
"column-rule-width",
|
||||||
|
"column-rule-style",
|
||||||
|
"column-rule-color",
|
||||||
|
"column-span",
|
||||||
|
"column-width",
|
||||||
|
"orphans",
|
||||||
|
"widows",
|
||||||
|
"clip",
|
||||||
|
"clear",
|
||||||
|
"font",
|
||||||
|
"font-family",
|
||||||
|
"font-size",
|
||||||
|
"font-style",
|
||||||
|
"font-weight",
|
||||||
|
"font-variant",
|
||||||
|
"font-size-adjust",
|
||||||
|
"font-stretch",
|
||||||
|
"font-effect",
|
||||||
|
"font-emphasize",
|
||||||
|
"font-emphasize-position",
|
||||||
|
"font-emphasize-style",
|
||||||
|
"font-smooth",
|
||||||
|
"src",
|
||||||
|
"hyphens",
|
||||||
|
"line-height",
|
||||||
|
"color",
|
||||||
|
"text-align",
|
||||||
|
"text-align-last",
|
||||||
|
"text-emphasis",
|
||||||
|
"text-emphasis-color",
|
||||||
|
"text-emphasis-style",
|
||||||
|
"text-emphasis-position",
|
||||||
|
"text-decoration",
|
||||||
|
"text-indent",
|
||||||
|
"text-justify",
|
||||||
|
"text-outline",
|
||||||
|
"-ms-text-overflow",
|
||||||
|
"text-overflow",
|
||||||
|
"text-overflow-ellipsis",
|
||||||
|
"text-overflow-mode",
|
||||||
|
"text-shadow",
|
||||||
|
"text-transform",
|
||||||
|
"text-wrap",
|
||||||
|
"-webkit-text-size-adjust",
|
||||||
|
"-ms-text-size-adjust",
|
||||||
|
"letter-spacing",
|
||||||
|
"-ms-word-break",
|
||||||
|
"word-break",
|
||||||
|
"word-spacing",
|
||||||
|
"-ms-word-wrap",
|
||||||
|
"word-wrap",
|
||||||
|
"overflow-wrap",
|
||||||
|
"tab-size",
|
||||||
|
"white-space",
|
||||||
|
"vertical-align",
|
||||||
|
"direction",
|
||||||
|
"unicode-bidi",
|
||||||
|
"list-style",
|
||||||
|
"list-style-position",
|
||||||
|
"list-style-type",
|
||||||
|
"list-style-image",
|
||||||
|
"pointer-events",
|
||||||
|
"-ms-touch-action",
|
||||||
|
"touch-action",
|
||||||
|
"cursor",
|
||||||
|
"visibility",
|
||||||
|
"zoom",
|
||||||
|
"table-layout",
|
||||||
|
"empty-cells",
|
||||||
|
"caption-side",
|
||||||
|
"border-spacing",
|
||||||
|
"border-collapse",
|
||||||
|
"content",
|
||||||
|
"quotes",
|
||||||
|
"counter-reset",
|
||||||
|
"counter-increment",
|
||||||
|
"resize",
|
||||||
|
"user-select",
|
||||||
|
"nav-index",
|
||||||
|
"nav-up",
|
||||||
|
"nav-right",
|
||||||
|
"nav-down",
|
||||||
|
"nav-left",
|
||||||
|
"background",
|
||||||
|
"background-color",
|
||||||
|
"background-image",
|
||||||
|
"filter",
|
||||||
|
"background-repeat",
|
||||||
|
"background-attachment",
|
||||||
|
"background-position",
|
||||||
|
"background-position-x",
|
||||||
|
"background-position-y",
|
||||||
|
"background-clip",
|
||||||
|
"background-origin",
|
||||||
|
"background-size",
|
||||||
|
"border",
|
||||||
|
"border-color",
|
||||||
|
"border-style",
|
||||||
|
"border-width",
|
||||||
|
"border-top",
|
||||||
|
"border-top-color",
|
||||||
|
"border-top-style",
|
||||||
|
"border-top-width",
|
||||||
|
"border-right",
|
||||||
|
"border-right-color",
|
||||||
|
"border-right-style",
|
||||||
|
"border-right-width",
|
||||||
|
"border-bottom",
|
||||||
|
"border-bottom-color",
|
||||||
|
"border-bottom-style",
|
||||||
|
"border-bottom-width",
|
||||||
|
"border-left",
|
||||||
|
"border-left-color",
|
||||||
|
"border-left-style",
|
||||||
|
"border-left-width",
|
||||||
|
"border-radius",
|
||||||
|
"border-top-left-radius",
|
||||||
|
"border-top-right-radius",
|
||||||
|
"border-bottom-right-radius",
|
||||||
|
"border-bottom-left-radius",
|
||||||
|
"border-image",
|
||||||
|
"border-image-source",
|
||||||
|
"border-image-slice",
|
||||||
|
"border-image-width",
|
||||||
|
"border-image-outset",
|
||||||
|
"border-image-repeat",
|
||||||
|
"outline",
|
||||||
|
"outline-width",
|
||||||
|
"outline-style",
|
||||||
|
"outline-color",
|
||||||
|
"outline-offset",
|
||||||
|
"box-shadow",
|
||||||
|
"opacity",
|
||||||
|
"-ms-interpolation-mode",
|
||||||
|
"page-break-after",
|
||||||
|
"page-break-before",
|
||||||
|
"page-break-inside",
|
||||||
|
"transition",
|
||||||
|
"transition-delay",
|
||||||
|
"transition-timing-function",
|
||||||
|
"transition-duration",
|
||||||
|
"transition-property",
|
||||||
|
"transform",
|
||||||
|
"transform-origin",
|
||||||
|
"perspective",
|
||||||
|
"appearance",
|
||||||
|
"animation",
|
||||||
|
"animation-name",
|
||||||
|
"animation-duration",
|
||||||
|
"animation-play-state",
|
||||||
|
"animation-timing-function",
|
||||||
|
"animation-delay",
|
||||||
|
"animation-iteration-count",
|
||||||
|
"animation-direction",
|
||||||
|
"animation-fill-mode",
|
||||||
|
"fill",
|
||||||
|
"stroke"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
361
themes/mainroad/LICENSE.md
Normal file
|
@ -0,0 +1,361 @@
|
||||||
|
### GNU GENERAL PUBLIC LICENSE
|
||||||
|
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
### Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your freedom
|
||||||
|
to share and change it. By contrast, the GNU General Public License is
|
||||||
|
intended to guarantee your freedom to share and change free
|
||||||
|
software--to make sure the software is free for all its users. This
|
||||||
|
General Public License applies to most of the Free Software
|
||||||
|
Foundation's software and to any other program whose authors commit to
|
||||||
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
|
the GNU Lesser General Public License instead.) You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
this service if you wish), that you receive source code or can get it
|
||||||
|
if you want it, that you can change the software or use pieces of it
|
||||||
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid
|
||||||
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
|
These restrictions translate to certain responsibilities for you if
|
||||||
|
you distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
|
you have. You must make sure that they, too, receive or can get the
|
||||||
|
source code. And you must show them these terms so they know their
|
||||||
|
rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
|
distribute and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain
|
||||||
|
that everyone understands that there is no warranty for this free
|
||||||
|
software. If the software is modified by someone else and passed on,
|
||||||
|
we want its recipients to know that what they have is not the
|
||||||
|
original, so that any problems introduced by others will not reflect
|
||||||
|
on the original authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software
|
||||||
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
|
program will individually obtain patent licenses, in effect making the
|
||||||
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
|
patent must be licensed for everyone's free use or not licensed at
|
||||||
|
all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
### TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
**0.** This License applies to any program or other work which
|
||||||
|
contains a notice placed by the copyright holder saying it may be
|
||||||
|
distributed under the terms of this General Public License. The
|
||||||
|
"Program", below, refers to any such program or work, and a "work
|
||||||
|
based on the Program" means either the Program or any derivative work
|
||||||
|
under copyright law: that is to say, a work containing the Program or
|
||||||
|
a portion of it, either verbatim or with modifications and/or
|
||||||
|
translated into another language. (Hereinafter, translation is
|
||||||
|
included without limitation in the term "modification".) Each licensee
|
||||||
|
is addressed as "you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not
|
||||||
|
covered by this License; they are outside its scope. The act of
|
||||||
|
running the Program is not restricted, and the output from the Program
|
||||||
|
is covered only if its contents constitute a work based on the Program
|
||||||
|
(independent of having been made by running the Program). Whether that
|
||||||
|
is true depends on what the Program does.
|
||||||
|
|
||||||
|
**1.** You may copy and distribute verbatim copies of the Program's
|
||||||
|
source code as you receive it, in any medium, provided that you
|
||||||
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
|
notices that refer to this License and to the absence of any warranty;
|
||||||
|
and give any other recipients of the Program a copy of this License
|
||||||
|
along with the Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
|
you may at your option offer warranty protection in exchange for a
|
||||||
|
fee.
|
||||||
|
|
||||||
|
**2.** You may modify your copy or copies of the Program or any
|
||||||
|
portion of it, thus forming a work based on the Program, and copy and
|
||||||
|
distribute such modifications or work under the terms of Section 1
|
||||||
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
|
||||||
|
**a)** You must cause the modified files to carry prominent notices
|
||||||
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
|
||||||
|
**b)** You must cause any work that you distribute or publish, that in
|
||||||
|
whole or in part contains or is derived from the Program or any part
|
||||||
|
thereof, to be licensed as a whole at no charge to all third parties
|
||||||
|
under the terms of this License.
|
||||||
|
|
||||||
|
|
||||||
|
**c)** If the modified program normally reads commands interactively
|
||||||
|
when run, you must cause it, when started running for such interactive
|
||||||
|
use in the most ordinary way, to print or display an announcement
|
||||||
|
including an appropriate copyright notice and a notice that there is
|
||||||
|
no warranty (or else, saying that you provide a warranty) and that
|
||||||
|
users may redistribute the program under these conditions, and telling
|
||||||
|
the user how to view a copy of this License. (Exception: if the
|
||||||
|
Program itself is interactive but does not normally print such an
|
||||||
|
announcement, your work based on the Program is not required to print
|
||||||
|
an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Program,
|
||||||
|
and can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License, and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. But when you
|
||||||
|
distribute the same sections as part of a whole which is a work based
|
||||||
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
|
this License, whose permissions for other licensees extend to the
|
||||||
|
entire whole, and thus to each and every part regardless of who wrote
|
||||||
|
it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
|
exercise the right to control the distribution of derivative or
|
||||||
|
collective works based on the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program
|
||||||
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
|
a storage or distribution medium does not bring the other work under
|
||||||
|
the scope of this License.
|
||||||
|
|
||||||
|
**3.** You may copy and distribute the Program (or a work based on it,
|
||||||
|
under Section 2) in object code or executable form under the terms of
|
||||||
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
|
|
||||||
|
**a)** Accompany it with the complete corresponding machine-readable
|
||||||
|
source code, which must be distributed under the terms of Sections 1
|
||||||
|
and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
|
||||||
|
**b)** Accompany it with a written offer, valid for at least three
|
||||||
|
years, to give any third party, for a charge no more than your cost of
|
||||||
|
physically performing source distribution, a complete machine-readable
|
||||||
|
copy of the corresponding source code, to be distributed under the
|
||||||
|
terms of Sections 1 and 2 above on a medium customarily used for
|
||||||
|
software interchange; or,
|
||||||
|
|
||||||
|
|
||||||
|
**c)** Accompany it with the information you received as to the offer
|
||||||
|
to distribute corresponding source code. (This alternative is allowed
|
||||||
|
only for noncommercial distribution and only if you received the
|
||||||
|
program in object code or executable form with such an offer, in
|
||||||
|
accord with Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for
|
||||||
|
making modifications to it. For an executable work, complete source
|
||||||
|
code means all the source code for all modules it contains, plus any
|
||||||
|
associated interface definition files, plus the scripts used to
|
||||||
|
control compilation and installation of the executable. However, as a
|
||||||
|
special exception, the source code distributed need not include
|
||||||
|
anything that is normally distributed (in either source or binary
|
||||||
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
|
operating system on which the executable runs, unless that component
|
||||||
|
itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering
|
||||||
|
access to copy from a designated place, then offering equivalent
|
||||||
|
access to copy the source code from the same place counts as
|
||||||
|
distribution of the source code, even though third parties are not
|
||||||
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
**4.** You may not copy, modify, sublicense, or distribute the Program
|
||||||
|
except as expressly provided under this License. Any attempt otherwise
|
||||||
|
to copy, modify, sublicense or distribute the Program is void, and
|
||||||
|
will automatically terminate your rights under this License. However,
|
||||||
|
parties who have received copies, or rights, from you under this
|
||||||
|
License will not have their licenses terminated so long as such
|
||||||
|
parties remain in full compliance.
|
||||||
|
|
||||||
|
**5.** You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to modify or
|
||||||
|
distribute the Program or its derivative works. These actions are
|
||||||
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
|
modifying or distributing the Program (or any work based on the
|
||||||
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
|
all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Program or works based on it.
|
||||||
|
|
||||||
|
**6.** Each time you redistribute the Program (or any work based on
|
||||||
|
the Program), the recipient automatically receives a license from the
|
||||||
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
|
these terms and conditions. You may not impose any further
|
||||||
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
|
You are not responsible for enforcing compliance by third parties to
|
||||||
|
this License.
|
||||||
|
|
||||||
|
**7.** If, as a consequence of a court judgment or allegation of
|
||||||
|
patent infringement or for any other reason (not limited to patent
|
||||||
|
issues), conditions are imposed on you (whether by court order,
|
||||||
|
agreement or otherwise) that contradict the conditions of this
|
||||||
|
License, they do not excuse you from the conditions of this License.
|
||||||
|
If you cannot distribute so as to satisfy simultaneously your
|
||||||
|
obligations under this License and any other pertinent obligations,
|
||||||
|
then as a consequence you may not distribute the Program at all. For
|
||||||
|
example, if a patent license would not permit royalty-free
|
||||||
|
redistribution of the Program by all those who receive copies directly
|
||||||
|
or indirectly through you, then the only way you could satisfy both it
|
||||||
|
and this License would be to refrain entirely from distribution of the
|
||||||
|
Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under
|
||||||
|
any particular circumstance, the balance of the section is intended to
|
||||||
|
apply and the section as a whole is intended to apply in other
|
||||||
|
circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any
|
||||||
|
patents or other property right claims or to contest validity of any
|
||||||
|
such claims; this section has the sole purpose of protecting the
|
||||||
|
integrity of the free software distribution system, which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to
|
||||||
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
**8.** If the distribution and/or use of the Program is restricted in
|
||||||
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Program under this License
|
||||||
|
may add an explicit geographical distribution limitation excluding
|
||||||
|
those countries, so that distribution is permitted only in or among
|
||||||
|
countries not thus excluded. In such case, this License incorporates
|
||||||
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
|
**9.** The Free Software Foundation may publish revised and/or new
|
||||||
|
versions of the General Public License from time to time. Such new
|
||||||
|
versions will be similar in spirit to the present version, but may
|
||||||
|
differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program
|
||||||
|
specifies a version number of this License which applies to it and
|
||||||
|
"any later version", you have the option of following the terms and
|
||||||
|
conditions either of that version or of any later version published by
|
||||||
|
the Free Software Foundation. If the Program does not specify a
|
||||||
|
version number of this License, you may choose any version ever
|
||||||
|
published by the Free Software Foundation.
|
||||||
|
|
||||||
|
**10.** If you wish to incorporate parts of the Program into other
|
||||||
|
free programs whose distribution conditions are different, write to
|
||||||
|
the author to ask for permission. For software which is copyrighted by
|
||||||
|
the Free Software Foundation, write to the Free Software Foundation;
|
||||||
|
we sometimes make exceptions for this. Our decision will be guided by
|
||||||
|
the two goals of preserving the free status of all derivatives of our
|
||||||
|
free software and of promoting the sharing and reuse of software
|
||||||
|
generally.
|
||||||
|
|
||||||
|
**NO WARRANTY**
|
||||||
|
|
||||||
|
**11.** BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||||
|
WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||||
|
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||||
|
OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY
|
||||||
|
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||||
|
PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
|
||||||
|
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
**12.** IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||||
|
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||||
|
AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||||
|
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||||
|
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||||
|
PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||||
|
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||||
|
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
|
||||||
|
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||||
|
DAMAGES.
|
||||||
|
|
||||||
|
### END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
### How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these
|
||||||
|
terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest to
|
||||||
|
attach them to the start of each source file to most effectively
|
||||||
|
convey the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
one line to give the program's name and an idea of what it does.
|
||||||
|
Copyright (C) yyyy name of author
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper
|
||||||
|
mail.
|
||||||
|
|
||||||
|
If the program is interactive, make it output a short notice like this
|
||||||
|
when it starts in an interactive mode:
|
||||||
|
|
||||||
|
Gnomovision version 69, Copyright (C) year name of author
|
||||||
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
|
||||||
|
type `show w'. This is free software, and you are welcome
|
||||||
|
to redistribute it under certain conditions; type `show c'
|
||||||
|
for details.
|
||||||
|
|
||||||
|
The hypothetical commands \`show w' and \`show c' should show the
|
||||||
|
appropriate parts of the General Public License. Of course, the
|
||||||
|
commands you use may be called something other than \`show w' and
|
||||||
|
\`show c'; they could even be mouse-clicks or menu items--whatever
|
||||||
|
suits your program.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or
|
||||||
|
your school, if any, to sign a "copyright disclaimer" for the program,
|
||||||
|
if necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright
|
||||||
|
interest in the program `Gnomovision'
|
||||||
|
(which makes passes at compilers) written
|
||||||
|
by James Hacker.
|
||||||
|
|
||||||
|
signature of Ty Coon, 1 April 1989
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
This General Public License does not permit incorporating your program
|
||||||
|
into proprietary programs. If your program is a subroutine library,
|
||||||
|
you may consider it more useful to permit linking proprietary
|
||||||
|
applications with the library. If this is what you want to do, use the
|
||||||
|
[GNU Lesser General Public
|
||||||
|
License](http://www.gnu.org/licenses/lgpl.html) instead of this
|
||||||
|
License.
|
122
themes/mainroad/README.md
Normal file
|
@ -0,0 +1,122 @@
|
||||||
|
# Mainroad
|
||||||
|
|
||||||
|
**Mainroad** is a responsive, simple, clean and content-focused [Hugo](https://gohugo.io/) theme based on the [MH Magazine lite](https://wordpress.org/themes/mh-magazine-lite/) WordPress theme by [MH Themes](https://www.mhthemes.com/).
|
||||||
|
|
||||||
|
**[Demo (Best)](https://hugothemes.gitlab.io/mainroad/)** | [Standart Demo](https://themes.gohugo.io/theme/mainroad/)
|
||||||
|
|
||||||
|
![screenshot](https://github.com/Vimux/mainroad/blob/master/images/screenshot.png)
|
||||||
|
|
||||||
|
**Features:**
|
||||||
|
|
||||||
|
+ Hugo internal templates (Open Graph, Twitter Cards, Disqus, Google Analytics)
|
||||||
|
+ Responsive menu
|
||||||
|
+ SVG icons
|
||||||
|
+ Theme options (Sidebar position, Author Box, Post Navigation) available through config.toml file parameters
|
||||||
|
+ Table of Contents
|
||||||
|
+ MathJax
|
||||||
|
|
||||||
|
**Browser support:**
|
||||||
|
|
||||||
|
+ **Desktop:** IE10+, Chrome, Firefox, Safari
|
||||||
|
+ **Mobile:** Android browser (on Android 4.4+), Safari (on iOS 7+), Google Chrome, Opera mini
|
||||||
|
|
||||||
|
Other browsers (like Opera on Blink engine) are also supported, but not tested. Support for older versions of Internet Explorer (IE9 and below) ended.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
In your Hugo site `themes` directory, run:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ git clone https://github.com/vimux/mainroad
|
||||||
|
```
|
||||||
|
|
||||||
|
Next, open `config.toml` in the base of the Hugo site and ensure the theme option is set to `mainroad`:
|
||||||
|
|
||||||
|
```
|
||||||
|
theme = "mainroad"
|
||||||
|
```
|
||||||
|
|
||||||
|
For more information read the official [setup guide](https://gohugo.io/themes/installing-and-using-themes/) of Hugo.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
### Config.toml example
|
||||||
|
|
||||||
|
```toml
|
||||||
|
baseurl = "/"
|
||||||
|
title = "Mainroad"
|
||||||
|
languageCode = "en-us"
|
||||||
|
paginate = "10" # Number of posts per page
|
||||||
|
theme = "mainroad"
|
||||||
|
disqusShortname = "" # Enable comments by entering your Disqus shortname
|
||||||
|
googleAnalytics = "" # Enable Google Analytics by entering your tracking id
|
||||||
|
|
||||||
|
[Author] # Used in authorbox
|
||||||
|
name = "John Doe"
|
||||||
|
bio = "John Doe's true identity is unknown. Maybe he is a successful blogger or writer. Nobody knows it."
|
||||||
|
avatar = "img/avatar.png"
|
||||||
|
|
||||||
|
[Params]
|
||||||
|
subtitle = "Just another site" # Subtitle of your site. Used in site header
|
||||||
|
description = " John Doe's Personal blog about everything" # Site description. Used in meta description
|
||||||
|
opengraph = true # Enable OpenGraph if true
|
||||||
|
twitter_cards = true # Enable Twitter Cards if true
|
||||||
|
readmore = false # Show "Read more" button in list if true
|
||||||
|
leftsidebar = false # Move sidebar to the left side if true
|
||||||
|
authorbox = true # Show authorbox at bottom of pages if true
|
||||||
|
toc = true # Enable Table of Contents
|
||||||
|
post_navigation = true # Show post navigation at bottom of pages if true
|
||||||
|
postSections = ["post"] # the section pages to show on home page and the "Recent articles" widget
|
||||||
|
#postSections = ["blog", "news"] # alternative that shows more than one section's pages
|
||||||
|
#dateformat = "2006-01-02" # change the format of dates
|
||||||
|
#mathjax: true # Enable MathJax
|
||||||
|
#mathjaxPath: "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js" # Specify MathJax path
|
||||||
|
#mathjaxConfig: "TeX-AMS-MML_HTMLorMML" # Specify MathJax config
|
||||||
|
|
||||||
|
[Params.widgets]
|
||||||
|
search = true # Enable "Search" widget
|
||||||
|
recent_articles = true # Enable "Recent articles" widget
|
||||||
|
recent_articles_num = 5 # Set the number of articles in the "Recent articles" widget
|
||||||
|
categories = true # Enable "Categories" widget
|
||||||
|
tags = true # Enable "Tags" widget
|
||||||
|
tags_counter = false # Enable counter for each tag in "Tags" widget (disabled by default)
|
||||||
|
|
||||||
|
# Enable "Social" widget, if any of "social_*" set a value
|
||||||
|
social_facebook = "username"
|
||||||
|
social_twitter = "username"
|
||||||
|
social_linkedin = "username"
|
||||||
|
social_github = "username"
|
||||||
|
social_email = "example@example.com"
|
||||||
|
social_google_plus = "profileid"
|
||||||
|
```
|
||||||
|
|
||||||
|
### Front Matter example
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
title: "Example article title"
|
||||||
|
date: "2017-08-21"
|
||||||
|
description: "Example article description"
|
||||||
|
thumbnail: "img/placeholder.jpg" # Optional, thumbnail
|
||||||
|
disable_comments: false # Optional, disable Disqus comments if true
|
||||||
|
authorbox: true # Optional, enable authorbox for specific post
|
||||||
|
toc: true # Optional, enable Table of Contents for specific post
|
||||||
|
mathjax: true # Optional, enable MathJax for specific post
|
||||||
|
categories:
|
||||||
|
- "Category 1"
|
||||||
|
- "Category 2"
|
||||||
|
tags:
|
||||||
|
- "Test"
|
||||||
|
- "Another test"
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
For more information about front matter variables read [Hugo Front Matter](https://gohugo.io/themes/installing-and-using-themes/) from Hugo official documentation.
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Have you found a bug or got an idea for a new feature? Feel free to use the [issue tracker](https://github.com/Vimux/mainroad/issues) to let me know. Or make directly a [pull request](https://github.com/Vimux/mainroad/pulls), but please respect the following [contributing guide](https://github.com/Vimux/Mainroad/wiki/Contributing).
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This theme is released under the [GPLv2 license](https://github.com/Vimux/mainroad/blob/master/LICENSE.md).
|
10
themes/mainroad/archetypes/default.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
title: "{{ replace .TranslationBaseName '-' ' ' | title }}"
|
||||||
|
description: ""
|
||||||
|
date: "{{ .Date }}"
|
||||||
|
thumbnail: ""
|
||||||
|
categories:
|
||||||
|
- ""
|
||||||
|
tags:
|
||||||
|
- ""
|
||||||
|
---
|
2
themes/mainroad/exampleSite/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
public/
|
||||||
|
themes
|
32
themes/mainroad/exampleSite/config.toml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
baseurl = "/"
|
||||||
|
title = "Mainroad"
|
||||||
|
languageCode = "en-us"
|
||||||
|
paginate = "10" # Number of posts per page
|
||||||
|
theme = "mainroad"
|
||||||
|
disqusShortname = "" # Enable comments by entering your Disqus shortname
|
||||||
|
googleAnalytics = "" # Enable Google Analytics by entering your tracking id
|
||||||
|
|
||||||
|
[Author]
|
||||||
|
name = "John Doe"
|
||||||
|
bio = "John Doe's true identity is unknown. Maybe he is a successful blogger or writer. Nobody knows it."
|
||||||
|
avatar = "img/avatar.png"
|
||||||
|
|
||||||
|
|
||||||
|
[Params]
|
||||||
|
subtitle = "Just another site" # Subtitle of your site
|
||||||
|
description = " John Doe's Personal blog about everything" # Description of your site
|
||||||
|
opengraph = true
|
||||||
|
twitter_cards = false
|
||||||
|
readmore = false # Show "Read more" button in list if true
|
||||||
|
leftsidebar = false # Move sidebar to the left side if true
|
||||||
|
authorbox = true
|
||||||
|
post_navigation = true
|
||||||
|
postSections = ["post"]
|
||||||
|
|
||||||
|
|
||||||
|
[Params.widgets]
|
||||||
|
search = true # Enable "Search" widget
|
||||||
|
recent_articles = true # Enable "Recent arcticles" widget
|
||||||
|
categories = true # Enable "Categories" widget
|
||||||
|
tags = true # Enable "Tags" widget
|
||||||
|
tags_counter = false # Enable counter for each tag in "Tags" widget (disabled by default)
|
30
themes/mainroad/exampleSite/content/about.md
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
---
|
||||||
|
title: About Hugo
|
||||||
|
date: 2014-04-09
|
||||||
|
menu: main
|
||||||
|
---
|
||||||
|
|
||||||
|
Hugo is a static site engine written in Go.
|
||||||
|
|
||||||
|
|
||||||
|
It makes use of a variety of open source projects including:
|
||||||
|
|
||||||
|
* [Cobra](https://github.com/spf13/cobra)
|
||||||
|
* [Viper](https://github.com/spf13/viper)
|
||||||
|
* [J Walter Weatherman](https://github.com/spf13/jWalterWeatherman)
|
||||||
|
* [Cast](https://github.com/spf13/cast)
|
||||||
|
|
||||||
|
Learn more and contribute on [GitHub](https://github.com/spf13).
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
Some fun facts about [Hugo](http://gohugo.io/):
|
||||||
|
|
||||||
|
* Built in [Go](http://golang.org/)
|
||||||
|
* Loosely inspired by [Jekyll](http://jekyllrb.com/)
|
||||||
|
* Primarily developed by [spf13](http://spf13.com/) on the train while commuting to and from Manhattan.
|
||||||
|
* Coded in [Vim](http://vim.org) using [spf13-vim](http://vim.spf13.com/)
|
||||||
|
|
||||||
|
Have questions or suggestions? Feel free to [open an issue on GitHub](https://github.com/spf13/hugo/issues/new) or [ask me on Twitter](https://twitter.com/spf13).
|
||||||
|
|
||||||
|
Thanks for reading!
|
166
themes/mainroad/exampleSite/content/post/basic-elements.md
Normal file
|
@ -0,0 +1,166 @@
|
||||||
|
---
|
||||||
|
title: Basic HTML Elements
|
||||||
|
description: Example test article that contains basic HTML elements for text formatting on the Web.
|
||||||
|
date: 2018-04-16
|
||||||
|
categories:
|
||||||
|
- "Development"
|
||||||
|
tags:
|
||||||
|
- "HTML"
|
||||||
|
- "CSS"
|
||||||
|
- "Basic Elements"
|
||||||
|
---
|
||||||
|
|
||||||
|
The main purpose of this article is to make sure that all basic HTML Elements are decorated with CSS so as to not miss any possible elements when creating new themes for Hugo.
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
## Headings
|
||||||
|
|
||||||
|
Let's start with all possible headings. The HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level and `<h6>` is the lowest.
|
||||||
|
|
||||||
|
# Heading 1
|
||||||
|
## Heading 2
|
||||||
|
### Heading 3
|
||||||
|
#### Heading 4
|
||||||
|
##### Heading 5
|
||||||
|
###### Heading 6
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
|
## Paragraph
|
||||||
|
|
||||||
|
According to the [HTML5 specification](https://www.w3.org/TR/html5/dom.html#elements) by [W3C](https://www.w3.org/), **HTML documents consist of a tree of elements and text**. Each element is denoted in the source by a [start tag](https://www.w3.org/TR/html5/syntax.html#syntax-start-tags), such as `<body>`, and an [end tag](https://www.w3.org/TR/html5/syntax.html#syntax-end-tags), such as `</body>`. (*Certain start tags and end tags can in certain cases be omitted and are implied by other tags.*)
|
||||||
|
|
||||||
|
Elements can have attributes, which control how the elements work. For example, hyperlink are formed using the `a` element and its `href` attribute.
|
||||||
|
|
||||||
|
## List Types
|
||||||
|
|
||||||
|
### Ordered List
|
||||||
|
|
||||||
|
1. First item
|
||||||
|
2. Second item
|
||||||
|
3. Third item
|
||||||
|
|
||||||
|
### Unordered List
|
||||||
|
|
||||||
|
* List item
|
||||||
|
* Another item
|
||||||
|
* And another item
|
||||||
|
|
||||||
|
### Nested list
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>First item</li>
|
||||||
|
<li>Second item
|
||||||
|
<ul>
|
||||||
|
<li>Second item First subitem</li>
|
||||||
|
<li>Second item second subitem
|
||||||
|
<ul>
|
||||||
|
<li>Second item Second subitem First sub-subitem</li>
|
||||||
|
<li>Second item Second subitem Second sub-subitem</li>
|
||||||
|
<li>Second item Second subitem Third sub-subitem</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li>Second item Third subitem
|
||||||
|
<ol>
|
||||||
|
<li>Second item Third subitem First sub-subitem</li>
|
||||||
|
<li>Second item Third subitem Second sub-subitem</li>
|
||||||
|
<li>Second item Third subitem Third sub-subitem</li>
|
||||||
|
</ol>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li>Third item</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
### Definition List
|
||||||
|
|
||||||
|
HTML also supports definition lists.
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>Blanco tequila</dt>
|
||||||
|
<dd>The purest form of the blue agave spirit...</dd>
|
||||||
|
<dt>Reposado tequila</dt>
|
||||||
|
<dd>Typically aged in wooden barrels for between two and eleven months...</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
## Blockquotes
|
||||||
|
|
||||||
|
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
|
||||||
|
|
||||||
|
> Quoted text.
|
||||||
|
> This line is part of the same quote.
|
||||||
|
> Also you can *put* **Markdown** into a blockquote.
|
||||||
|
|
||||||
|
Blockquote with a citation.
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
<p>My goal wasn't to make a ton of money. It was to build good computers. I only started the company when I realized I could be an engineer forever.</p>
|
||||||
|
<footer>— <cite>Steve Wozniak</cite></footer>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
According to Mozilla's website, <q cite="https://www.mozilla.org/en-US/about/history/details/">Firefox 1.0 was released in 2004 and became a big success.</q>
|
||||||
|
|
||||||
|
## Tables
|
||||||
|
|
||||||
|
Tables aren't part of the core Markdown spec, but Hugo supports them.
|
||||||
|
|
||||||
|
| ID | Make | Model | Year |
|
||||||
|
| --- | --------- | ------- | ---- |
|
||||||
|
| 1 | Honda | Accord | 2009 |
|
||||||
|
| 2 | Toyota | Camry | 2012 |
|
||||||
|
| 3 | Hyundai | Elantra | 2010 |
|
||||||
|
|
||||||
|
Colons can be used to align columns.
|
||||||
|
|
||||||
|
| Tables | Are | Cool |
|
||||||
|
|:----------- |:-------------:| ------------:|
|
||||||
|
| align: left | align: center | align: right |
|
||||||
|
| align: left | align: center | align: right |
|
||||||
|
| align: left | align: center | align: right |
|
||||||
|
|
||||||
|
You can also use inline Markdown.
|
||||||
|
|
||||||
|
| Inline | Markdown | In | Table |
|
||||||
|
| ---------- | --------- | ----------------- | ---------- |
|
||||||
|
| *italics* | **bold** | ~~strikethrough~~ | `code` |
|
||||||
|
|
||||||
|
## Code
|
||||||
|
|
||||||
|
```html
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Example HTML5 Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Test</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
```
|
||||||
|
|
||||||
|
{{< highlight html >}}
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Example HTML5 Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Test</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
{{< /highlight >}}
|
||||||
|
|
||||||
|
## Other stuff — abbr, sub, sup, kbd, etc.
|
||||||
|
|
||||||
|
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
|
||||||
|
|
||||||
|
H<sub>2</sub>O
|
||||||
|
|
||||||
|
C<sub>6</sub>H<sub>12</sub>O<sub>6</sub>
|
||||||
|
|
||||||
|
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
||||||
|
|
||||||
|
Press <kbd>X</kbd> to win. Or press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>F</kbd></kbd> to show FPS counter.
|
||||||
|
|
||||||
|
<mark>As a unit of information in information theory, the bit has alternatively been called a shannon</mark>, named after Claude Shannon, the founder of field of information theory.
|
1143
themes/mainroad/exampleSite/content/post/creating-a-new-theme.md
Normal file
344
themes/mainroad/exampleSite/content/post/goisforlovers.md
Normal file
|
@ -0,0 +1,344 @@
|
||||||
|
---
|
||||||
|
title: "(Hu)go Template Primer"
|
||||||
|
date: 2014-04-02
|
||||||
|
thumbnail: "img/placeholder.png"
|
||||||
|
tags:
|
||||||
|
- "go"
|
||||||
|
- "golang"
|
||||||
|
- "templates"
|
||||||
|
- "themes"
|
||||||
|
- "development"
|
||||||
|
categories:
|
||||||
|
- "Development"
|
||||||
|
- "golang"
|
||||||
|
menu: main
|
||||||
|
---
|
||||||
|
|
||||||
|
Hugo uses the excellent [go][] [html/template][gohtmltemplate] library for
|
||||||
|
its template engine. It is an extremely lightweight engine that provides a very
|
||||||
|
small amount of logic. In our experience that it is just the right amount of
|
||||||
|
logic to be able to create a good static website. If you have used other
|
||||||
|
template systems from different languages or frameworks you will find a lot of
|
||||||
|
similarities in go templates.
|
||||||
|
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
This document is a brief primer on using go templates. The [go docs][gohtmltemplate]
|
||||||
|
provide more details.
|
||||||
|
|
||||||
|
## Introduction to Go Templates
|
||||||
|
|
||||||
|
Go templates provide an extremely simple template language. It adheres to the
|
||||||
|
belief that only the most basic of logic belongs in the template or view layer.
|
||||||
|
One consequence of this simplicity is that go templates parse very quickly.
|
||||||
|
|
||||||
|
A unique characteristic of go templates is they are content aware. Variables and
|
||||||
|
content will be sanitized depending on the context of where they are used. More
|
||||||
|
details can be found in the [go docs][gohtmltemplate].
|
||||||
|
|
||||||
|
## Basic Syntax
|
||||||
|
|
||||||
|
Go lang templates are html files with the addition of variables and
|
||||||
|
functions.
|
||||||
|
|
||||||
|
**Go variables and functions are accessible within {{ }}**
|
||||||
|
|
||||||
|
Accessing a predefined variable "foo":
|
||||||
|
|
||||||
|
{{ foo }}
|
||||||
|
|
||||||
|
**Parameters are separated using spaces**
|
||||||
|
|
||||||
|
Calling the add function with input of 1, 2:
|
||||||
|
|
||||||
|
{{ add 1 2 }}
|
||||||
|
|
||||||
|
**Methods and fields are accessed via dot notation**
|
||||||
|
|
||||||
|
Accessing the Page Parameter "bar"
|
||||||
|
|
||||||
|
{{ .Params.bar }}
|
||||||
|
|
||||||
|
**Parentheses can be used to group items together**
|
||||||
|
|
||||||
|
{{ if or (isset .Params "alt") (isset .Params "caption") }} Caption {{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
## Variables
|
||||||
|
|
||||||
|
Each go template has a struct (object) made available to it. In hugo each
|
||||||
|
template is passed either a page or a node struct depending on which type of
|
||||||
|
page you are rendering. More details are available on the
|
||||||
|
[variables](/layout/variables) page.
|
||||||
|
|
||||||
|
A variable is accessed by referencing the variable name.
|
||||||
|
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
|
||||||
|
Variables can also be defined and referenced.
|
||||||
|
|
||||||
|
{{ $address := "123 Main St."}}
|
||||||
|
{{ $address }}
|
||||||
|
|
||||||
|
|
||||||
|
## Functions
|
||||||
|
|
||||||
|
Go template ship with a few functions which provide basic functionality. The go
|
||||||
|
template system also provides a mechanism for applications to extend the
|
||||||
|
available functions with their own. [Hugo template
|
||||||
|
functions](/layout/functions) provide some additional functionality we believe
|
||||||
|
are useful for building websites. Functions are called by using their name
|
||||||
|
followed by the required parameters separated by spaces. Template
|
||||||
|
functions cannot be added without recompiling hugo.
|
||||||
|
|
||||||
|
**Example:**
|
||||||
|
|
||||||
|
{{ add 1 2 }}
|
||||||
|
|
||||||
|
## Includes
|
||||||
|
|
||||||
|
When including another template you will pass to it the data it will be
|
||||||
|
able to access. To pass along the current context please remember to
|
||||||
|
include a trailing dot. The templates location will always be starting at
|
||||||
|
the /layout/ directory within Hugo.
|
||||||
|
|
||||||
|
**Example:**
|
||||||
|
|
||||||
|
{{ template "chrome/header.html" . }}
|
||||||
|
|
||||||
|
|
||||||
|
## Logic
|
||||||
|
|
||||||
|
Go templates provide the most basic iteration and conditional logic.
|
||||||
|
|
||||||
|
### Iteration
|
||||||
|
|
||||||
|
Just like in go, the go templates make heavy use of range to iterate over
|
||||||
|
a map, array or slice. The following are different examples of how to use
|
||||||
|
range.
|
||||||
|
|
||||||
|
**Example 1: Using Context**
|
||||||
|
|
||||||
|
{{ range array }}
|
||||||
|
{{ . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
**Example 2: Declaring value variable name**
|
||||||
|
|
||||||
|
{{range $element := array}}
|
||||||
|
{{ $element }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
**Example 2: Declaring key and value variable name**
|
||||||
|
|
||||||
|
{{range $index, $element := array}}
|
||||||
|
{{ $index }}
|
||||||
|
{{ $element }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
### Conditionals
|
||||||
|
|
||||||
|
If, else, with, or, & and provide the framework for handling conditional
|
||||||
|
logic in Go Templates. Like range, each statement is closed with `end`.
|
||||||
|
|
||||||
|
|
||||||
|
Go Templates treat the following values as false:
|
||||||
|
|
||||||
|
* false
|
||||||
|
* 0
|
||||||
|
* any array, slice, map, or string of length zero
|
||||||
|
|
||||||
|
**Example 1: If**
|
||||||
|
|
||||||
|
{{ if isset .Params "title" }}<h4>{{ index .Params "title" }}</h4>{{ end }}
|
||||||
|
|
||||||
|
**Example 2: If -> Else**
|
||||||
|
|
||||||
|
{{ if isset .Params "alt" }}
|
||||||
|
{{ index .Params "alt" }}
|
||||||
|
{{else}}
|
||||||
|
{{ index .Params "caption" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
**Example 3: And & Or**
|
||||||
|
|
||||||
|
{{ if and (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}}
|
||||||
|
|
||||||
|
**Example 4: With**
|
||||||
|
|
||||||
|
An alternative way of writing "if" and then referencing the same value
|
||||||
|
is to use "with" instead. With rebinds the context `.` within its scope,
|
||||||
|
and skips the block if the variable is absent.
|
||||||
|
|
||||||
|
The first example above could be simplified as:
|
||||||
|
|
||||||
|
{{ with .Params.title }}<h4>{{ . }}</h4>{{ end }}
|
||||||
|
|
||||||
|
**Example 5: If -> Else If**
|
||||||
|
|
||||||
|
{{ if isset .Params "alt" }}
|
||||||
|
{{ index .Params "alt" }}
|
||||||
|
{{ else if isset .Params "caption" }}
|
||||||
|
{{ index .Params "caption" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
## Pipes
|
||||||
|
|
||||||
|
One of the most powerful components of go templates is the ability to
|
||||||
|
stack actions one after another. This is done by using pipes. Borrowed
|
||||||
|
from unix pipes, the concept is simple, each pipeline's output becomes the
|
||||||
|
input of the following pipe.
|
||||||
|
|
||||||
|
Because of the very simple syntax of go templates, the pipe is essential
|
||||||
|
to being able to chain together function calls. One limitation of the
|
||||||
|
pipes is that they only can work with a single value and that value
|
||||||
|
becomes the last parameter of the next pipeline.
|
||||||
|
|
||||||
|
A few simple examples should help convey how to use the pipe.
|
||||||
|
|
||||||
|
**Example 1 :**
|
||||||
|
|
||||||
|
{{ if eq 1 1 }} Same {{ end }}
|
||||||
|
|
||||||
|
is the same as
|
||||||
|
|
||||||
|
{{ eq 1 1 | if }} Same {{ end }}
|
||||||
|
|
||||||
|
It does look odd to place the if at the end, but it does provide a good
|
||||||
|
illustration of how to use the pipes.
|
||||||
|
|
||||||
|
**Example 2 :**
|
||||||
|
|
||||||
|
{{ index .Params "disqus_url" | html }}
|
||||||
|
|
||||||
|
Access the page parameter called "disqus_url" and escape the HTML.
|
||||||
|
|
||||||
|
**Example 3 :**
|
||||||
|
|
||||||
|
{{ if or (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}}
|
||||||
|
Stuff Here
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
Could be rewritten as
|
||||||
|
|
||||||
|
{{ isset .Params "caption" | or isset .Params "title" | or isset .Params "attr" | if }}
|
||||||
|
Stuff Here
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
## Context (aka. the dot)
|
||||||
|
|
||||||
|
The most easily overlooked concept to understand about go templates is that {{ . }}
|
||||||
|
always refers to the current context. In the top level of your template this
|
||||||
|
will be the data set made available to it. Inside of a iteration it will have
|
||||||
|
the value of the current item. When inside of a loop the context has changed. .
|
||||||
|
will no longer refer to the data available to the entire page. If you need to
|
||||||
|
access this from within the loop you will likely want to set it to a variable
|
||||||
|
instead of depending on the context.
|
||||||
|
|
||||||
|
**Example:**
|
||||||
|
|
||||||
|
{{ $title := .Site.Title }}
|
||||||
|
{{ range .Params.tags }}
|
||||||
|
<li> <a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a> - {{ $title }} </li>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
Notice how once we have entered the loop the value of {{ . }} has changed. We
|
||||||
|
have defined a variable outside of the loop so we have access to it from within
|
||||||
|
the loop.
|
||||||
|
|
||||||
|
# Hugo Parameters
|
||||||
|
|
||||||
|
Hugo provides the option of passing values to the template language
|
||||||
|
through the site configuration (for sitewide values), or through the meta
|
||||||
|
data of each specific piece of content. You can define any values of any
|
||||||
|
type (supported by your front matter/config format) and use them however
|
||||||
|
you want to inside of your templates.
|
||||||
|
|
||||||
|
|
||||||
|
## Using Content (page) Parameters
|
||||||
|
|
||||||
|
In each piece of content you can provide variables to be used by the
|
||||||
|
templates. This happens in the [front matter](/content/front-matter).
|
||||||
|
|
||||||
|
An example of this is used in this documentation site. Most of the pages
|
||||||
|
benefit from having the table of contents provided. Sometimes the TOC just
|
||||||
|
doesn't make a lot of sense. We've defined a variable in our front matter
|
||||||
|
of some pages to turn off the TOC from being displayed.
|
||||||
|
|
||||||
|
Here is the example front matter:
|
||||||
|
|
||||||
|
```
|
||||||
|
---
|
||||||
|
title: "Permalinks"
|
||||||
|
date: "2013-11-18"
|
||||||
|
aliases:
|
||||||
|
- "/doc/permalinks/"
|
||||||
|
groups: ["extras"]
|
||||||
|
groups_weight: 30
|
||||||
|
notoc: true
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
Here is the corresponding code inside of the template:
|
||||||
|
|
||||||
|
{{ if not .Params.notoc }}
|
||||||
|
<div id="toc" class="well col-md-4 col-sm-6">
|
||||||
|
{{ .TableOfContents }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Using Site (config) Parameters
|
||||||
|
In your top-level configuration file (eg, `config.yaml`) you can define site
|
||||||
|
parameters, which are values which will be available to you in chrome.
|
||||||
|
|
||||||
|
For instance, you might declare:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
params:
|
||||||
|
CopyrightHTML: "Copyright © 2013 John Doe. All Rights Reserved."
|
||||||
|
TwitterUser: "spf13"
|
||||||
|
SidebarRecentLimit: 5
|
||||||
|
```
|
||||||
|
|
||||||
|
Within a footer layout, you might then declare a `<footer>` which is only
|
||||||
|
provided if the `CopyrightHTML` parameter is provided, and if it is given,
|
||||||
|
you would declare it to be HTML-safe, so that the HTML entity is not escaped
|
||||||
|
again. This would let you easily update just your top-level config file each
|
||||||
|
January 1st, instead of hunting through your templates.
|
||||||
|
|
||||||
|
```
|
||||||
|
{{if .Site.Params.CopyrightHTML}}<footer>
|
||||||
|
<div class="text-center">{{.Site.Params.CopyrightHTML | safeHtml}}</div>
|
||||||
|
</footer>{{end}}
|
||||||
|
```
|
||||||
|
|
||||||
|
An alternative way of writing the "if" and then referencing the same value
|
||||||
|
is to use "with" instead. With rebinds the context `.` within its scope,
|
||||||
|
and skips the block if the variable is absent:
|
||||||
|
|
||||||
|
```
|
||||||
|
{{with .Site.Params.TwitterUser}}<span class="twitter">
|
||||||
|
<a href="https://twitter.com/{{.}}" rel="author">
|
||||||
|
<img src="/images/twitter.png" width="48" height="48" title="Twitter: {{.}}"
|
||||||
|
alt="Twitter"></a>
|
||||||
|
</span>{{end}}
|
||||||
|
```
|
||||||
|
|
||||||
|
Finally, if you want to pull "magic constants" out of your layouts, you can do
|
||||||
|
so, such as in this example:
|
||||||
|
|
||||||
|
```
|
||||||
|
<nav class="recent">
|
||||||
|
<h1>Recent Posts</h1>
|
||||||
|
<ul>{{range first .Site.Params.SidebarRecentLimit .Site.Recent}}
|
||||||
|
<li><a href="{{.RelPermalink}}">{{.Title}}</a></li>
|
||||||
|
{{end}}</ul>
|
||||||
|
</nav>
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
[go]: <http://golang.org/>
|
||||||
|
[gohtmltemplate]: <http://golang.org/pkg/html/template/>
|
86
themes/mainroad/exampleSite/content/post/hugoisforlovers.md
Normal file
|
@ -0,0 +1,86 @@
|
||||||
|
---
|
||||||
|
title: Getting Started with Hugo
|
||||||
|
date: 2014-04-02
|
||||||
|
tags:
|
||||||
|
- "go"
|
||||||
|
- "golang"
|
||||||
|
- "hugo"
|
||||||
|
- "development"
|
||||||
|
categories:
|
||||||
|
- "Development"
|
||||||
|
- "golang"
|
||||||
|
menu: main
|
||||||
|
---
|
||||||
|
|
||||||
|
## Step 1. Install Hugo
|
||||||
|
|
||||||
|
Goto [hugo releases](https://github.com/spf13/hugo/releases) and download the
|
||||||
|
appropriate version for your os and architecture.
|
||||||
|
|
||||||
|
Save it somewhere specific as we will be using it in the next step.
|
||||||
|
|
||||||
|
More complete instructions are available at [installing hugo](/overview/installing/)
|
||||||
|
|
||||||
|
## Step 2. Build the Docs
|
||||||
|
|
||||||
|
Hugo has its own example site which happens to also be the documentation site
|
||||||
|
you are reading right now.
|
||||||
|
|
||||||
|
Follow the following steps:
|
||||||
|
|
||||||
|
1. Clone the [hugo repository](http://github.com/spf13/hugo)
|
||||||
|
2. Go into the repo
|
||||||
|
3. Run hugo in server mode and build the docs
|
||||||
|
4. Open your browser to http://localhost:1313
|
||||||
|
|
||||||
|
Corresponding pseudo commands:
|
||||||
|
|
||||||
|
git clone https://github.com/spf13/hugo
|
||||||
|
cd hugo
|
||||||
|
/path/to/where/you/installed/hugo server --source=./docs
|
||||||
|
> 29 pages created
|
||||||
|
> 0 tags index created
|
||||||
|
> in 27 ms
|
||||||
|
> Web Server is available at http://localhost:1313
|
||||||
|
> Press ctrl+c to stop
|
||||||
|
|
||||||
|
Once you've gotten here, follow along the rest of this page on your local build.
|
||||||
|
|
||||||
|
## Step 3. Change the docs site
|
||||||
|
|
||||||
|
Stop the Hugo process by hitting ctrl+c.
|
||||||
|
|
||||||
|
Now we are going to run hugo again, but this time with hugo in watch mode.
|
||||||
|
|
||||||
|
/path/to/hugo/from/step/1/hugo server --source=./docs --watch
|
||||||
|
> 29 pages created
|
||||||
|
> 0 tags index created
|
||||||
|
> in 27 ms
|
||||||
|
> Web Server is available at http://localhost:1313
|
||||||
|
> Watching for changes in /Users/spf13/Code/hugo/docs/content
|
||||||
|
> Press ctrl+c to stop
|
||||||
|
|
||||||
|
|
||||||
|
Open your [favorite editor](http://vim.spf13.com) and change one of the source
|
||||||
|
content pages. How about changing this very file to *fix the typo*. How about changing this very file to *fix the typo*.
|
||||||
|
|
||||||
|
Content files are found in `docs/content/`. Unless otherwise specified, files
|
||||||
|
are located at the same relative location as the url, in our case
|
||||||
|
`docs/content/overview/quickstart.md`.
|
||||||
|
|
||||||
|
Change and save this file.. Notice what happened in your terminal.
|
||||||
|
|
||||||
|
> Change detected, rebuilding site
|
||||||
|
|
||||||
|
> 29 pages created
|
||||||
|
> 0 tags index created
|
||||||
|
> in 26 ms
|
||||||
|
|
||||||
|
Refresh the browser and observe that the typo is now fixed.
|
||||||
|
|
||||||
|
Notice how quick that was. Try to refresh the site before it's finished building.. I double dare you.
|
||||||
|
Having nearly instant feedback enables you to have your creativity flow without waiting for long builds.
|
||||||
|
|
||||||
|
## Step 4. Have fun
|
||||||
|
|
||||||
|
The best way to learn something is to play with it.
|
155
themes/mainroad/exampleSite/content/post/migrate-from-jekyll.md
Normal file
|
@ -0,0 +1,155 @@
|
||||||
|
---
|
||||||
|
title: Migrate to Hugo from Jekyll
|
||||||
|
date: 2014-03-10
|
||||||
|
linktitle: Migrating from Jekyll
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
name: Jekyll migration
|
||||||
|
weight: 10
|
||||||
|
---
|
||||||
|
|
||||||
|
## Move static content to `static`
|
||||||
|
Jekyll has a rule that any directory not starting with `_` will be copied as-is to the `_site` output. Hugo keeps all static content under `static`. You should therefore move it all there.
|
||||||
|
With Jekyll, something that looked like
|
||||||
|
|
||||||
|
▾ <root>/
|
||||||
|
▾ images/
|
||||||
|
logo.png
|
||||||
|
|
||||||
|
should become
|
||||||
|
|
||||||
|
▾ <root>/
|
||||||
|
▾ static/
|
||||||
|
▾ images/
|
||||||
|
logo.png
|
||||||
|
|
||||||
|
Additionally, you'll want any files that should reside at the root (such as `CNAME`) to be moved to `static`.
|
||||||
|
|
||||||
|
## Create your Hugo configuration file
|
||||||
|
Hugo can read your configuration as JSON, YAML or TOML. Hugo supports parameters custom configuration too. Refer to the [Hugo configuration documentation](/overview/configuration/) for details.
|
||||||
|
|
||||||
|
## Set your configuration publish folder to `_site`
|
||||||
|
The default is for Jekyll to publish to `_site` and for Hugo to publish to `public`. If, like me, you have [`_site` mapped to a git submodule on the `gh-pages` branch](http://blog.blindgaenger.net/generate_github_pages_in_a_submodule.html), you'll want to do one of two alternatives:
|
||||||
|
|
||||||
|
1. Change your submodule to point to map `gh-pages` to public instead of `_site` (recommended).
|
||||||
|
|
||||||
|
git submodule deinit _site
|
||||||
|
git rm _site
|
||||||
|
git submodule add -b gh-pages git@github.com:your-username/your-repo.git public
|
||||||
|
|
||||||
|
2. Or, change the Hugo configuration to use `_site` instead of `public`.
|
||||||
|
|
||||||
|
{
|
||||||
|
..
|
||||||
|
"publishdir": "_site",
|
||||||
|
..
|
||||||
|
}
|
||||||
|
|
||||||
|
## Convert Jekyll templates to Hugo templates
|
||||||
|
That's the bulk of the work right here. The documentation is your friend. You should refer to [Jekyll's template documentation](http://jekyllrb.com/docs/templates/) if you need to refresh your memory on how you built your blog and [Hugo's template](/layout/templates/) to learn Hugo's way.
|
||||||
|
|
||||||
|
As a single reference data point, converting my templates for [heyitsalex.net](http://heyitsalex.net/) took me no more than a few hours.
|
||||||
|
|
||||||
|
## Convert Jekyll plugins to Hugo shortcodes
|
||||||
|
Jekyll has [plugins](http://jekyllrb.com/docs/plugins/); Hugo has [shortcodes](/doc/shortcodes/). It's fairly trivial to do a port.
|
||||||
|
|
||||||
|
### Implementation
|
||||||
|
As an example, I was using a custom [`image_tag`](https://github.com/alexandre-normand/alexandre-normand/blob/74bb12036a71334fdb7dba84e073382fc06908ec/_plugins/image_tag.rb) plugin to generate figures with caption when running Jekyll. As I read about shortcodes, I found Hugo had a nice built-in shortcode that does exactly the same thing.
|
||||||
|
|
||||||
|
Jekyll's plugin:
|
||||||
|
|
||||||
|
module Jekyll
|
||||||
|
class ImageTag < Liquid::Tag
|
||||||
|
@url = nil
|
||||||
|
@caption = nil
|
||||||
|
@class = nil
|
||||||
|
@link = nil
|
||||||
|
// Patterns
|
||||||
|
IMAGE_URL_WITH_CLASS_AND_CAPTION =
|
||||||
|
IMAGE_URL_WITH_CLASS_AND_CAPTION_AND_LINK = /(\w+)(\s+)((https?:\/\/|\/)(\S+))(\s+)"(.*?)"(\s+)->((https?:\/\/|\/)(\S+))(\s*)/i
|
||||||
|
IMAGE_URL_WITH_CAPTION = /((https?:\/\/|\/)(\S+))(\s+)"(.*?)"/i
|
||||||
|
IMAGE_URL_WITH_CLASS = /(\w+)(\s+)((https?:\/\/|\/)(\S+))/i
|
||||||
|
IMAGE_URL = /((https?:\/\/|\/)(\S+))/i
|
||||||
|
def initialize(tag_name, markup, tokens)
|
||||||
|
super
|
||||||
|
if markup =~ IMAGE_URL_WITH_CLASS_AND_CAPTION_AND_LINK
|
||||||
|
@class = $1
|
||||||
|
@url = $3
|
||||||
|
@caption = $7
|
||||||
|
@link = $9
|
||||||
|
elsif markup =~ IMAGE_URL_WITH_CLASS_AND_CAPTION
|
||||||
|
@class = $1
|
||||||
|
@url = $3
|
||||||
|
@caption = $7
|
||||||
|
elsif markup =~ IMAGE_URL_WITH_CAPTION
|
||||||
|
@url = $1
|
||||||
|
@caption = $5
|
||||||
|
elsif markup =~ IMAGE_URL_WITH_CLASS
|
||||||
|
@class = $1
|
||||||
|
@url = $3
|
||||||
|
elsif markup =~ IMAGE_URL
|
||||||
|
@url = $1
|
||||||
|
end
|
||||||
|
end
|
||||||
|
def render(context)
|
||||||
|
if @class
|
||||||
|
source = "<figure class='#{@class}'>"
|
||||||
|
else
|
||||||
|
source = "<figure>"
|
||||||
|
end
|
||||||
|
if @link
|
||||||
|
source += "<a href=\"#{@link}\">"
|
||||||
|
end
|
||||||
|
source += "<img src=\"#{@url}\">"
|
||||||
|
if @link
|
||||||
|
source += "</a>"
|
||||||
|
end
|
||||||
|
source += "<figcaption>#{@caption}</figcaption>" if @caption
|
||||||
|
source += "</figure>"
|
||||||
|
source
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
Liquid::Template.register_tag('image', Jekyll::ImageTag)
|
||||||
|
|
||||||
|
is written as this Hugo shortcode:
|
||||||
|
|
||||||
|
<!-- image -->
|
||||||
|
<figure {{ with .Get "class" }}class="{{.}}"{{ end }}>
|
||||||
|
{{ with .Get "link"}}<a href="{{.}}">{{ end }}
|
||||||
|
<img src="{{ .Get "src" }}" {{ if or (.Get "alt") (.Get "caption") }}alt="{{ with .Get "alt"}}{{.}}{{else}}{{ .Get "caption" }}{{ end }}"{{ end }} />
|
||||||
|
{{ if .Get "link"}}</a>{{ end }}
|
||||||
|
{{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
|
||||||
|
<figcaption>{{ if isset .Params "title" }}
|
||||||
|
{{ .Get "title" }}{{ end }}
|
||||||
|
{{ if or (.Get "caption") (.Get "attr")}}<p>
|
||||||
|
{{ .Get "caption" }}
|
||||||
|
{{ with .Get "attrlink"}}<a href="{{.}}"> {{ end }}
|
||||||
|
{{ .Get "attr" }}
|
||||||
|
{{ if .Get "attrlink"}}</a> {{ end }}
|
||||||
|
</p> {{ end }}
|
||||||
|
</figcaption>
|
||||||
|
{{ end }}
|
||||||
|
</figure>
|
||||||
|
<!-- image -->
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
I simply changed:
|
||||||
|
|
||||||
|
{% image full http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg "One of my favorite touristy-type photos. I secretly waited for the good light while we were "having fun" and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." ->http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/ %}
|
||||||
|
|
||||||
|
to this (this example uses a slightly extended version named `fig`, different than the built-in `figure`):
|
||||||
|
|
||||||
|
{{%/* fig class="full" src="http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg" title="One of my favorite touristy-type photos. I secretly waited for the good light while we were having fun and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." link="http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/" */%}}
|
||||||
|
|
||||||
|
As a bonus, the shortcode named parameters are, arguably, more readable.
|
||||||
|
|
||||||
|
## Finishing touches
|
||||||
|
### Fix content
|
||||||
|
Depending on the amount of customization that was done with each post with Jekyll, this step will require more or less effort. There are no hard and fast rules here except that `hugo server --watch` is your friend. Test your changes and fix errors as needed.
|
||||||
|
|
||||||
|
### Clean up
|
||||||
|
You'll want to remove the Jekyll configuration at this point. If you have anything else that isn't used, delete it.
|
||||||
|
|
||||||
|
## A practical example in a diff
|
||||||
|
[Hey, it's Alex](http://heyitsalex.net/) was migrated in less than a _father-with-kids day_ from Jekyll to Hugo. You can see all the changes (and screw-ups) by looking at this [diff](https://github.com/alexandre-normand/alexandre-normand/compare/869d69435bd2665c3fbf5b5c78d4c22759d7613a...b7f6605b1265e83b4b81495423294208cc74d610).
|
0
themes/mainroad/exampleSite/data/.gitkeep
Normal file
0
themes/mainroad/exampleSite/static/.gitkeep
Normal file
63
themes/mainroad/i18n/en.yaml
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
# General
|
||||||
|
- id: read_more
|
||||||
|
translation: Read more…
|
||||||
|
|
||||||
|
# Post meta
|
||||||
|
- id: meta_lastmod
|
||||||
|
translation: Last Modified
|
||||||
|
|
||||||
|
# Table of Contents
|
||||||
|
- id: toc_title
|
||||||
|
translation: Page content
|
||||||
|
|
||||||
|
# Post nav
|
||||||
|
- id: post_nav_prev
|
||||||
|
translation: Previous
|
||||||
|
|
||||||
|
- id: post_nav_next
|
||||||
|
translation: Next
|
||||||
|
|
||||||
|
# Authorbox
|
||||||
|
- id: authorbox_name
|
||||||
|
translation: About {{ .Count }}
|
||||||
|
|
||||||
|
# Sidebar
|
||||||
|
- id: sidebar_warning
|
||||||
|
translation: WARNING
|
||||||
|
|
||||||
|
- id: sidebar_recommendation
|
||||||
|
translation: Please activate at least one sidebar widget.
|
||||||
|
|
||||||
|
# Search widget
|
||||||
|
- id: search_placeholder
|
||||||
|
translation: SEARCH...
|
||||||
|
|
||||||
|
# Categories widget
|
||||||
|
- id: categories_title
|
||||||
|
translation: Categories
|
||||||
|
|
||||||
|
# Recent Posts widget
|
||||||
|
- id: recent_title
|
||||||
|
translation: Recent Posts
|
||||||
|
|
||||||
|
# Social widget
|
||||||
|
- id: social_title
|
||||||
|
translation: Social
|
||||||
|
|
||||||
|
# Tags List widget
|
||||||
|
- id: tags_title
|
||||||
|
translation: Tags
|
||||||
|
|
||||||
|
# Footer
|
||||||
|
- id: footer_credits
|
||||||
|
translation: "Generated with <a href=\"https://gohugo.io/\" rel=\"nofollow noopener\" target=\"_blank\">Hugo</a> and <a href=\"https://github.com/Vimux/Mainroad/\" rel=\"nofollow noopener\" target=\"_blank\">Mainroad</a> theme."
|
||||||
|
|
||||||
|
# 404
|
||||||
|
- id: 404_title
|
||||||
|
translation: 404. Page not found
|
||||||
|
|
||||||
|
- id: 404_text
|
||||||
|
translation: "The page you were looking for appears to have been moved, deleted or does not exist. Please, use search or go to"
|
||||||
|
|
||||||
|
- id: 404_linktext
|
||||||
|
translation: "main page"
|
BIN
themes/mainroad/images/screenshot.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
themes/mainroad/images/tn.png
Normal file
After Width: | Height: | Size: 50 KiB |
11
themes/mainroad/layouts/404.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{{ partial "header.html" . }}
|
||||||
|
|
||||||
|
<main class="main content" role="main">
|
||||||
|
<div class="warning">
|
||||||
|
<h1 class="warning__headline">{{ T "404_title" }}</h1>
|
||||||
|
<p class="warning__text">{{ T "404_text" }} <a href="{{ "" | relLangURL }}">{{ T "404_linktext" }}</a>.</p>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
{{ partial "sidebar.html" . }}
|
||||||
|
{{ partial "footer.html" . }}
|
39
themes/mainroad/layouts/_default/list.html
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
{{ partial "header.html" . }}
|
||||||
|
|
||||||
|
<main class="main list content" role="main">
|
||||||
|
{{- if not .IsHome}}
|
||||||
|
{{- with .Title }}
|
||||||
|
<header class="page-header">
|
||||||
|
<h1 class="page-header__title">{{ . }}</h1>
|
||||||
|
</header>
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Content }}
|
||||||
|
<div class="page-content">
|
||||||
|
{{ . }}
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- if .IsHome }}
|
||||||
|
{{- $postSections := ($.Param "postSections" | default (slice "post")) }}
|
||||||
|
{{- $paginator := .Paginate ( where .Data.Pages "Section" "in" $postSections ) }}
|
||||||
|
{{- range $paginator.Pages }}
|
||||||
|
{{- .Render "summary" }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if eq $paginator.TotalNumberOfElements 0 }}
|
||||||
|
<div class="warning">
|
||||||
|
<svg class="warning__icon icon icon-files" viewBox="0 0 384 384" width="96" height="96" fill="#ddd"><path d="m368 64h-224-16v16 288 16h16 224 16v-16-288-16zm-16 288h-192v-256h192zm-320-320h192v16h32v-32-16h-16-224-16v16 288 16h16 96v-32h-80zm144 272h160v-32h-160zm0-64h160v-32h-160zm0-64h160v-32h-160zm-128 64h64v-32h-64zm0-64h64v-32h-64zm0-64h64v-32h-64z"/></svg>
|
||||||
|
<h3 class="warning__headline">You don't have any posts yet!</h3>
|
||||||
|
<p class="warning__text">As posts are added in <b>{{ replaceRE ",([^,]*)$" " or $1" (delimit (apply $postSections "printf" "content/%s" ".") ", ") }}</b> folder{{ if gt (len $postSections) 1 }}s{{ end }}, they'll appear here.</p>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{ else }}
|
||||||
|
{{- range .Paginator.Pages }}
|
||||||
|
{{- .Render "summary" }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{ partial "pagination.html" . }}
|
||||||
|
</main>
|
||||||
|
|
||||||
|
{{ partial "sidebar.html" . }}
|
||||||
|
{{ partial "footer.html" . }}
|
26
themes/mainroad/layouts/_default/single.html
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{{ partial "header.html" . }}
|
||||||
|
|
||||||
|
<main class="main content">
|
||||||
|
<article class="post">
|
||||||
|
<header class="post__header">
|
||||||
|
<h1 class="post__title">{{ .Title }}</h1>
|
||||||
|
{{- if or (not .Date.IsZero) .Params.categories }}<div class="post__meta meta">{{ partial "post_meta.html" . }}</div>{{ end }}
|
||||||
|
</header>
|
||||||
|
{{- if .Params.thumbnail }}
|
||||||
|
<figure class="post__thumbnail">
|
||||||
|
<img src="{{ .Params.thumbnail | relURL }}" alt="{{ .Title }}">
|
||||||
|
</figure>
|
||||||
|
{{- end }}
|
||||||
|
{{- partial "post_toc.html" . -}}
|
||||||
|
<div class="post__content clearfix">
|
||||||
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
|
{{ partial "post_tags.html" . }}
|
||||||
|
</article>
|
||||||
|
{{ partial "authorbox.html" . }}
|
||||||
|
{{ partial "post_nav.html" . }}
|
||||||
|
{{ partial "comments.html" . }}
|
||||||
|
</main>
|
||||||
|
|
||||||
|
{{ partial "sidebar.html" . }}
|
||||||
|
{{ partial "footer.html" . }}
|
27
themes/mainroad/layouts/_default/summary.html
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
<article class="list__item post">
|
||||||
|
{{- if .Params.thumbnail }}
|
||||||
|
<figure class="list__thumbnail">
|
||||||
|
<a href="{{ .Permalink }}">
|
||||||
|
<img src="{{ .Params.thumbnail | relURL }}" alt="{{ .Title }}" />
|
||||||
|
</a>
|
||||||
|
</figure>
|
||||||
|
{{- end }}
|
||||||
|
<div class="list__content clearfix">
|
||||||
|
<header class="list__header">
|
||||||
|
<h3 class="list__title post__title ">
|
||||||
|
<a href="{{ .RelPermalink }}" rel="bookmark">{{ .Title }}</a>
|
||||||
|
</h3>
|
||||||
|
{{- if or (not .Date.IsZero) .Params.categories }}<div class="list__meta meta">{{ partial "post_meta.html" . }}</div>{{- end }}
|
||||||
|
</header>
|
||||||
|
<div class="list__excerpt post__content">
|
||||||
|
{{ .Summary }}
|
||||||
|
</div>
|
||||||
|
{{- if .Site.Params.readmore }}
|
||||||
|
{{- if .Truncated }}
|
||||||
|
<div class="list__footer">
|
||||||
|
<a class="list__footer-readmore btn" href="{{ .RelPermalink }}">{{ T "read_more" }}</a>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
</div>
|
||||||
|
</article>
|
22
themes/mainroad/layouts/partials/authorbox.html
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{{- if .Param "authorbox" }}
|
||||||
|
<div class="authorbox clearfix">
|
||||||
|
{{- if and (not .Site.Author.avatar) (not .Site.Author.name) (not .Site.Author.bio) }}
|
||||||
|
<p class="authorbox__warning"><strong>WARNING:</strong> Authorbox is activated, but [Author] parameters are not specified.</p>
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Site.Author.avatar }}
|
||||||
|
<figure class="authorbox__avatar">
|
||||||
|
<img alt="{{ $.Site.Author.name }} avatar" src="{{ $.Site.Author.avatar | relURL }}" class="avatar" height="90" width="90">
|
||||||
|
</figure>
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Site.Author.name }}
|
||||||
|
<div class="authorbox__header">
|
||||||
|
<span class="authorbox__name">{{ T "authorbox_name" . }}</span>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Site.Author.bio }}
|
||||||
|
<div class="authorbox__description">
|
||||||
|
{{ . }}
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
5
themes/mainroad/layouts/partials/comments.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{{ if and .Site.DisqusShortname (not (or .Site.Params.disable_comments .Params.disable_comments)) }}
|
||||||
|
<section class="comments">
|
||||||
|
{{ template "_internal/disqus.html" . }}
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
16
themes/mainroad/layouts/partials/footer.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
</div><!-- .wrapper -->
|
||||||
|
<footer class="footer">
|
||||||
|
<div class="container container-inner">
|
||||||
|
<div class="footer__copyright">© {{ now.Format "2006" }} {{ .Site.Title }}. <span class="footer__copyright-credits">{{ T "footer_credits" | safeHTML }}</span></div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</div><!-- .container-outer -->
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var navigation = responsiveNav(".menu", {
|
||||||
|
navClass: "menu--collapse",
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{{- partial "mathjax.html" . -}}
|
||||||
|
</body>
|
||||||
|
</html>
|
36
themes/mainroad/layouts/partials/header.html
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{else}}{{ .Params.Description }}{{end}}">
|
||||||
|
{{ .Hugo.Generator }}
|
||||||
|
{{ if .Site.Params.opengraph }}{{ template "_internal/opengraph.html" . }}{{ end }}
|
||||||
|
{{ if .Site.Params.twitter_cards }}{{ template "_internal/twitter_cards.html" . }}{{ end }}
|
||||||
|
<link rel="dns-prefetch" href="//fonts.googleapis.com">
|
||||||
|
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
||||||
|
{{- range .AlternativeOutputFormats }}
|
||||||
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .RelPermalink | safeURL }}">
|
||||||
|
{{- end }}
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700">
|
||||||
|
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
|
||||||
|
<script type="text/javascript" src="{{ "js/scripts.js" | relURL }}"></script>
|
||||||
|
<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}">
|
||||||
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
|
</head>
|
||||||
|
<body class="body {{ if (.Site.Params.leftsidebar) or (.Params.leftsidebar) }}body-left-sidebar{{ else }}body-right-sidebar{{ end }}">
|
||||||
|
<div class="container container-outer">
|
||||||
|
<header class="header">
|
||||||
|
<div class="container container-inner">
|
||||||
|
<div class="logo" role="banner">
|
||||||
|
<a class="logo__link" href="{{ "" | relLangURL }}" title="{{ .Site.Title }}" rel="home">
|
||||||
|
<div class="logo__title">{{ .Site.Title }}</div>
|
||||||
|
{{ with .Site.Params.subtitle }}<div class="logo__tagline">{{ . }}</div>{{ end }}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{ partial "menu.html" . }}
|
||||||
|
</header>
|
||||||
|
<div class="wrapper clearfix">
|
3
themes/mainroad/layouts/partials/mathjax.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{{ if and .IsPage (eq (.Param "mathjax") true) }}
|
||||||
|
<script src="{{ .Param "mathjaxPath" | default "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js" }}{{ with .Param "mathjaxConfig" | default "TeX-AMS-MML_HTMLorMML" }}?config={{ . }}{{ end }}" async></script>
|
||||||
|
{{ end }}
|
14
themes/mainroad/layouts/partials/menu.html
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{{- if .Site.Menus.main }}
|
||||||
|
<nav class="menu">
|
||||||
|
<ul class="menu__list">
|
||||||
|
{{- $currentNode := . }}
|
||||||
|
{{- range sort .Site.Menus.main }}
|
||||||
|
{{- if .Name}}
|
||||||
|
<li class="menu__item{{if or ($currentNode.IsMenuCurrent "main" .) ($currentNode.HasMenuCurrent "main" .) }} menu__item--active{{end}}"><a class="menu__link" href="{{ .URL }}">{{ .Name | upper }}</a></li>
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
{{ else -}}
|
||||||
|
<div class="divider"></div>
|
||||||
|
{{- end }}
|
11
themes/mainroad/layouts/partials/pagination.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
|
||||||
|
<div class="pagination">
|
||||||
|
{{- if .Paginator.HasPrev }}
|
||||||
|
<a class="pagination__item pagination__item--prev btn" href="{{ .Paginator.Prev.URL }}">«</a>
|
||||||
|
{{- end }}
|
||||||
|
<span class="pagination__item pagination__item--current">{{ .Paginator.PageNumber }}/{{ .Paginator.TotalPages }}</span>
|
||||||
|
{{- if .Paginator.HasNext }}
|
||||||
|
<a class="pagination__item pagination__item--next btn" href="{{ .Paginator.Next.URL }}">»</a>
|
||||||
|
{{- end }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
13
themes/mainroad/layouts/partials/post_meta.html
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{{- if not .Date.IsZero }}
|
||||||
|
<svg class="icon icon-time" width="16" height="14" viewBox="0 0 16 16"><path d="m8-.0000003c-4.4 0-8 3.6-8 8 0 4.4000003 3.6 8.0000003 8 8.0000003 4.4 0 8-3.6 8-8.0000003 0-4.4-3.6-8-8-8zm0 14.4000003c-3.52 0-6.4-2.88-6.4-6.4000003 0-3.52 2.88-6.4 6.4-6.4 3.52 0 6.4 2.88 6.4 6.4 0 3.5200003-2.88 6.4000003-6.4 6.4000003zm.4-10.4000003h-1.2v4.8l4.16 2.5600003.64-1.04-3.6-2.1600003z"/></svg>
|
||||||
|
<time class="post__meta-date meta-date" datetime="{{ .Date.Format "2006-01-02T15:04:05" }}">{{.Date.Format ( .Site.Params.dateformat | default "January 02, 2006")}}</time>
|
||||||
|
{{- end }}
|
||||||
|
{{- if ne .Date .Lastmod }}
|
||||||
|
<time class="post__meta-lastmod meta-lastmod" datetime="{{ .Lastmod.Format "2006-01-02T15:04:05" }}"> ({{ T "meta_lastmod" }}: {{.Lastmod.Format ( .Site.Params.dateformat | default "January 02, 2006")}})</time>
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Params.categories }}
|
||||||
|
<span class="post__meta-categories meta-categories">
|
||||||
|
<svg class="icon icon-category" width="16" height="16" viewBox="0 0 16 16"><path d="m7 2l1 2h8v11h-16v-13z"/></svg>
|
||||||
|
<span class="meta-categories__list">{{ range $index, $category := .Params.categories }}{{ if gt $index 0 }}, {{ end }}<a class="meta-categories__link" href="{{ "categories/" | relLangURL }}{{ . | urlize | lower }}" rel="category">{{ . }}</a>{{ end }}</span>
|
||||||
|
</span>
|
||||||
|
{{- end }}
|
16
themes/mainroad/layouts/partials/post_nav.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{{- if .Site.Params.post_navigation }}
|
||||||
|
{{- if or (.PrevInSection) (.NextInSection) }}
|
||||||
|
<nav class="post-nav row clearfix">
|
||||||
|
{{- if .PrevInSection }}
|
||||||
|
<div class="post-nav__item post-nav__item--prev col-1-2">
|
||||||
|
<a class="post-nav__link" href="{{.PrevInSection.RelPermalink}}" rel="prev"><span class="post-nav__caption">« {{ T "post_nav_prev" }}</span><p class="post-nav__post-title">{{.PrevInSection.Title}}</p></a>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- if .NextInSection }}
|
||||||
|
<div class="post-nav__item post-nav__item--next col-1-2">
|
||||||
|
<a class="post-nav__link" href="{{.NextInSection.RelPermalink}}" rel="next"><span class="post-nav__caption">{{ T "post_nav_next" }} »</span><p class="post-nav__post-title">{{.NextInSection.Title}}</p></a>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
</nav>
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
10
themes/mainroad/layouts/partials/post_tags.html
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{{- if .Params.tags }}
|
||||||
|
<div class="post__tags tags clearfix">
|
||||||
|
<svg class="icon icon-tag" width="16" height="16" viewBox="0 0 16 16"><path d="M16 9.5c0 .373-.24.74-.5 1l-5 5c-.275.26-.634.5-1 .5-.373 0-.74-.24-1-.5L1 8a2.853 2.853 0 0 1-.7-1C.113 6.55 0 5.973 0 5.6V1.4C0 1.034.134.669.401.401.67.134 1.034 0 1.4 0h4.2c.373 0 .95.113 1.4.3.45.187.732.432 1 .7l7.5 7.502c.26.274.5.632.5.998zM3.5 5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/></svg>
|
||||||
|
<ul class="tags__list">
|
||||||
|
{{- range .Params.tags }}
|
||||||
|
<li class="tags__item"><a class="tags__link btn" href="{{ "tags/" | relLangURL }}{{ . | urlize }}/" rel="tag">{{ . }}</a></li>
|
||||||
|
{{- end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
8
themes/mainroad/layouts/partials/post_toc.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{{ if .Param "toc" }}
|
||||||
|
<div class="post__toc toc">
|
||||||
|
<div class="toc__title">{{ T "toc_title" }}</div>
|
||||||
|
<div class="toc__menu">
|
||||||
|
{{ .TableOfContents }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
11
themes/mainroad/layouts/partials/sidebar.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<aside class="sidebar">
|
||||||
|
{{ partial "widgets/search.html" . }}
|
||||||
|
{{ partial "widgets/recent.html" . }}
|
||||||
|
{{ partial "widgets/categories.html" . }}
|
||||||
|
{{ partial "widgets/social.html" . }}
|
||||||
|
{{ partial "widgets/taglist.html" . }}
|
||||||
|
|
||||||
|
{{- if and (not .Site.Params.widgets.search) (not .Site.Params.widgets.recent_articles) (not .Site.Params.widgets.categories) (not .Site.Params.widgets.social) (not .Site.Params.widgets.taglist) }}
|
||||||
|
<p class="sidebar__warning"><strong>{{ T "sidebar_warning" }}:</strong><br>{{ T "sidebar_recommendation" }}</p>
|
||||||
|
{{- end }}
|
||||||
|
</aside>
|
16
themes/mainroad/layouts/partials/widgets/categories.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{{- if .Site.Params.widgets.categories }}
|
||||||
|
{{- if isset .Site.Taxonomies "categories" }}
|
||||||
|
{{- if not (eq (len .Site.Taxonomies.categories) 0) }}
|
||||||
|
<div class="widget-categories widget">
|
||||||
|
<h4 class="widget__title">{{ T "categories_title" }}</h4>
|
||||||
|
<div class="widget__content">
|
||||||
|
<ul class="widget__list">
|
||||||
|
{{- range $name, $items := .Site.Taxonomies.categories }}
|
||||||
|
<li class="widget__item"><a class="widget__link" href="{{ "categories/" | relLangURL }}{{ $name | urlize | lower }}">{{ $name | title | humanize }}</a></li>
|
||||||
|
{{- end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
13
themes/mainroad/layouts/partials/widgets/recent.html
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{{- if .Site.Params.widgets.recent_articles }}
|
||||||
|
<div class="widget-recent widget">
|
||||||
|
<h4 class="widget__title">{{ T "recent_title" }}</h4>
|
||||||
|
<div class="widget__content">
|
||||||
|
<ul class="widget__list">
|
||||||
|
{{- $recent_articles_num := (.Site.Params.widgets.recent_articles_num | default 10) }}
|
||||||
|
{{- range first $recent_articles_num (where .Site.RegularPages "Section" "in" (.Site.Params.postSections | default (slice "post"))) }}
|
||||||
|
<li class="widget__item"><a class="widget__link" href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||||
|
{{- end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
11
themes/mainroad/layouts/partials/widgets/search.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{{- if .Site.Params.widgets.search }}
|
||||||
|
<div class="widget-search widget">
|
||||||
|
<form class="widget-search__form" role="search" method="get" action="https://google.com/search">
|
||||||
|
<label>
|
||||||
|
<input class="widget-search__field" type="search" placeholder="{{ T "search_placeholder" }}" value="" name="q">
|
||||||
|
</label>
|
||||||
|
<input class="widget-search__submit" type="submit" value="Search">
|
||||||
|
<input type="hidden" name="sitesearch" value="{{ .Site.BaseURL }}" />
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
55
themes/mainroad/layouts/partials/widgets/social.html
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
{{- if or .Site.Params.widgets.social_facebook .Site.Params.widgets.social_twitter .Site.Params.widgets.social_linkedin .Site.Params.widgets.social_github .Site.Params.widgets.social_google_plus .Site.Params.widgets.social_email }}
|
||||||
|
<div class="widget-social widget">
|
||||||
|
<h4 class="widget-social__title widget__title">{{ T "social_title" }}</h4>
|
||||||
|
<div class="widget-social__content widget__content">
|
||||||
|
{{- with .Site.Params.widgets.social_facebook }}
|
||||||
|
<div class="widget-social__item widget__item">
|
||||||
|
<a class="widget-social__link widget__link btn" title="Facebook" rel="noopener noreferrer" href="https://facebook.com/{{ . }}" target="_blank">
|
||||||
|
<svg class="widget-social__link-icon icon-facebook" viewBox="0 0 352 352" width="24" height="24" fill="#fff"><path d="m0 32v288c0 17.5 14.5 32 32 32h288c17.5 0 32-14.5 32-32v-288c0-17.5-14.5-32-32-32h-288c-17.5 0-32 14.5-32 32zm320 0v288h-83v-108h41.5l6-48h-47.5v-31c0-14 3.5-23.5 23.5-23.5h26v-43.5c-4.4-.6-19.8-1.5-37.5-1.5-36.9 0-62 22.2-62 63.5v36h-42v48h42v108h-155v-288z"/></svg>
|
||||||
|
<span>Facebook</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{{ end -}}
|
||||||
|
{{- with .Site.Params.widgets.social_twitter }}
|
||||||
|
<div class="widget-social__item widget__item">
|
||||||
|
<a class="widget-social__link widget__link btn" title="Twitter" rel="noopener noreferrer" href="https://twitter.com/{{ . }}" target="_blank">
|
||||||
|
<svg class="widget-social__link-icon icon-twitter" viewBox="0 0 384 312" width="24" height="24" fill="#fff"><path d="m384 36.9c-14.1 6.3-29.3 10.5-45.2 12.4 16.3-9.7 28.8-25.2 34.6-43.6-15.2 9-32.1 15.6-50 19.1-14.4-15.2-34.9-24.8-57.5-24.8-43.5 0-78.8 35.3-78.8 78.8 0 6.2.7 12.2 2 17.9-65.5-3.3-123.5-34.6-162.4-82.3-6.7 11.6-10.6 25.2-10.6 39.6 0 27.3 13.9 51.4 35 65.6-12.9-.4-25.1-4-35.7-9.9v1c0 38.2 27.2 70 63.2 77.2-6.6 1.8-13.6 2.8-20.8 2.8-5.1 0-10-.5-14.8-1.4 10 31.3 39.1 54.1 73.6 54.7-27 21.1-60.9 33.7-97.8 33.7-6.4 0-12.6-.4-18.8-1.1 34.9 22.4 76.3 35.4 120.8 35.4 144.9 0 224.1-120 224.1-224.1 0-3.4-.1-6.8-.2-10.2 15.4-11.1 28.7-25 39.3-40.8z"/></svg>
|
||||||
|
<span>Twitter</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Site.Params.widgets.social_linkedin }}
|
||||||
|
<div class="widget-social__item widget__item">
|
||||||
|
<a class="widget-social__link widget__link btn" title="LinkedIn" rel="noopener noreferrer" href="https://linkedin.com/in/{{ . }}" target="_blank">
|
||||||
|
<svg class="widget-social__link-icon icon-linkedin" viewBox="0 0 352 352" width="24" height="24" fill="#fff"><path d="M0,40v272c0,21.9,18.1,40,40,40h272c21.9,0,40-18.1,40-40V40c0-21.9-18.1-40-40-40H40C18.1,0,0,18.1,0,40z M312,32 c4.6,0,8,3.4,8,8v272c0,4.6-3.4,8-8,8H40c-4.6,0-8-3.4-8-8V40c0-4.6,3.4-8,8-8H312z M59.5,87c0,15.2,12.3,27.5,27.5,27.5 c15.2,0,27.5-12.3,27.5-27.5c0-15.2-12.3-27.5-27.5-27.5C71.8,59.5,59.5,71.8,59.5,87z M187,157h-1v-21h-45v152h47v-75 c0-19.8,3.9-39,28.5-39c24.2,0,24.5,22.4,24.5,40v74h47v-83.5c0-40.9-8.7-72-56.5-72C208.5,132.5,193.3,145.1,187,157z M64,288h47.5 V136H64V288z"/></svg>
|
||||||
|
<span>LinkedIn</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Site.Params.widgets.social_github }}
|
||||||
|
<div class="widget-social__item widget__item">
|
||||||
|
<a class="widget-social__link widget__link btn" title="GitHub" rel="noopener noreferrer" href="https://github.com/{{ . }}" target="_blank">
|
||||||
|
<svg class="widget-social__link-icon icon-github" viewBox="0 0 384 374" width="24" height="24" fill="#fff"><path d="m192 0c-106.1 0-192 85.8-192 191.7 0 84.7 55 156.6 131.3 181.9 9.6 1.8 13.1-4.2 13.1-9.2 0-4.6-.2-16.6-.3-32.6-53.4 11.6-64.7-25.7-64.7-25.7-8.7-22.1-21.3-28-21.3-28-17.4-11.9 1.3-11.6 1.3-11.6 19.3 1.4 29.4 19.8 29.4 19.8 17.1 29.3 44.9 20.8 55.9 15.9 1.7-12.4 6.7-20.8 12.2-25.6-42.6-4.8-87.5-21.3-87.5-94.8 0-20.9 7.5-38 19.8-51.4-2-4.9-8.6-24.3 1.9-50.7 0 0 16.1-5.2 52.8 19.7 15.3-4.2 31.7-6.4 48.1-6.5 16.3.1 32.7 2.2 48.1 6.5 36.7-24.8 52.8-19.7 52.8-19.7 10.5 26.4 3.9 45.9 1.9 50.7 12.3 13.4 19.7 30.5 19.7 51.4 0 73.7-44.9 89.9-87.7 94.6 6.9 5.9 13 17.6 13 35.5 0 25.6-.2 46.3-.2 52.6 0 5.1 3.5 11.1 13.2 9.2 76.2-25.5 131.2-97.3 131.2-182 0-105.9-86-191.7-192-191.7z"/></svg>
|
||||||
|
<span>GitHub</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Site.Params.widgets.social_google_plus }}
|
||||||
|
<div class="widget-social__item widget__item">
|
||||||
|
<a class="widget-social__link widget__link btn" title="Google Plus" rel="noopener noreferrer" href="https://plus.google.com/{{ . }}" target="_blank">
|
||||||
|
<svg class="widget-social__link-icon icon-googleplus" viewBox="0 0 512 512" width="24" height="24" fill="#fff"><path d="M0 279c-2-92 66-170 156-173 43-2 83 15 115 45l-43 45C201 177 167 164 132 177c-53 19-81 81-62 136s79 85 132 64c28-11 45-38 53-64l-92 0v-60H320c0 49-4 98-34 136-60 70-162 77-228 15C22 373 2 328 0 279L0 279zM418 205h47l0 49H512v49h-47l0 49h-47v-49h-47v-49h47V205z"/></svg>
|
||||||
|
<span>{{ . }}</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Site.Params.widgets.social_email }}
|
||||||
|
<div class="widget-social__item widget__item">
|
||||||
|
<a class="widget-social__link widget__link btn" title="Email" href="mailto:{{ . }}">
|
||||||
|
<svg class="widget-social__link-icon icon-mail" viewBox="0 0 416 288" width="24" height="24" fill="#fff"><path d="m0 16v256 16h16 384 16v-16-256-16h-16-384-16zm347 16-139 92.5-139-92.5zm-148 125.5 9 5.5 9-5.5 167-111.5v210h-352v-210z"/></svg>
|
||||||
|
<span>{{ . }}</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
14
themes/mainroad/layouts/partials/widgets/taglist.html
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{{- if .Site.Params.widgets.tags }}
|
||||||
|
{{- if isset .Site.Taxonomies "tags" }}
|
||||||
|
{{- if not (eq (len .Site.Taxonomies.tags) 0) }}
|
||||||
|
<div class="widget-taglist widget">
|
||||||
|
<h4 class="widget__title">{{ T "tags_title" }}</h4>
|
||||||
|
<div class="widget__content">
|
||||||
|
{{- range $name, $items := .Site.Taxonomies.tags }}
|
||||||
|
<a class="widget-taglist__link widget__link btn" href="{{ "tags/" | relLangURL }}{{ $name | urlize | lower }}" title="{{ $name | humanize }}">{{ $name | humanize }}{{ if $.Site.Params.widgets.tags_counter }} ({{ $items.Count }}){{ end }}</a>
|
||||||
|
{{- end }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
3584
themes/mainroad/package-lock.json
generated
Normal file
24
themes/mainroad/package.json
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"name": "mainroad",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "Responsive, simple, clean and content-focused Hugo theme based on the MH Magazine lite WordPress theme",
|
||||||
|
"license": "GPL-2.0",
|
||||||
|
"dependencies": {},
|
||||||
|
"devDependencies": {
|
||||||
|
"stylelint": "^9.2.0",
|
||||||
|
"stylelint-order": "^0.8.1"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"lint:css": "stylelint static/css/*.css",
|
||||||
|
"lint": "npm run lint:css",
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/Vimux/Mainroad.git"
|
||||||
|
},
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/Vimux/Mainroad/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/Vimux/Mainroad"
|
||||||
|
}
|
BIN
themes/mainroad/static/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 447 B |
1158
themes/mainroad/static/css/style.css
Normal file
BIN
themes/mainroad/static/favicon.ico
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/mainroad/static/img/avatar.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
themes/mainroad/static/img/placeholder.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
2
themes/mainroad/static/js/scripts.js
Normal file
18
themes/mainroad/theme.toml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
name = "Mainroad"
|
||||||
|
license = "GPLv2"
|
||||||
|
licenselink = "https://github.com/vimux/mainroad/blob/master/LICENSE.md"
|
||||||
|
description = "Mainroad is a responsive, clean and content-focused Hugo theme."
|
||||||
|
homepage = "https://github.com/vimux/mainroad/"
|
||||||
|
tags = ["blog", "responsive", "widgets", "rss", "disqus", "google analytics", "wordpress"]
|
||||||
|
features = ["blog", "responsive", "widgets", "rss", "disqus", "wordpress"]
|
||||||
|
min_version = "0.36"
|
||||||
|
|
||||||
|
[author]
|
||||||
|
name = "Vimux"
|
||||||
|
homepage = "https://github.com/vimux"
|
||||||
|
|
||||||
|
# If porting an existing theme
|
||||||
|
[original]
|
||||||
|
name = "MH Magazine lite"
|
||||||
|
homepage = "https://wordpress.org/themes/mh-magazine-lite/"
|
||||||
|
repo = "https://themes.trac.wordpress.org/browser/mh-magazine-lite/2.5.6"
|