From a0190a6ce6cdba78bb67b23c0233de0f32bd39f3 Mon Sep 17 00:00:00 2001 From: "Núbio C. Hott" Date: Mon, 27 Apr 2026 21:43:40 -0300 Subject: Início do repositório MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/nojs/static/css/fonts.css | 9 + themes/nojs/static/css/fonts.css~ | 12 ++ themes/nojs/static/css/main.css | 279 +++++++++++++++++++++++++ themes/nojs/static/css/main.css~ | 219 +++++++++++++++++++ themes/nojs/static/css/pygment.css | 205 ++++++++++++++++++ themes/nojs/static/css/reset.css | 52 +++++ themes/nojs/static/css/typogrify.css | 3 + themes/nojs/static/css/typogrify.css~ | 3 + themes/nojs/static/fonts/FiraCode-Bold.ttf | Bin 0 -> 319356 bytes themes/nojs/static/fonts/FiraCode-Light.ttf | Bin 0 -> 288368 bytes themes/nojs/static/fonts/FiraCode-Medium.ttf | Bin 0 -> 283672 bytes themes/nojs/static/fonts/FiraCode-Regular.ttf | Bin 0 -> 289612 bytes themes/nojs/static/fonts/FiraCode-Retina.ttf | Bin 0 -> 285416 bytes themes/nojs/static/fonts/FiraCode-SemiBold.ttf | Bin 0 -> 304236 bytes themes/nojs/static/fonts/fonts.css | 9 + themes/nojs/templates/archives.html | 14 ++ themes/nojs/templates/article.html | 67 ++++++ themes/nojs/templates/author.html | 8 + themes/nojs/templates/authors.html | 12 ++ themes/nojs/templates/base.html | 69 ++++++ themes/nojs/templates/categories.html | 12 ++ themes/nojs/templates/category.html | 8 + themes/nojs/templates/gosquared.html | 14 ++ themes/nojs/templates/home.html | 50 +++++ themes/nojs/templates/home.html~ | 50 +++++ themes/nojs/templates/index.html | 28 +++ themes/nojs/templates/page.html | 29 +++ themes/nojs/templates/pagination.html | 11 + themes/nojs/templates/period_archives.html | 14 ++ themes/nojs/templates/tag.html | 7 + themes/nojs/templates/tags.html | 12 ++ themes/nojs/templates/translations.html | 16 ++ 32 files changed, 1212 insertions(+) create mode 100644 themes/nojs/static/css/fonts.css create mode 100644 themes/nojs/static/css/fonts.css~ create mode 100644 themes/nojs/static/css/main.css create mode 100644 themes/nojs/static/css/main.css~ create mode 100644 themes/nojs/static/css/pygment.css create mode 100644 themes/nojs/static/css/reset.css create mode 100644 themes/nojs/static/css/typogrify.css create mode 100644 themes/nojs/static/css/typogrify.css~ create mode 100644 themes/nojs/static/fonts/FiraCode-Bold.ttf create mode 100644 themes/nojs/static/fonts/FiraCode-Light.ttf create mode 100644 themes/nojs/static/fonts/FiraCode-Medium.ttf create mode 100644 themes/nojs/static/fonts/FiraCode-Regular.ttf create mode 100644 themes/nojs/static/fonts/FiraCode-Retina.ttf create mode 100644 themes/nojs/static/fonts/FiraCode-SemiBold.ttf create mode 100644 themes/nojs/static/fonts/fonts.css create mode 100644 themes/nojs/templates/archives.html create mode 100644 themes/nojs/templates/article.html create mode 100644 themes/nojs/templates/author.html create mode 100644 themes/nojs/templates/authors.html create mode 100644 themes/nojs/templates/base.html create mode 100644 themes/nojs/templates/categories.html create mode 100644 themes/nojs/templates/category.html create mode 100644 themes/nojs/templates/gosquared.html create mode 100644 themes/nojs/templates/home.html create mode 100644 themes/nojs/templates/home.html~ create mode 100644 themes/nojs/templates/index.html create mode 100644 themes/nojs/templates/page.html create mode 100644 themes/nojs/templates/pagination.html create mode 100644 themes/nojs/templates/period_archives.html create mode 100644 themes/nojs/templates/tag.html create mode 100644 themes/nojs/templates/tags.html create mode 100644 themes/nojs/templates/translations.html (limited to 'themes') diff --git a/themes/nojs/static/css/fonts.css b/themes/nojs/static/css/fonts.css new file mode 100644 index 0000000..928faf3 --- /dev/null +++ b/themes/nojs/static/css/fonts.css @@ -0,0 +1,9 @@ +@font-face { + font-family: 'Fira Code'; + font-style: Retina; + font-weight: 400; + src: + local('Fira Code Retina'), + local('FiraCode-Retina'), + url('../fonts/FiraCode-Retina.ttf') format('ttf'); +} diff --git a/themes/nojs/static/css/fonts.css~ b/themes/nojs/static/css/fonts.css~ new file mode 100644 index 0000000..5601507 --- /dev/null +++ b/themes/nojs/static/css/fonts.css~ @@ -0,0 +1,12 @@ +@font-face { + font-family: 'Yanone Kaffeesatz'; + font-style: normal; + font-weight: 400; + src: + local('Yanone Kaffeesatz Regular'), + local('YanoneKaffeesatz-Regular'), + /* from https://fonts.gstatic.com/s/yanonekaffeesatz/v8/YDAoLskQQ5MOAgvHUQCcLRTHiN2BPBirwIkMLKUspj4.woff */ + url('../fonts/Yanone_Kaffeesatz_400.woff') format('woff'), + /* from https://fonts.gstatic.com/s/yanonekaffeesatz/v8/YDAoLskQQ5MOAgvHUQCcLfGwxTS8d1Q9KiDNCMKLFUM.woff2 */ + url('../fonts/Yanone_Kaffeesatz_400.woff2') format('woff2'); +} diff --git a/themes/nojs/static/css/main.css b/themes/nojs/static/css/main.css new file mode 100644 index 0000000..fdfd311 --- /dev/null +++ b/themes/nojs/static/css/main.css @@ -0,0 +1,279 @@ +/* + Name: nojs style css + Date: Abr 2024 + Description: layout for HTML5 and CSS3 goodness. + Version: 1.0 + License: GPLv3 + Licensed by: Brigada Digital + Original author: Núbio Cicarini Hott +*/ + +/* Imports */ +@import url("reset.css"); +@import url("pygment.css"); +@import url("typogrify.css"); +@import url("fonts.css"); + +/* Body */ +body { + background: #000000; + color: #000000; + font-size: 87.5%; /* Base font size: 14px */ + font-family: 'Fira Code Retina', 'Fira Code Bold'; + font-size: 1.4em; + line-height: 1.8em; + text-align: left; + margin: 1% 0 0 0; +} + +/* Headings */ +h1 {font-size: 2.1em;} +h2 {font-size: 1.95em;} /* 22px */ +h3 {font-size: 1.85em;} /* 20px */ +h4 {font-size: 1.7em;} /* 18px */ +h5 {font-size: 1.6em;} /* 16px */ +h6 {font-size: 1.5em;} /* 14px */ +h1, h2, h3, h4, h5, h6 { + font-weight: bold; + line-height: 1.429em; + margin-top: 5px; + margin-bottom: 5px; +} +h3, h4, h5, h6 {margin-top: .8em;} + +/* Line */ +hr {border: 1px solid #000000;} + +/* Button */ +.button { + color: #FFF; + background-color: #000000; + border: 1px solid #CC0000; + padding: 12px 30px; + text-align: center; + font-size: .8em; + font-weight: bold; + display: inline-block; +} +.button:hover { + color: #FF0000; + background-color: #000000; + border: 1px solid #FF0000; + text-decoration: underline; +} + +dl {margin: 0 0 1.5em 0;} +dt {font-weight: bold;} +dd {margin-left: 1.5em;} + +/* Tables */ +table {margin: .5em auto .5em auto; font-size: .9em; display: inline-flex;} + +/* Thead */ +thead th {padding: .5em .4em; text-align: left; display: flex;} +thead td {} + +/* Tbody */ +tbody td {padding: .5em .4em; border: 1px solid;} +tbody th {} + +tbody .alt td {} +tbody .alt th {} + +/* Tfoot */ +tfoot th {} +tfoot td {} + + +/* Anchors */ +a {outline: 0;} +a img {border: 0px; text-decoration: none;} +a:link {color: #CC0000; text-decoration: underline;} +a:visited {color: #990000; text-decoration: underline;} +a:hover, a:active { + color: #FF0000; + text-decoration: underline; +} + +/* HTML5 tags */ +header, section, footer, +aside, nav, article, figure { + display: block; +} + +/* banner */ +header#banner { + text-align: center; +} +header#banner a img { border: 0; text-decoration: none; } + +/* MenuMain Nav */ +nav#menu { + font-size: 1em; + text-align: center; + +/* border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +*/ +} +nav#menu ul { + list-style: none; +} +nav#menu li { + float: center; + display: inline-block; + padding: 0 1% .5% 0; +} +nav#menu a:link, nav#menu a:visited { + color: #FFF; + text-decoration: none; + font-weight: bold; +} + +nav#menu a:hover, nav#menu a:active, nav#menu .active a:link, nav#menu .active a:visited { + color: #CC0000; + /* text-decoration: underline; */ + text-decoration: none; + text-shadow: none !important; + font-weight: bold; + border-bottom: 2px solid #CC0000; +} + +/* Content */ +#content { + overflow: hidden; + background: #FFF; + padding: 2% 10% 2% 10%; + +/* border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +*/ +} + +#contentinfo { + font-size: .8em; + line-height: 1.3em; + overflow: hidden; + color: #FFF; + text-align: center; + margin: 0; + padding: 2% 10% 2% 10%; +} +#contentinfo a:link {color: #CC0000;} +#contentinfo a:hover {color: #FF0000;} +#contentinfo a:visited {color: #990000;} + +/* Post */ +#post-list { +} + +.post-info { +} + +.hentry { +} + +.entry-title { +} +.entry-title h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link, h6 a:link {color: #000000;} +.entry-title h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {color: #CC0000;} + + +.vcard.author{ +} + +/* Home */ +#home { + background-color: #FFF; +} +#home section { + padding: 1% 0 1% 0; +} +#home div { + padding: 0 10% 0 10%; +} + +.image img { + margin: 1%; + padding: 2%; + text-align: center; +} + +.codebox { + padding: 0; + background-color: black; + color: red; +} + +figure { + text-align: center; +} +/*Features*/ + +.features { +} +.features a:link {color: #CC0000;} +.features a:hover {color: #FF0000;} +.features a:active {color: #FF0000;} +.features a:visited {color: #990000;} +.features h3 a:link {color: #000000;} +.features h4 a:link {color: #000000;} +.features h5 a:link {color: #000000;} +.features h6 a:link {color: #000000;} +.features h3 a:visited {color: #000000;} +.features h4 a:visited {color: #000000;} +.features h5 a:visited {color: #000000;} +.features h6 a:visited {color: #000000;} +.features h3 a:hover {color: #CC0000;} +.features h4 a:hover {color: #CC0000;} +.features h5 a:hover {color: #CC0000;} +.features h6 a:hover {color: #CC0000;} +.features p { + padding: 1% 0 1% 0; +} + +.indice { + float: left; + text-align: left; + padding: 2%; + margin: 1% 2% 1% 0; + background: #CC0000; + border: 1px solid #FF0000; +} +.indice h3 { + color: #FFFFFF; + margin-top: 0; +} +.indice a:link, a:visited { + color: #000000; +} +.indice a:hover, a:active { + color: #FFFFFF; +} +.indice ul { + list-style: disc; + padding-left: 10%; +} + +/* Blog */ +.blog h2 { + color: #FFFFFF; +} +.blog a:link, a:visited { + color: #000000; + text-decoration: underline; +} +.blog a:hover { + color: #FFFFFF; + text-decoration: underline; +} + +.container { + display: grid; + grid-template-columns: 1fr 1fr; + grid-gap: 5%; + text-align: center; +} + diff --git a/themes/nojs/static/css/main.css~ b/themes/nojs/static/css/main.css~ new file mode 100644 index 0000000..e682bf4 --- /dev/null +++ b/themes/nojs/static/css/main.css~ @@ -0,0 +1,219 @@ +/* + Name: nojs style css + Date: Abr 2024 + Description: layout for HTML5 and CSS3 goodness. + Version: 1.0 + License: GPLv3 + Licensed by: Brigada Digital + Original author: Núbio Cicarini Hott +*/ + +/* Imports */ +@import url("reset.css"); +@import url("pygment.css"); +@import url("typogrify.css"); +@import url("fonts.css"); + +/* Body */ +body { + background: #000000; + color: #000000; + font-size: 87.5%; /* Base font size: 14px */ + font-family: 'DejaVu Sans Mono', 'Dejavu Sans', 'Dejavu Serif'; + font-size: 1.05em; + line-height: 1.8em; + text-align: left; + margin: 0; +} + +/* Headings */ +h1 {font-size: 2em;} +h2 {font-size: 1.571em;} /* 22px */ +h3 {font-size: 1.429em;} /* 20px */ +h4 {font-size: 1.286em;} /* 18px */ +h5 {font-size: 1.143em;} /* 16px */ +h6 {font-size: 1em;} /* 14px */ +h1, h2, h3, h4, h5, h6 { + font-weight: 400; + line-height: 1.429em; + margin-top: 5px; + margin-bottom: 5px; +} +h3, h4, h5, h6 {margin-top: .8em;} + +/* Line */ +hr {border: 1px solid #CC0000;} + +/* Button */ +.button { + color: #FFF; + background-color: #000000; + border: 1px solid #CC0000; + padding: 15px 36px; + text-align: center; + text-decoration: underline; + display: inline-block; +} +.button:hover { + color: #FF0000; + background-color: #000000; + border: 1px solid #FF0000; + text-decoration: underline; +} + +dl {margin: 0 0 1.5em 0;} +dt {font-weight: bold;} +dd {margin-left: 1.5em;} + +/* Tables */ +table {margin: .5em auto 1.5em auto; width: 98%;} + + /* Thead */ + thead th {padding: .5em .4em; text-align: left;} + thead td {} + + /* Tbody */ + tbody td {padding: .5em .4em;} + tbody th {} + + tbody .alt td {} + tbody .alt th {} + + /* Tfoot */ + tfoot th {} + tfoot td {} + + +/* Anchors */ +a {outline: 0;} +a img {border: 0px; text-decoration: none;} +a:link, a:visited {color: #990000; text-decoration: underline;} +a:hover, a:active { + color: #FF0000; + text-decoration: underline; +} + +/* HTML5 tags */ +header, section, footer, +aside, nav, article, figure { + display: block; +} + +/* banner */ +header#banner { + text-align: center; + padding-top: 10px; +} +header#banner a img { border: 0; text-decoration: none; } + +/* MenuMain Nav */ +nav#menu { + font-size: 1.1em; + text-align: center; + +/* border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +*/ +} +nav#menu ul { + list-style: none; +} +nav#menu li { + float: center; + display: inline-block; + padding: 0 15px 5px 0; +} +nav#menu a:link, nav#menu a:visited { + color: #FFF; + text-decoration: underline; + font-weight: bold; +} + +nav#menu a:hover, nav#menu a:active, nav#menu .active a:link, nav#menu .active a:visited { + color: #CC0000; + text-decoration: underline; + text-shadow: none !important; + font-weight: bold; +} + +/* Contençt */ +#content { + overflow: hidden; + background: #FFF; + padding: 10px 170px 10px 170px; + +/* border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +*/ +} + +#contentinfo { + font-size: .8em; + line-height: 1.3em; + overflow: hidden; + color: #FFF; + text-align: center; + margin: 0; + padding: 20px 170px 20px 170px; +} + +/* Post */ +#post-list { +} + +.post-info { +} + +.hentry{ +} + +.entry-title{ +} + +.entry-content{ +} + +.vcard.author{ +} + +/* Home */ +#home { + background-color: #FFF; +} +#home section { + padding-top: 5px; + padding-bottom: 5px; +} +#home div { + padding: 5px 170px 5px 170px; +} + +.image img { + padding: 30px; + text-align: center; +} + +/*Features*/ +.features a { + color: #000000; + text-decoration: underline; +} +.features a:link { + color: #000000; + text-decoration: underline; +} +.features a:hover { + color: #FFFFFF; + text-decoration: underline; +} +.features p { + padding-bottom: 10px; +} + +.container { + display: grid; + grid-template-columns: 1fr 1fr; + grid-gap: 10px; +} diff --git a/themes/nojs/static/css/pygment.css b/themes/nojs/static/css/pygment.css new file mode 100644 index 0000000..fdd056f --- /dev/null +++ b/themes/nojs/static/css/pygment.css @@ -0,0 +1,205 @@ +.hll { +background-color:#eee; +} +.c { +color:#408090; +font-style:italic; +} +.err { +border:1px solid #FF0000; +} +.k { +color:#007020; +font-weight:bold; +} +.o { +color:#666666; +} +.cm { +color:#408090; +font-style:italic; +} +.cp { +color:#007020; +} +.c1 { +color:#408090; +font-style:italic; +} +.cs { +background-color:#FFF0F0; +color:#408090; +} +.gd { +color:#A00000; +} +.ge { +font-style:italic; +} +.gr { +color:#FF0000; +} +.gh { +color:#000080; +font-weight:bold; +} +.gi { +color:#00A000; +} +.go { +color:#303030; +} +.gp { +color:#C65D09; +font-weight:bold; +} +.gs { +font-weight:bold; +} +.gu { +color:#800080; +font-weight:bold; +} +.gt { +color:#0040D0; +} +.kc { +color:#007020; +font-weight:bold; +} +.kd { +color:#007020; +font-weight:bold; +} +.kn { +color:#007020; +font-weight:bold; +} +.kp { +color:#007020; +} +.kr { +color:#007020; +font-weight:bold; +} +.kt { +color:#902000; +} +.m { +color:#208050; +} +.s { +color:#4070A0; +} +.na { +color:#4070A0; +} +.nb { +color:#007020; +} +.nc { +color:#0E84B5; +font-weight:bold; +} +.no { +color:#60ADD5; +} +.nd { +color:#555555; +font-weight:bold; +} +.ni { +color:#D55537; +font-weight:bold; +} +.ne { +color:#007020; +} +.nf { +color:#06287E; +} +.nl { +color:#002070; +font-weight:bold; +} +.nn { +color:#0E84B5; +font-weight:bold; +} +.nt { +color:#062873; +font-weight:bold; +} +.nv { +color:#BB60D5; +} +.ow { +color:#007020; +font-weight:bold; +} +.w { +color:#BBBBBB; +} +.mf { +color:#208050; +} +.mh { +color:#208050; +} +.mi { +color:#208050; +} +.mo { +color:#208050; +} +.sb { +color:#4070A0; +} +.sc { +color:#4070A0; +} +.sd { +color:#4070A0; +font-style:italic; +} +.s2 { +color:#4070A0; +} +.se { +color:#4070A0; +font-weight:bold; +} +.sh { +color:#4070A0; +} +.si { +color:#70A0D0; +font-style:italic; +} +.sx { +color:#C65D09; +} +.sr { +color:#235388; +} +.s1 { +color:#4070A0; +} +.ss { +color:#517918; +} +.bp { +color:#007020; +} +.vc { +color:#BB60D5; +} +.vg { +color:#BB60D5; +} +.vi { +color:#BB60D5; +} +.il { +color:#208050; +} diff --git a/themes/nojs/static/css/reset.css b/themes/nojs/static/css/reset.css new file mode 100644 index 0000000..1e21756 --- /dev/null +++ b/themes/nojs/static/css/reset.css @@ -0,0 +1,52 @@ +/* + Name: Reset Stylesheet + Description: Resets browser's default CSS + Author: Eric Meyer + Author URI: http://meyerweb.com/eric/tools/css/reset/ +*/ + +/* v1.0 | 20080212 */ +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, font, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td { + background: transparent; + border: 0; + font-size: 100%; + margin: 0; + outline: 0; + padding: 0; + vertical-align: baseline; +} + +body {line-height: 1;} + +ol, ul {list-style: none;} + +blockquote, q {quotes: none;} + +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} + +/* remember to define focus styles! */ +:focus { + outline: 0; +} + +/* remember to highlight inserts somehow! */ +ins {text-decoration: none;} +del {text-decoration: line-through;} + +/* tables still need 'cellspacing="0"' in the markup */ +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file diff --git a/themes/nojs/static/css/typogrify.css b/themes/nojs/static/css/typogrify.css new file mode 100644 index 0000000..9d98a85 --- /dev/null +++ b/themes/nojs/static/css/typogrify.css @@ -0,0 +1,3 @@ +.caps {font-size:.92em;} +.amp {color:#666; font-size:1.05em; font-family: "DejaVu Sans Mono"; font-style:italic;} +.dquo {margin-left:-.38em;} diff --git a/themes/nojs/static/css/typogrify.css~ b/themes/nojs/static/css/typogrify.css~ new file mode 100644 index 0000000..3bae497 --- /dev/null +++ b/themes/nojs/static/css/typogrify.css~ @@ -0,0 +1,3 @@ +.caps {font-size:.92em;} +.amp {color:#666; font-size:1.05em;font-family:"Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua",serif; font-style:italic;} +.dquo {margin-left:-.38em;} diff --git a/themes/nojs/static/fonts/FiraCode-Bold.ttf b/themes/nojs/static/fonts/FiraCode-Bold.ttf new file mode 100644 index 0000000..c7afc5e Binary files /dev/null and b/themes/nojs/static/fonts/FiraCode-Bold.ttf differ diff --git a/themes/nojs/static/fonts/FiraCode-Light.ttf b/themes/nojs/static/fonts/FiraCode-Light.ttf new file mode 100644 index 0000000..18fcf8e Binary files /dev/null and b/themes/nojs/static/fonts/FiraCode-Light.ttf differ diff --git a/themes/nojs/static/fonts/FiraCode-Medium.ttf b/themes/nojs/static/fonts/FiraCode-Medium.ttf new file mode 100644 index 0000000..8956cc6 Binary files /dev/null and b/themes/nojs/static/fonts/FiraCode-Medium.ttf differ diff --git a/themes/nojs/static/fonts/FiraCode-Regular.ttf b/themes/nojs/static/fonts/FiraCode-Regular.ttf new file mode 100644 index 0000000..ad6f304 Binary files /dev/null and b/themes/nojs/static/fonts/FiraCode-Regular.ttf differ diff --git a/themes/nojs/static/fonts/FiraCode-Retina.ttf b/themes/nojs/static/fonts/FiraCode-Retina.ttf new file mode 100644 index 0000000..bdce19d Binary files /dev/null and b/themes/nojs/static/fonts/FiraCode-Retina.ttf differ diff --git a/themes/nojs/static/fonts/FiraCode-SemiBold.ttf b/themes/nojs/static/fonts/FiraCode-SemiBold.ttf new file mode 100644 index 0000000..e32a1e1 Binary files /dev/null and b/themes/nojs/static/fonts/FiraCode-SemiBold.ttf differ diff --git a/themes/nojs/static/fonts/fonts.css b/themes/nojs/static/fonts/fonts.css new file mode 100644 index 0000000..5edee84 --- /dev/null +++ b/themes/nojs/static/fonts/fonts.css @@ -0,0 +1,9 @@ +@font-face { + font-family: 'Fira Code'; + font-style: Retina; + font-weight: 400; + src: + local('Fira Code Retina'), + local('FireCode-Retina'), + url('../fonts/FiraCode-Retina.ttf') format('ttf'); +} diff --git a/themes/nojs/templates/archives.html b/themes/nojs/templates/archives.html new file mode 100644 index 0000000..cd12950 --- /dev/null +++ b/themes/nojs/templates/archives.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Archives{% endblock %} + +{% block content %} +

Archives for {{ SITENAME }}

+ +
+{% for article in dates %} +
{{ article.locale_date }}
+
{{ article.title }}
+{% endfor %} +
+{% endblock %} diff --git a/themes/nojs/templates/article.html b/themes/nojs/templates/article.html new file mode 100644 index 0000000..5a1c093 --- /dev/null +++ b/themes/nojs/templates/article.html @@ -0,0 +1,67 @@ +{% extends "base.html" %} +{% block html_lang %}{{ article.lang }}{% endblock %} + +{% block title %}{{ SITENAME }} - {{ article.title }}{% endblock %} + +{% block head %} + {{ super() }} + + {% import 'translations.html' as translations with context %} + {% if translations.entry_hreflang(article) %} + {{ translations.entry_hreflang(article) }} + {% endif %} + + {% if article.description %} + + {% endif %} + + {% for tag in article.tags %} + + {% endfor %} + +{% endblock %} + +{% block content %} +
+
+

+ {{ article.title }}

+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(article) }} +
+
+ + {% if article.modified %} + + {% endif %} + {% if article.authors %} +
+ By {% for author in article.authors %} + {{ author }} + {% endfor %} +
+ {% endif %} + {% if article.category %} +
+ Category: {{ article.category }} +
+ {% endif %} + {% if article.tags %} +
+ Tags: + {% for tag in article.tags %} + {{ tag }} + {% endfor %} +
+ {% endif %} +
+
+ {{ article.content }} +
+
+{% endblock %} diff --git a/themes/nojs/templates/author.html b/themes/nojs/templates/author.html new file mode 100644 index 0000000..a190194 --- /dev/null +++ b/themes/nojs/templates/author.html @@ -0,0 +1,8 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME }} - Articles by {{ author }}{% endblock %} + +{% block content_title %} +

