diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..364fdec --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public/ diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..d7ea4ac --- /dev/null +++ b/config.toml @@ -0,0 +1,20 @@ +# The URL the site will be built for +base_url = "https://www.pkmples.cz" +title = "PKM PARTY PLES" + +compile_sass = true +minify_html = true +build_search_index = false + +[markdown] +highlight_code = true +external_links_no_follow = true +external_links_no_referrer = true +smart_punctuation = true + +[extra] +git = "https://github.com/fofrweb/com_pkmples.cz" +nav_items = [ + {name="Home", path="/"}, +] + diff --git a/content/FILES_WILL_BE_THERE b/content/FILES_WILL_BE_THERE new file mode 100644 index 0000000..e69de29 diff --git a/sass/_fonts.scss b/sass/_fonts.scss new file mode 100644 index 0000000..37870ee --- /dev/null +++ b/sass/_fonts.scss @@ -0,0 +1,25 @@ +@font-face { + font-family: open-sans; + font-weight: normal; + font-style: normal; + src: url('fonts/open-sans-regular.woff2') format('woff2'), + url('fonts/open-sans-regular.woff') format('woff'), + url('fonts/open-sans-regular.ttf') format('truetype'); +} +@font-face { + font-family: open-sans; + font-weight: normal; + font-style: italic; + src: url('fonts/open-sans-italic.woff2') format('woff2'), + url('fonts/open-sans-italic.woff') format('woff'), + url('fonts/open-sans-italic.ttf') format('truetype'); +} +@font-face { + font-family: open-sans; + font-weight: bold; + font-style: normal; + src: url('fonts/open-sans-bold.woff2') format('woff2'), + url('fonts/open-sans-bold.woff') format('woff'), + url('fonts/open-sans-bold.ttf') format('truetype'); +} + diff --git a/sass/content.scss b/sass/content.scss new file mode 100644 index 0000000..137974e --- /dev/null +++ b/sass/content.scss @@ -0,0 +1,5 @@ +.content { + display: flex; + flex-direction: column; + margin: 2rem 8rem; +} diff --git a/sass/general.scss b/sass/general.scss new file mode 100644 index 0000000..de5b158 --- /dev/null +++ b/sass/general.scss @@ -0,0 +1,14 @@ +.flex-col { + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; +} + +.flex-row { + display: flex; + justify-content: center; + align-items: center; + flex-direction: row; +} + diff --git a/static/img/FILES_WILL_BE_THERE b/static/img/FILES_WILL_BE_THERE new file mode 100644 index 0000000..e69de29 diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..eeb0e5a --- /dev/null +++ b/templates/404.html @@ -0,0 +1,18 @@ + + + + PKM PARTY PLES | 404 Not found + + + + + + + +
+

404 - Not found

+ Home +
+ + + diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..a7ae4a1 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,62 @@ + + + + + {% block title %} + {% if current_path != "/" %} + {{ config.title }} – + {% if section.title %} + {{ section.title }} + {% elif page.title %} + {{ page.title }} + {% endif %} + {% else %} + {{ config.title }} + {% endif %} + {% endblock title %} + + + + + + + + + {% block styles %} + {% endblock stles %} + + +
+ +
+ +
+ {% block content %} +
+ {% if section %} + {{ section.content | safe }} + {% elif page %} + {{ page.content | safe }} + {% endif %} +
+ {% endblock content %} +
+ + + + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..36b797b --- /dev/null +++ b/templates/index.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} + +{% block content %} + +{% endblock content %} + diff --git a/todo.md b/todo.md new file mode 100644 index 0000000..b6dbda7 --- /dev/null +++ b/todo.md @@ -0,0 +1,2 @@ +# TODO +