From 6e4ba7778578e32f6bad2fd67025cbbad7bce7d9 Mon Sep 17 00:00:00 2001 From: Nicolas Dato Date: Sat, 3 Jun 2023 23:11:42 -0300 Subject: agrego archivos para zola --- zola/.gitignore | 1 + zola/config.toml | 18 +++ zola/content/_index.md | 4 + zola/content/articles/_index.md | 4 + zola/content/articles/dos.md | 12 ++ zola/content/articles/uno.md | 12 ++ zola/static/favicon.ico | Bin 0 -> 205086 bytes zola/static/fonts/libertinus-bold-italic.woff2 | Bin 0 -> 150712 bytes zola/static/fonts/libertinus-bold.woff2 | Bin 0 -> 174656 bytes zola/static/fonts/libertinus-italic.woff2 | Bin 0 -> 201720 bytes zola/static/fonts/libertinus-regular.woff2 | Bin 0 -> 188040 bytes zola/static/lambda.svg | 19 ++++ zola/static/style.css | 147 +++++++++++++++++++++++++ zola/templates/404.html | 7 ++ zola/templates/base.html | 51 +++++++++ zola/templates/index.html | 11 ++ zola/templates/page.html | 17 +++ zola/templates/section.html | 24 ++++ 18 files changed, 327 insertions(+) create mode 100644 zola/.gitignore create mode 100644 zola/config.toml create mode 100644 zola/content/_index.md create mode 100644 zola/content/articles/_index.md create mode 100644 zola/content/articles/dos.md create mode 100644 zola/content/articles/uno.md create mode 100644 zola/static/favicon.ico create mode 100644 zola/static/fonts/libertinus-bold-italic.woff2 create mode 100644 zola/static/fonts/libertinus-bold.woff2 create mode 100644 zola/static/fonts/libertinus-italic.woff2 create mode 100644 zola/static/fonts/libertinus-regular.woff2 create mode 100644 zola/static/lambda.svg create mode 100644 zola/static/style.css create mode 100644 zola/templates/404.html create mode 100644 zola/templates/base.html create mode 100644 zola/templates/index.html create mode 100644 zola/templates/page.html create mode 100644 zola/templates/section.html diff --git a/zola/.gitignore b/zola/.gitignore new file mode 100644 index 0000000..a48cf0d --- /dev/null +++ b/zola/.gitignore @@ -0,0 +1 @@ +public diff --git a/zola/config.toml b/zola/config.toml new file mode 100644 index 0000000..6e2cd6e --- /dev/null +++ b/zola/config.toml @@ -0,0 +1,18 @@ +# The URL the site will be built for +base_url = "https://ndato.com.ar" + +# Whether to automatically compile all Sass files in the sass directory +compile_sass = false + +# Whether to build a search index to be used later on by a JavaScript library +build_search_index = false + +default_language = "en" + +[markdown] +# Whether to do syntax highlighting +# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola +highlight_code = true + +[extra] +# Put all your custom variables here diff --git a/zola/content/_index.md b/zola/content/_index.md new file mode 100644 index 0000000..dbfa9bf --- /dev/null +++ b/zola/content/_index.md @@ -0,0 +1,4 @@ ++++ +title = "Home" ++++ +Probando diff --git a/zola/content/articles/_index.md b/zola/content/articles/_index.md new file mode 100644 index 0000000..f73ec45 --- /dev/null +++ b/zola/content/articles/_index.md @@ -0,0 +1,4 @@ ++++ +title = "Articles" +sort_by = "date" ++++ diff --git a/zola/content/articles/dos.md b/zola/content/articles/dos.md new file mode 100644 index 0000000..318b62b --- /dev/null +++ b/zola/content/articles/dos.md @@ -0,0 +1,12 @@ ++++ +title = "Mi segundo titulo" +description = "Mi segunda descripcion mas larga para que ocupe mas espacio y tenga varias lineas" +date = 2023-05-29 +updated = 2023-05-29 ++++ + +# Habia un titulo +una vez dos +## Subtitulo +otra vez dos + diff --git a/zola/content/articles/uno.md b/zola/content/articles/uno.md new file mode 100644 index 0000000..0538bde --- /dev/null +++ b/zola/content/articles/uno.md @@ -0,0 +1,12 @@ ++++ +title = "Mi primer titulo" +description = "Mi primera descripcion" +date = 2023-05-28 +updated = 2023-05-28 ++++ + +# Habia un titulo +una vez +## Subtitulo +otra vez + diff --git a/zola/static/favicon.ico b/zola/static/favicon.ico new file mode 100644 index 0000000..8bc351d Binary files /dev/null and b/zola/static/favicon.ico differ diff --git a/zola/static/fonts/libertinus-bold-italic.woff2 b/zola/static/fonts/libertinus-bold-italic.woff2 new file mode 100644 index 0000000..8de1ce0 Binary files /dev/null and b/zola/static/fonts/libertinus-bold-italic.woff2 differ diff --git a/zola/static/fonts/libertinus-bold.woff2 b/zola/static/fonts/libertinus-bold.woff2 new file mode 100644 index 0000000..bf39f3a Binary files /dev/null and b/zola/static/fonts/libertinus-bold.woff2 differ diff --git a/zola/static/fonts/libertinus-italic.woff2 b/zola/static/fonts/libertinus-italic.woff2 new file mode 100644 index 0000000..8f1818a Binary files /dev/null and b/zola/static/fonts/libertinus-italic.woff2 differ diff --git a/zola/static/fonts/libertinus-regular.woff2 b/zola/static/fonts/libertinus-regular.woff2 new file mode 100644 index 0000000..9d37f80 Binary files /dev/null and b/zola/static/fonts/libertinus-regular.woff2 differ diff --git a/zola/static/lambda.svg b/zola/static/lambda.svg new file mode 100644 index 0000000..4d6305d --- /dev/null +++ b/zola/static/lambda.svg @@ -0,0 +1,19 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/zola/static/style.css b/zola/static/style.css new file mode 100644 index 0000000..3d61611 --- /dev/null +++ b/zola/static/style.css @@ -0,0 +1,147 @@ +:root { + --base03: #002b36; + --base02: #073642; + --base01: #586e75; + --base00: #657b83; + --base0: #839496; + --base1: #93a1a1; + --base2: #eee8d5; + --base3: #fdf6e3; + --yellow: #b58900; + --orange: #cb4b16; + --red: #dc322f; + --magenta: #d33682; + --violet: #6c71c4; + --blue: #268bd2; + --cyan: #2aa198; + --green: #859900; + --header-font-size: 150%; + --column-min-width: 20ex; + --border-width: 1px; + --padding: 2ex; + --margin: 2ex; + --content-padding-left: 9ex; + --content-padding-right: 5ex; + --body-max-width: 120ex; + --body-min-width: 75ex; + --body-font-size: 115%; + --content-width: 73ex; + --dt-font-size: 120%; +} + +@font-face { + font-family: 'Libertinus'; + font-style: normal; + font-weight: normal; + font-display: swap; + src: url('/fonts/libertinus-regular.woff2') format('woff2'); +} + +@font-face { + font-family: 'Libertinus'; + font-style: normal; + font-weight: bold; + font-display: swap; + src: url('/fonts/libertinus-bold.woff2') format('woff2'); +} + +@font-face { + font-family: 'Libertinus'; + font-style: italic; + font-weight: normal; + font-display: swap; + src: url('/fonts/libertinus-italic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Libertinus'; + font-style: italic; + font-weight: bold; + font-display: swap; + src: url('/fonts/libertinus-bold-italic.woff2') format('woff2'); +} + +body { + font-family: 'Libertinus'; + color: var(--base1); + background-color: var(--base02); + font-size: var(--body-font-size); + min-width: var(--body-min-width); + max-width: var(--body-max-width); + margin: auto; +} + +section { + border: var(--border-width) solid var(--blue); + background-color: var(--base03); + margin: var(--margin); + padding: var(--padding); +} + +em { + color: var(--yellow); +} + +strong { + color: var(--orange); +} + +article p::first-letter { + font-size: 150%; + color: var(--orange); +} + +article { + text-indent: 4ex; + text-align: justify; + padding-top: 2ex; + padding-bottom: 5ex; +} + +dt { + font-size: var(--dt-font-size); +} + +header, +footer { + text-align: center; +} + +:link, +:visited { + color: var(--cyan); +} + +.header header { + font-size: 200%; +} + +.logo { + height: 4ex; + vertical-align: middle; +} + +.navigation { + text-align: center; +} + +.main { + display: flex; + justify-content: center; +} + +.column header { + font-size: var(--header-font-size); + background-color: var(--base02); +} + +.left { + min-width: var(--column-min-width); +} + +.content { + width: var(--content-width); + padding-left: var(--content-padding-left); + padding-right: var(--content-padding-right); +} + diff --git a/zola/templates/404.html b/zola/templates/404.html new file mode 100644 index 0000000..2cc8577 --- /dev/null +++ b/zola/templates/404.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block title %}404 - Not Found{% endblock %} +{% block header %}404 - Not Found{% endblock %} +{% block navigation %}Home{% endblock %} +{% block content %}{% endblock %} + diff --git a/zola/templates/base.html b/zola/templates/base.html new file mode 100644 index 0000000..6871cbe --- /dev/null +++ b/zola/templates/base.html @@ -0,0 +1,51 @@ + + + + + + + ndato - {% block title %}{% endblock %} + + +
+
+ + ndato.com.ar +
+ +
+
+
+
Menu
+ +
Links
+ + +
+
+
{% block header %}{% endblock %}
+
+ {% block content %}{% endblock %} +
+
+
+
+
ndato.com.ar - Nicolás Dato - 2023
+
+ + + diff --git a/zola/templates/index.html b/zola/templates/index.html new file mode 100644 index 0000000..56e1b75 --- /dev/null +++ b/zola/templates/index.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block title %}{{ section.title }}{% endblock %} +{% block header %}{{ section.title }}{% endblock %} +{% block navigation %}{{ section.title }}{% endblock %} +{% block content %} +
+ {{ section.content | safe }} +
+{% endblock %} + diff --git a/zola/templates/page.html b/zola/templates/page.html new file mode 100644 index 0000000..180bd84 --- /dev/null +++ b/zola/templates/page.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} + +{% block title %}{{ page.title }}{% endblock %} +{% block header %}{{ page.title }}{% endblock %} +{% block navigation %} + {% for a in page.ancestors %} + {% set s = get_section(path=a) %} + {% if loop.index != 1 %} > {% endif %}{{ s.title }} + {% endfor %} + > {{ page.title }} +{% endblock %} +{% block content %} +
+ {{ page.content | safe }} +
+{% endblock %} + diff --git a/zola/templates/section.html b/zola/templates/section.html new file mode 100644 index 0000000..11e7e6a --- /dev/null +++ b/zola/templates/section.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} + +{% block title %}{{ section.title }}{% endblock %} +{% block header %}{{ section.title }}{% endblock %} +{% block navigation %} + {% for a in section.ancestors %} + {% set s = get_section(path=a) %} + {% if loop.index != 1 %} > {% endif %}{{ s.title }} + {% endfor %} + > {{ section.title }} +{% endblock %} +{% block content %} +
+{% for page in section.pages %} +
+

{{ page.title }}

+
+
+

{{ page.description }} {{ page.updated }}

+
+{% endfor %} +
+{% endblock %} + -- cgit v1.2.3