Articles by {{ author }}

+{% endblock %} + diff --git a/themes/nojs/templates/authors.html b/themes/nojs/templates/authors.html new file mode 100644 index 0000000..9aee5db --- /dev/null +++ b/themes/nojs/templates/authors.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Authors{% endblock %} + +{% block content %} +

Authors on {{ SITENAME }}

+
    + {% for author, articles in authors|sort %} +
  • {{ author }} ({{ articles|count }})
  • + {% endfor %} +
+{% endblock %} diff --git a/themes/nojs/templates/base.html b/themes/nojs/templates/base.html new file mode 100644 index 0000000..75cb3da --- /dev/null +++ b/themes/nojs/templates/base.html @@ -0,0 +1,69 @@ + + + + {% block head %} + {% block title %}{{ SITENAME }}{% endblock title %} + + + {% if FEED_ALL_ATOM %} + + {% endif %} + {% if FEED_ALL_RSS %} + + {% endif %} + {% if FEED_ATOM %} + + {% endif %} + {% if FEED_RSS %} + + {% endif %} + {% if CATEGORY_FEED_ATOM and category %} + + {% endif %} + {% if CATEGORY_FEED_RSS and category %} + + {% endif %} + {% if TAG_FEED_ATOM and tag %} + + {% endif %} + {% if TAG_FEED_RSS and tag %} + + {% endif %} + {% endblock head %} + + + + + + {% block content %} + {% endblock %} +
+ Logo Brigada Digital +

