diff options
-rw-r--r-- | zola/.gitignore | 1 | ||||
-rw-r--r-- | zola/config.toml | 18 | ||||
-rw-r--r-- | zola/content/_index.md | 4 | ||||
-rw-r--r-- | zola/content/articles/_index.md | 4 | ||||
-rw-r--r-- | zola/content/articles/dos.md | 12 | ||||
-rw-r--r-- | zola/content/articles/uno.md | 12 | ||||
-rw-r--r-- | zola/static/favicon.ico | bin | 0 -> 205086 bytes | |||
-rw-r--r-- | zola/static/fonts/libertinus-bold-italic.woff2 | bin | 0 -> 150712 bytes | |||
-rw-r--r-- | zola/static/fonts/libertinus-bold.woff2 | bin | 0 -> 174656 bytes | |||
-rw-r--r-- | zola/static/fonts/libertinus-italic.woff2 | bin | 0 -> 201720 bytes | |||
-rw-r--r-- | zola/static/fonts/libertinus-regular.woff2 | bin | 0 -> 188040 bytes | |||
-rw-r--r-- | zola/static/lambda.svg | 19 | ||||
-rw-r--r-- | zola/static/style.css | 147 | ||||
-rw-r--r-- | zola/templates/404.html | 7 | ||||
-rw-r--r-- | zola/templates/base.html | 51 | ||||
-rw-r--r-- | zola/templates/index.html | 11 | ||||
-rw-r--r-- | zola/templates/page.html | 17 | ||||
-rw-r--r-- | zola/templates/section.html | 24 |
18 files changed, 327 insertions, 0 deletions
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 Binary files differnew file mode 100644 index 0000000..8bc351d --- /dev/null +++ b/zola/static/favicon.ico diff --git a/zola/static/fonts/libertinus-bold-italic.woff2 b/zola/static/fonts/libertinus-bold-italic.woff2 Binary files differnew file mode 100644 index 0000000..8de1ce0 --- /dev/null +++ b/zola/static/fonts/libertinus-bold-italic.woff2 diff --git a/zola/static/fonts/libertinus-bold.woff2 b/zola/static/fonts/libertinus-bold.woff2 Binary files differnew file mode 100644 index 0000000..bf39f3a --- /dev/null +++ b/zola/static/fonts/libertinus-bold.woff2 diff --git a/zola/static/fonts/libertinus-italic.woff2 b/zola/static/fonts/libertinus-italic.woff2 Binary files differnew file mode 100644 index 0000000..8f1818a --- /dev/null +++ b/zola/static/fonts/libertinus-italic.woff2 diff --git a/zola/static/fonts/libertinus-regular.woff2 b/zola/static/fonts/libertinus-regular.woff2 Binary files differnew file mode 100644 index 0000000..9d37f80 --- /dev/null +++ b/zola/static/fonts/libertinus-regular.woff2 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 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> +<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="400" height="400" id="svg4611" sodipodi:version="0.32" inkscape:version="0.92.4 (5da689c313, 2019-01-14)" version="1.0" sodipodi:docname="Greek_lc_lamda.svg"> + <defs id="defs4613"/> + <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" gridtolerance="10000" guidetolerance="10" objecttolerance="1.6" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.7" inkscape:cx="85.90919" inkscape:cy="190.61883" inkscape:document-units="px" inkscape:current-layer="layer1" inkscape:object-bbox="true" inkscape:object-points="true" inkscape:object-nodes="true" inkscape:grid-points="true" inkscape:window-width="1920" inkscape:window-height="1017" inkscape:window-x="-8" inkscape:window-y="-8" width="400px" height="400px" showgrid="false" inkscape:window-maximized="1"/> + <metadata id="metadata4616"> + <rdf:RDF> + <cc:Work rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> + </cc:Work> + </rdf:RDF> + </metadata> + <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" transform="translate(-256.6798,-531.7963)"> + <g aria-label="λ" style="font-style:normal;font-weight:normal;line-height:0%;font-family:'Times New Roman';text-align:start;text-anchor:start;fill:#eee8d5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" id="text5540"> + <path d="m 542.9577,784.11768 h 7.03125 q 0,30.85937 -10.15625,44.92187 -9.96093,14.0625 -25,14.0625 -12.30468,0 -23.63281,-9.17969 -11.32812,-9.375 -20.3125,-49.80468 l -16.79687,-75.78125 -58.20313,132.03125 h -36.91406 l 83.59375,-180.07813 q -6.64063,-34.96094 -16.01563,-51.75781 -9.375,-16.79688 -23.24218,-16.79688 -11.13282,0 -19.53125,8.59375 -8.20313,8.39844 -9.17969,26.17188 h -7.03125 q 0.58594,-28.71094 11.52344,-45.89844 10.9375,-17.38281 27.34375,-17.38281 10.54687,0 19.92187,8.78906 9.57031,8.59375 16.40625,29.6875 7.03125,20.89844 21.67969,86.91406 l 13.86719,61.91407 q 8.39843,38.47656 17.57812,51.5625 9.375,12.89062 22.26563,12.89062 21.875,0 24.80468,-30.85937 z" style="font-size:400px;line-height:1.25;text-align:center;text-anchor:middle" id="path814"/> + </g> + </g> +</svg> 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 %}<a href="/">Home</a>{% 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 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8" /> + <link rel="icon" type="image/x-icon" sizes="256x256" href="/favicon.ico"> + <link rel="stylesheet" href="/style.css" type="text/css"> + <title>ndato - {% block title %}{% endblock %}</title> + </head> + <body> + <section class="header" title="Header"> + <header> + <img src="/lambda.svg" class="logo" alt="Lambda" title="Lambda Logo"> + ndato.com.ar + </header> + <nav class="navigation">{% block navigation %}{% endblock %}</nav> + </section> + <div class="main"> + <section class="left column" title="Left Column"> + <header>Menu</header> + <nav title="Navigation Menu"> + <menu> + <li><a href="/">Home</a></li> + <li><a href="/cv">CV</a></li> + <li><a href="/articles">Articles</a></li> + <li><a href="/blog">Blog</a></li> + <li><a href="/gitweb">Git</a></li> + <li><a href="/etc">Etc</a></li> + <li><a href="/contact">Contact</a></li> + </menu> + </nav> + <header>Links</header> + <nav title="Extra Links"> + <ul> + <li><a href="https://robertoaley.com/">Roberto Aley</a></li> + </ul> + </nav> + + </section> + <section class="content column" title="Content Column"> + <header>{% block header %}{% endblock %}</header> + <main title="Main Content"> + {% block content %}{% endblock %} + </main> + </section> + </div> + <section title="Footer"> + <footer>ndato.com.ar - Nicolás Dato - 2023</footer> + </section> + </body> +</html> + 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 %}<a href="{{ section.path | safe }}">{{ section.title }}</a>{% endblock %} +{% block content %} +<article title="{{ section.title }}"> + {{ section.content | safe }} +</article> +{% 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 %}<a href="{{ s.path | safe }}">{{ s.title }}</a> + {% endfor %} + > <a href="{{ page.path | safe }}">{{ page.title }}</a> +{% endblock %} +{% block content %} +<article title="{{ page.title }}"> + {{ page.content | safe }} +</article> +{% 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 %}<a href="{{ s.path | safe }}">{{ s.title }}</a> + {% endfor %} + > <a href="{{ section.path | safe }}">{{ section.title }}</a> +{% endblock %} +{% block content %} +<dl title="List of {{ section.title }} entries"> +{% for page in section.pages %} +<dt> + <p><a href="{{ page.path | safe}}">{{ page.title }}</a></p> +</dt> +<dd> + <p>{{ page.description }} <em><date datetime="{{ page.updated }}">{{ page.updated }}</date></em></p> +</dd> +{% endfor %} +</dl> +{% endblock %} + |