diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..4c9df5f609fc9a0f74209784b0b6d062dc2ce075 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*~ + +/node_modules/ +/public/ diff --git a/config.toml b/config.toml new file mode 100644 index 0000000000000000000000000000000000000000..9dc6ce462935a5c2acb4e7e2b19f953062ed834a --- /dev/null +++ b/config.toml @@ -0,0 +1,33 @@ +base_url = "https://teckids.org" + +title = "Teckids" +description = "Eine verstehbare (digitale) Welt – Gemeinsam, für Alle" + +output_dir = "public" +compile_sass = true +build_search_index = true +generate_feed = true +hard_link_static = true +#minify_html = true + +taxonomies = [ +] + +[markdown] +highlight_code = false + +external_links_target_blank = true +external_links_no_referrer = true + +[slugify] +paths_keep_dates = true + +[search] +include_title = true +include_description = true +include_path = false +include_content = true + +index_format = "elasticlunr_json" + +[extra] diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000000000000000000000000000000000000..ac36e0622776b9ea3aff3dd3e2b43b1cdf833eed --- /dev/null +++ b/content/_index.md @@ -0,0 +1,2 @@ ++++ ++++ diff --git a/package.json b/package.json new file mode 100644 index 0000000000000000000000000000000000000000..0504140c92c6095642911456c86befc6ecfe9d74 --- /dev/null +++ b/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "bulma": "^0.9.4" + } +} diff --git a/sass/style.scss b/sass/style.scss new file mode 100644 index 0000000000000000000000000000000000000000..a054507650890cee37dfcf381572698d14b52577 --- /dev/null +++ b/sass/style.scss @@ -0,0 +1,5 @@ +@charset "utf-8"; + +$family-sans-serif: "Roboto", sans-serif; + +@import "../node_modules/bulma/bulma.sass"; diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000000000000000000000000000000000000..f6ac586bdd8f70487c61858bef4308c9c05b6597 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,60 @@ +<!DOCTYPE html> +<html lang="{{ lang }}"> + <head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + + {% block meta %} + {% if config.description %}<meta name="description" content="{{ config.description }}" />{% endif %} + <link rel="alternate" type="application/atom+xml" href="{{ get_url(path="atom.xml", trailing_slash=false) }}" /> + {% endblock %} + + <link rel="stylesheet" href="{{ get_url(path="fonts/roboto/index.css") }}" /> + <link rel="stylesheet" href="{{ get_url(path="fonts/font-awesome/css/all.css") }}" /> + <link rel="stylesheet" href="{{ get_url(path="style.css") }}" /> + + <title>{% block title %}{{ config.title }}{% endblock %}</title> + </head> + + <body class="has-navbar-fixed-top"> + <header> + <nav class="navbar is-fixed-top is-transparent" role="navigation" aria-label="main navigation"> + <div class="navbar-brand"> + <a href="{{ get_url(path="@/_index.md") }}" class="navbar-item">{{ config.title }}</a> + </div> + + <div class="navbar-menu"> + <div class="navbar-start"> + <div class="navbar-item has-dropdown is-hoverable"> + <a href="#" class="navbar-item">Projekte</a> + <div class="navbar-dropdown"> + TBA + </div> + </div> + + <div class="navbar-item has-dropdown is-hoverable"> + <a href="#" class="navbar-item">Informationen für…</a> + <div class="navbar-dropdown"> + TBA + </div> + </div> + + <div class="navbar-item has-dropdown is-hoverable"> + <a href="#" class="navbar-item">Teckids-Gemeinschaft</a> + <div class="navbar-dropdown"> + TBA + </div> + </div> + + <div class="navbar-item has-dropdown is-hoverable"> + <a href="#" class="navbar-item">Updates</a> + <div class="navbar-dropdown"> + TBA + </div> + </div> + </div> + </div> + </nav> + </header> + </body> +</html> diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000000000000000000000000000000000000..94d9808cc760156cb7ab46e326c0267f3406125e --- /dev/null +++ b/templates/index.html @@ -0,0 +1 @@ +{% extends "base.html" %} diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000000000000000000000000000000000000..e7a071ee0caa206c218bec47157e596e7b276ddb --- /dev/null +++ b/yarn.lock @@ -0,0 +1,8 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +bulma@^0.9.4: + version "0.9.4" + resolved "https://registry.yarnpkg.com/bulma/-/bulma-0.9.4.tgz#0ca8aeb1847a34264768dba26a064c8be72674a1" + integrity sha512-86FlT5+1GrsgKbPLRRY7cGDg8fsJiP/jzTqXXVqiUZZ2aZT8uemEOHlU1CDU+TxklPEZ11HZNNWclRBBecP4CQ==