Associação sem fins lucrativos, Belo Horizonte, MG, CNPJ 64.479.229/0001-33.

+

Site livre de cookies e javascript, sob a licença CC BY-ND 4.0.

+
+ Desenvolvido em Pelican, + que tira proveito de Python. +
+ {% if FEED_ALL_ATOM %} +

Feed/Atom.

+ {% endif %} +
+ + diff --git a/themes/nojs/templates/categories.html b/themes/nojs/templates/categories.html new file mode 100644 index 0000000..7999de4 --- /dev/null +++ b/themes/nojs/templates/categories.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Categories{% endblock %} + +{% block content %} +

Categories on {{ SITENAME }}

+
    + {% for category, articles in categories|sort %} +
  • {{ category }} ({{ articles|count }})
  • + {% endfor %} +
+{% endblock %} diff --git a/themes/nojs/templates/category.html b/themes/nojs/templates/category.html new file mode 100644 index 0000000..a9a105d --- /dev/null +++ b/themes/nojs/templates/category.html @@ -0,0 +1,8 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME }} - {{ category }} category{% endblock %} + +{% block content_title %} +

{{ category }}

+{% endblock %} + diff --git a/themes/nojs/templates/gosquared.html b/themes/nojs/templates/gosquared.html new file mode 100644 index 0000000..49ccbbe --- /dev/null +++ b/themes/nojs/templates/gosquared.html @@ -0,0 +1,14 @@ +{% if GOSQUARED_SITENAME %} + +{% endif %} diff --git a/themes/nojs/templates/home.html b/themes/nojs/templates/home.html new file mode 100644 index 0000000..74aeaa5 --- /dev/null +++ b/themes/nojs/templates/home.html @@ -0,0 +1,50 @@ +{% extends "base.html" %} +{% block html_lang %}{{ page.lang }}{% endblock %} + +{% block title %}{{ SITENAME }} - {{ page.title }}{%endblock%} + +{% block head %} + {{ super() }} + + {% import 'translations.html' as translations with context %} + {% if translations.entry_hreflang(page) %} + {{ translations.entry_hreflang(page) }} + {% endif %} +{% endblock %} + +{% block content %} +
+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(page) }} + + {{ page.content }} + +
+ +
+
+

Blog ^

+
+
+ {% for article in articles[:3] %} +
+

{{ article.title }}

+
+ +
By + {% for author in article.authors %} + {{ author }} + {% endfor %} +
+
+

{{ article.summary }}

+
+ {% endfor %} +
+ +
+ +{% endblock %} + diff --git a/themes/nojs/templates/home.html~ b/themes/nojs/templates/home.html~ new file mode 100644 index 0000000..bc13ba1 --- /dev/null +++ b/themes/nojs/templates/home.html~ @@ -0,0 +1,50 @@ +{% extends "base.html" %} +{% block html_lang %}{{ page.lang }}{% endblock %} + +{% block title %}{{ SITENAME }} - {{ page.title }}{%endblock%} + +{% block head %} + {{ super() }} + + {% import 'translations.html' as translations with context %} + {% if translations.entry_hreflang(page) %} + {{ translations.entry_hreflang(page) }} + {% endif %} +{% endblock %} + +{% block content %} +
+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(page) }} + + {{ page.content }} + +
+ +
+
+

Blog

+
+
    + {% for article in articles[:4] %} +
  1. +

    {{ article.title }}

    +
    + +
    By + {% for author in article.authors %} + {{ author }} + {% endfor %} +
    +
    +

    {{ article.summary }}

    +
  2. + {% endfor %} +
+ +
+ +{% endblock %} + diff --git a/themes/nojs/templates/index.html b/themes/nojs/templates/index.html new file mode 100644 index 0000000..d678ba2 --- /dev/null +++ b/themes/nojs/templates/index.html @@ -0,0 +1,28 @@ +{% extends "base.html" %} +{% block content %} +
+{% block content_title %} +

Artigos

+{% endblock %} + +
    +{% for article in articles_page.object_list %} +
  1. +

    {{ article.title }}

    +
    + +
    By + {% for author in article.authors %} + {{ author }} + {% endfor %} +
    +
    +
    {{ article.summary }}
    +
  2. +{% endfor %} +
+{% if articles_page.has_other_pages() %} + {% include 'pagination.html' %} +{% endif %} +
+{% endblock content %} diff --git a/themes/nojs/templates/page.html b/themes/nojs/templates/page.html new file mode 100644 index 0000000..4570d47 --- /dev/null +++ b/themes/nojs/templates/page.html @@ -0,0 +1,29 @@ +{% extends "base.html" %} +{% block html_lang %}{{ page.lang }}{% endblock %} + +{% block title %}{{ SITENAME }} - {{ page.title }}{%endblock%} + +{% block head %} + {{ super() }} + + {% import 'translations.html' as translations with context %} + {% if translations.entry_hreflang(page) %} + {{ translations.entry_hreflang(page) }} + {% endif %} +{% endblock %} + +{% block content %} +
+

{{ page.title }}

+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(page) }} + + {{ page.content }} + + {% if page.modified %} +

+ Last updated: {{ page.locale_modified }} +

+ {% endif %} +
+{% endblock %} diff --git a/themes/nojs/templates/pagination.html b/themes/nojs/templates/pagination.html new file mode 100644 index 0000000..4219a5c --- /dev/null +++ b/themes/nojs/templates/pagination.html @@ -0,0 +1,11 @@ +{% if DEFAULT_PAGINATION %} +

+ {% if articles_page.has_previous() %} + « + {% endif %} + Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} + {% if articles_page.has_next() %} + » + {% endif %} +

+{% endif %} diff --git a/themes/nojs/templates/period_archives.html b/themes/nojs/templates/period_archives.html new file mode 100644 index 0000000..e1ddf62 --- /dev/null +++ b/themes/nojs/templates/period_archives.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - {{ period | reverse | join(' ') }} archives{% endblock %} + +{% block content %} +

Archives for {{ period | reverse | join(' ') }}

+ +
+{% for article in dates %} +
{{ article.locale_date }}
+
{{ article.title }}
+{% endfor %} +
+{% endblock %} diff --git a/themes/nojs/templates/tag.html b/themes/nojs/templates/tag.html new file mode 100644 index 0000000..9c95803 --- /dev/null +++ b/themes/nojs/templates/tag.html @@ -0,0 +1,7 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME }} - {{ tag }} tag{% endblock %} + +{% block content_title %} +

Articles tagged with {{ tag }}

+{% endblock %} diff --git a/themes/nojs/templates/tags.html b/themes/nojs/templates/tags.html new file mode 100644 index 0000000..b90b0ac --- /dev/null +++ b/themes/nojs/templates/tags.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Tags{% endblock %} + +{% block content %} +

Tags for {{ SITENAME }}

+
    + {% for tag, articles in tags|sort %} +
  • {{ tag }} ({{ articles|count }})
  • + {% endfor %} +
+{% endblock %} diff --git a/themes/nojs/templates/translations.html b/themes/nojs/templates/translations.html new file mode 100644 index 0000000..f0e2478 --- /dev/null +++ b/themes/nojs/templates/translations.html @@ -0,0 +1,16 @@ +{% macro translations_for(article) %} +{% if article.translations %} +Translations: +{% for translation in article.translations %} +{{ translation.lang }} +{% endfor %} +{% endif %} +{% endmacro %} + +{% macro entry_hreflang(entry) %} +{% if entry.translations %} + {% for translation in entry.translations %} + + {% endfor %} +{% endif %} +{% endmacro %} -- cgit v1.2.3