diff --git a/content/pages/faq.md b/content/pages/faq.md index 21cc07a..e9c43dd 100644 --- a/content/pages/faq.md +++ b/content/pages/faq.md @@ -4,22 +4,22 @@ Slug: faq Questa è la nostra pagina delle F.A.Q. le Frequented Asked Questions, le Domande Poste di Frequente. -**Cosa è Unit?** +## Cosa è Unit? È un hacklab. -**Perché il nome Unit?** +## Perché il nome Unit? È il nome della [tupla](https://en.wikipedia.org/wiki/Tuple) vuota di [haskell](https://en.wikipedia.org/wiki/Haskell_(programming_language)). Qui [trovi delucidazioni sul logo](http://stackoverflow.com/questions/16892570/what-is-in-haskell-exactly). -**Cos'è un hackerspace?** +## Cos'è un hackerspace? Guarda il video: [hackerspace design patterns](https://www.youtube.com/watch?v=zr76In2h0fE) by Mitch. Più sul come che sul cosa, qui ci sono delle [slide PDF](https://wiki.hackerspaces.org/images/8/8e/Hacker-Space-Design-Patterns.pdf). -**Cos'è un hacklab?** +## Cos'è un hacklab? È un hackerspace in movimento. Un hacklab è un laboratorio autogestito di sperimentazione tecnica e politica, le nostre attività comprendono corsi @@ -28,7 +28,7 @@ della privacy sotto forma di incontri e convegni. Ci occupiamo non solo della tecnica, ma anche di politica in quanto la tecnologia non è neutra. Abbiamo un [manifesto]({filename}/pages/manifesto.md). -**Chi è un hacker?** +## Chi è un hacker? Colei, colui o colacaso che gode dello spirito dell'intelligenza giocosa, è curiosa, non ha paura di sporcarsi le mani per imparare, condivide le sue @@ -38,24 +38,23 @@ competenza. Ad esempio [Hackmeeting](https://www.hackmeeting.org) definisce hacker:*"chi vuole gestirsi la vita come preferisce e sa s/battersi per farlo. Anche se non ha mai visto un computer in vita sua."* -**Come posso seguire da lontano le vostre attività?** +## Come posso seguire da lontano le vostre attività? Abbiamo una newsletter aperiodica cui [ci si può iscrivere da questa pagina](https://noise.autistici.org/mailman/listinfo/unit-news). Abbiamo anche un [generatore di feed RSS](https://unit.abbiamoundominio.org/feed.xml) che permette di seguirci senza registrazioni. -**Come posso contattarvi?** +## Come posso contattarvi? Qui trovi la [pagina dei contatti]({filename}/pages/contatti.md). Puoi mandarci una mail a `unit [at] paranoici [dot] org` o join sul network IRC Autistici/Inventati il canale `#unit`. -**Come posso incontrarvi e partecipare?** +## Come posso incontrarvi e partecipare? Chiedi a chi ti ha mandato a questo sito di accompagnarti al prossimo incontro. -**Non voglio incontrarvi, non voglio contattarvi e neanche seguirvi. Voglio solo -delle risorse su che software usare.** +## Non voglio incontrarvi, non voglio contattarvi e neanche seguirvi. Voglio solo delle risorse su che software usare. Ne trovi [qui](https://prism-break.org/it/). diff --git a/content/pages/manifesto.md b/content/pages/manifesto.md index 6718516..d3f370f 100644 --- a/content/pages/manifesto.md +++ b/content/pages/manifesto.md @@ -2,23 +2,13 @@ Title: Manifesto Slug: manifesto -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - __ _ _ _ _ __ - / _| | | | |_____|_| |_ |_ \ - | | | | | | _ | | _| | | - | |_ | |_| | | | | | |_ _| | - \__| |_____|_| |_|_|___| |__/ - | manifesto | - - -----[ 1 ]---------------------------------------------------------------------- +----[ 1 ] Noi unitariani veniamo relativamente in pace. Siamo multigenere e multiforma. Condividiamo l'idea di condividere la condivisione con di voi. -----[ 1.1 ]-------------------------------------------------------------------- +----[ 1.1 ] Pensiamo che la tecnologia non sia neutra, che Internet possa diventare anche un formidabile strumento di oppressione, che l'informazione e il software @@ -36,7 +26,7 @@ Siamo mossi dal desiderio, non crediamo ai confini. Ci aggreghiamo per affinita', prendiamo decisioni con il metodo del consenso, il nostro spazio e' una Zona Autonoma, condivideremo saperi senza fondare poteri. -----[ 1.2 ]-------------------------------------------------------------------- +----[ 1.2 ] Noi abbiamo sempre nutrito il sogno di una cosa, ma oggi abbiamo scelto di diventare coscienti. @@ -44,9 +34,6 @@ ma oggi abbiamo scelto di diventare coscienti. Non vogliamo tutto e subito e non abbiamo fretta, ma aspettiamo una risposta per domani mattina. -----[ 2 - Domande ]------------------------------------------------------------ - -Hai delle domande? E [noi abbiamo delle FAQ:]({filename}/pages/faq.md) - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +----[ 2 - Domande ] +Hai delle domande? E [noi abbiamo delle FAQ]({filename}/pages/faq.md) diff --git a/pelicanconf.py b/pelicanconf.py index 30d048a..729a309 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -64,7 +64,7 @@ MARKDOWN = { WITH_FUTURE_DATES = False -THEME = 'themes/minimunit' +THEME = 'themes/2017' SLUGIFY_SOURCE = 'title' PAGE_URL = '{slug}/index.html' @@ -81,9 +81,9 @@ DISPLAY_CATEGORIES_ON_MENU = False DELETE_OUTPUT_DIRECTORY = True -MENUITEMS = (('HOME |', '/index.html'), - ('NEWS |', '/articles.html'), - ('CATEGORIE |', '/categories.html'), - ('TAG |', '/tags.html'), - ('CONTATTI |', '/contatti'), +MENUITEMS = (('HOME', '/index.html'), + ('NEWS', '/articles.html'), + ('CATEGORIE', '/categories.html'), + ('TAG', '/tags.html'), + ('CONTATTI', '/contatti'), ('RSS', '/feed.xml'),) diff --git a/themes/2017/static/css/style.css b/themes/2017/static/css/style.css new file mode 100644 index 0000000..11ebebf --- /dev/null +++ b/themes/2017/static/css/style.css @@ -0,0 +1,185 @@ +@import url('../fonts/fantastique-sans/stylesheet.css'); + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * GENERAL * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +html { + box-sizing: border-box; + font-family: 'Fantasque Sans Mono', monospace; + text-transform: lowercase; +} + +*, *:before, *:after { + box-sizing: inherit; +} + + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * PAGE * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +body { + width: 100%; + padding: 2rem 1rem; +} + +@media (min-width: 426px) { + body { + width: 40vw; + margin: 2rem auto; + padding: 0; + } +} + + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * TEXT * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + + +h1 { + font-size: 2rem; +} + +h2 { + margin-top: 1.5rem; + margin-bottom: 0; +} + +p, li { + font-size: 1.2rem; +} + +a { + text-decoration: none; + color: #378ab4; +} + +a:hover { + font-weight: bold; + background-color: #378ab4; + color: #ffffff; +} + +h1 a:hover { + font-weight: bold; + background-color: #000000; +} + +h1 a { + color: #000000; +} + + + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * HEADER * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +header { + width: 100%; + margin: 2rem auto 2rem auto; +} + +.sitebanner img, +.sitebanner h1 { + display: inline-block; + vertical-align: middle; + font-size: 4rem; + margin: 0; +} +.sitebanner h1 a { + text-decoration: none; + color: #000000; + background-color: transparent; +} + +.sitebanner > img { + width: 4rem; +} + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * NAVBAR * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +nav { + margin-bottom: 2rem; +} + +nav > ul { + display: block; + margin: 0; + padding: 0; + list-style: none; +} + +nav > ul > li { + display: inline-block; + margin-right: 0.8rem; + color: #378ab4; +} + +nav > ul > li:before { + content: "+"; + margin-right: 0.3rem; + color: #000000; +} + + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * SECTION * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +section { + width: 100%; + margin: 2rem auto; +} + +section:last-child { + margin-bottom: 0; +} + +section > p { + margin-top: 0.5rem; + margin-bottom: 0.5rem; +} + +section > p > span { + padding: 0.1rem 0; + background: #000000; + box-shadow: 0 0 0 #000000, 0 0 0 #000000; + color: #ffffff; +} + +section > p:first-child > span { + background: #378ab4; + box-shadow: 0 0 0 #378ab4, 0 0 0 #378ab4; +} + +section > img { + width: 100%; + height: auto; +} +.sitebanner { + position: relative; + top: 20px; +} + +.siteimage { + float: left; + width: 120px; +} + +#menu li { + display: inline; +} + +#post-list { + margin-bottom: 1em; + margin-top: 1em; +} + +#banner { + height: 85px; +} diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Bold.eot b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Bold.eot new file mode 100644 index 0000000..8fc53e6 Binary files /dev/null and b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Bold.eot differ diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Bold.svg b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Bold.svg new file mode 100644 index 0000000..af92e36 --- /dev/null +++ b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Bold.svg @@ -0,0 +1,2601 @@ + + + + + +Created by FontForge 20150824 at Sun Apr 3 21:32:38 2016 + By Jany Belluz +Created by Jany Belluz with FontForge 2.0 (http://fontforge.sf.net) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Bold.woff b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Bold.woff new file mode 100644 index 0000000..7026a25 Binary files /dev/null and b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Bold.woff differ diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Bold.woff2 b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Bold.woff2 new file mode 100644 index 0000000..e6e1730 Binary files /dev/null and b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Bold.woff2 differ diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-BoldItalic.eot b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-BoldItalic.eot new file mode 100644 index 0000000..427464c Binary files /dev/null and b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-BoldItalic.eot differ diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-BoldItalic.svg b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-BoldItalic.svg new file mode 100644 index 0000000..5f671ce --- /dev/null +++ b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-BoldItalic.svg @@ -0,0 +1,2921 @@ + + + + + +Created by FontForge 20150824 at Sun Apr 3 21:32:40 2016 + By Jany Belluz +Created by Jany Belluz with FontForge 2.0 (http://fontforge.sf.net) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-BoldItalic.woff b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-BoldItalic.woff new file mode 100644 index 0000000..20744bc Binary files /dev/null and b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-BoldItalic.woff differ diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-BoldItalic.woff2 b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-BoldItalic.woff2 new file mode 100644 index 0000000..332d8b8 Binary files /dev/null and b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-BoldItalic.woff2 differ diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Italic.eot b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Italic.eot new file mode 100644 index 0000000..6c8d7bf Binary files /dev/null and b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Italic.eot differ diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Italic.svg b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Italic.svg new file mode 100644 index 0000000..9f7419b --- /dev/null +++ b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Italic.svg @@ -0,0 +1,2764 @@ + + + + + +Created by FontForge 20150824 at Sun Apr 3 21:32:33 2016 + By Jany Belluz +Created by Jany Belluz with FontForge 2.0 (http://fontforge.sf.net) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Italic.woff b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Italic.woff new file mode 100644 index 0000000..ad9d4a0 Binary files /dev/null and b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Italic.woff differ diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Italic.woff2 b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Italic.woff2 new file mode 100644 index 0000000..c6bd3e4 Binary files /dev/null and b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Italic.woff2 differ diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Regular.eot b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Regular.eot new file mode 100644 index 0000000..977f56c Binary files /dev/null and b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Regular.eot differ diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Regular.svg b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Regular.svg new file mode 100644 index 0000000..150a94f --- /dev/null +++ b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Regular.svg @@ -0,0 +1,2628 @@ + + + + + +Created by FontForge 20150824 at Sun Apr 3 21:32:35 2016 + By Jany Belluz +Created by Jany Belluz with FontForge 2.0 (http://fontforge.sf.net) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Regular.woff b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Regular.woff new file mode 100644 index 0000000..1f1b2d9 Binary files /dev/null and b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Regular.woff differ diff --git a/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Regular.woff2 b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Regular.woff2 new file mode 100644 index 0000000..6dacb92 Binary files /dev/null and b/themes/2017/static/fonts/fantastique-sans/FantasqueSansMono-Regular.woff2 differ diff --git a/themes/2017/static/fonts/fantastique-sans/LICENSE.txt b/themes/2017/static/fonts/fantastique-sans/LICENSE.txt new file mode 100644 index 0000000..af9106f --- /dev/null +++ b/themes/2017/static/fonts/fantastique-sans/LICENSE.txt @@ -0,0 +1,93 @@ +Copyright (c) 2013-2017, Jany Belluz (jany.belluz@hotmail.fr) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/themes/2017/static/fonts/fantastique-sans/stylesheet.css b/themes/2017/static/fonts/fantastique-sans/stylesheet.css new file mode 100644 index 0000000..c1a1b40 --- /dev/null +++ b/themes/2017/static/fonts/fantastique-sans/stylesheet.css @@ -0,0 +1,44 @@ +@font-face { + font-family: 'Fantasque Sans Mono'; + src: url('FantasqueSansMono-Italic.eot'); /* IE 9 Compatibility Mode */ + src: url('FantasqueSansMono-Italic.eot?#iefix') format('embedded-opentype'), /* IE < 9 */ + url('FantasqueSansMono-Italic.woff2') format('woff2'), + url('FantasqueSansMono-Italic.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */ + url('FantasqueSansMono-Italic.ttf') format('truetype'), /* Safari, Android, iOS */ + url('FantasqueSansMono-Italic.svg#FantasqueSansMono-Italic') format('svg'); /* Chrome < 4, Legacy iOS */ + font-weight: 400; + font-style: italic; +} +@font-face { + font-family: 'Fantasque Sans Mono'; + src: url('FantasqueSansMono-Regular.eot'); /* IE 9 Compatibility Mode */ + src: url('FantasqueSansMono-Regular.eot?#iefix') format('embedded-opentype'), /* IE < 9 */ + url('FantasqueSansMono-Regular.woff2') format('woff2'), + url('FantasqueSansMono-Regular.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */ + url('FantasqueSansMono-Regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('FantasqueSansMono-Regular.svg#FantasqueSansMono-Regular') format('svg'); /* Chrome < 4, Legacy iOS */ + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: 'Fantasque Sans Mono'; + src: url('FantasqueSansMono-BoldItalic.eot'); /* IE 9 Compatibility Mode */ + src: url('FantasqueSansMono-BoldItalic.eot?#iefix') format('embedded-opentype'), /* IE < 9 */ + url('FantasqueSansMono-BoldItalic.woff2') format('woff2'), + url('FantasqueSansMono-BoldItalic.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */ + url('FantasqueSansMono-BoldItalic.ttf') format('truetype'), /* Safari, Android, iOS */ + url('FantasqueSansMono-BoldItalic.svg#FantasqueSansMono-BoldItalic') format('svg'); /* Chrome < 4, Legacy iOS */ + font-weight: 700; + font-style: italic; +} +@font-face { + font-family: 'Fantasque Sans Mono'; + src: url('FantasqueSansMono-Bold.eot'); /* IE 9 Compatibility Mode */ + src: url('FantasqueSansMono-Bold.eot?#iefix') format('embedded-opentype'), /* IE < 9 */ + url('FantasqueSansMono-Bold.woff2') format('woff2'), + url('FantasqueSansMono-Bold.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */ + url('FantasqueSansMono-Bold.ttf') format('truetype'), /* Safari, Android, iOS */ + url('FantasqueSansMono-Bold.svg#FantasqueSansMono-Bold') format('svg'); /* Chrome < 4, Legacy iOS */ + font-weight: 700; + font-style: normal; +} diff --git a/themes/2017/templates/archives.html b/themes/2017/templates/archives.html new file mode 100644 index 0000000..7b9b10d --- /dev/null +++ b/themes/2017/templates/archives.html @@ -0,0 +1,42 @@ +{% extends "index.html" %} +{% block title %}Archivio {{ SITENAME }}{% endblock %} +{% block ogtitle %}Archivio {{ SITENAME }}{% endblock %} +{% block ogurl %}{{ SITEURL }}/archives.html{%endblock%} +{% block canonicalurl %}{{ SITEURL }}/archives.html{%endblock%} + +{% block content %} +
+
+

{% block content_title %}Archivio per data{% endblock %}

+ + {% for article in dates %} + {% set this_year = article.date.strftime('%Y') %} + + {% if this_year != prev_year %} +
+
{{ this_year }}
+
+ {% endif %} + {% if this_year != prev_year or this_month != prev_month %} +
+
{{ this_month }}
+
+ {% endif %} +
+ {% if this_month != prev_month or this_day != prev_day %} +
+ {{ this_day }} +
+ {% endif %} +
+
{{ article.title }} {{ article.category }}
+
+
+ {% set prev_year = this_year %} + {% set prev_month = this_month %} + {% set prev_day = this_day %} + {% endfor %} +
+
+{% endblock %} + diff --git a/themes/2017/templates/article.html b/themes/2017/templates/article.html new file mode 100644 index 0000000..2055670 --- /dev/null +++ b/themes/2017/templates/article.html @@ -0,0 +1,28 @@ +{% extends "base.html" %} + +{% block title %}{{ article.title|striptags }} | {{ SITENAME }}{% endblock %} +{% block ogtitle %}{{ article.title|striptags }}{% endblock %} +{% block ogurl %}{{ SITEURL }}/{{ article.url }}{%endblock%} +{% block ogtype %}article{%endblock%} +{% block canonicalurl %}{{ SITEURL }}/{{ article.url }}{%endblock%} + +{% block content %} + +
+
+
+
+

+ {{ article.title}}

+
+ +
+ {% include 'article_infos.html' %} + {{ article.content }} +
+ +
+
+
+{% endblock %} diff --git a/themes/2017/templates/article_infos.html b/themes/2017/templates/article_infos.html new file mode 100644 index 0000000..e7dfe51 --- /dev/null +++ b/themes/2017/templates/article_infos.html @@ -0,0 +1,25 @@ + diff --git a/themes/2017/templates/author.html b/themes/2017/templates/author.html new file mode 100644 index 0000000..e5db843 --- /dev/null +++ b/themes/2017/templates/author.html @@ -0,0 +1,5 @@ +{% extends "index.html" %} +{% block title %}{{ SITENAME }} - {{ author }} | {{ SITENAME }}{% endblock %} +{% block ogtitle %}{{ SITENAME }} - {{ author }}{% endblock %} +{% block ogurl %}{{ SITEURL }}/{{ author.url }}{%endblock%} +{% block canonicalurl %}{{ SITEURL }}/{{ author.url }}{%endblock%} diff --git a/themes/2017/templates/base.html b/themes/2017/templates/base.html new file mode 100644 index 0000000..edbb51b --- /dev/null +++ b/themes/2017/templates/base.html @@ -0,0 +1,81 @@ + + + + {% 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 %} + + + + + diff --git a/themes/2017/templates/categories.html b/themes/2017/templates/categories.html new file mode 100644 index 0000000..2ec2f33 --- /dev/null +++ b/themes/2017/templates/categories.html @@ -0,0 +1,19 @@ +{% extends "index.html" %} +{% block title %}Categorie di {{ SITENAME }}{% endblock %} +{% block ogtitle %}Categorie di {{ SITENAME }}{% endblock %} +{% block ogurl %}{{ SITEURL }}/categories.html{%endblock%} +{% block canonicalurl %}{{ SITEURL }}/categories.html{%endblock%} + +{% block content %} +
+
+

{% block content_title %}Categorie {% endblock %}

+ +
+ {% for category, articles in categories %} +
{{ category }} ({{ articles|count }})
+ {% endfor %} +
+
+
+{% endblock %} diff --git a/themes/2017/templates/category.html b/themes/2017/templates/category.html new file mode 100644 index 0000000..d38824e --- /dev/null +++ b/themes/2017/templates/category.html @@ -0,0 +1,6 @@ +{% extends "archives.html" %} +{% block title %}{{ SITENAME }} - {{ category }}{% endblock %} +{% block content_title %} Ricerca per categoria: {{ category }}{% endblock %} +{% block ogtitle %}{{ SITENAME }} - {{ category }}{% endblock %} +{% block ogurl %}{{ SITEURL }}/{{ category.url }}{%endblock%} +{% block canonicalurl %}{{ SITEURL }}/{{ category.url }}{%endblock%} diff --git a/themes/2017/templates/index.html b/themes/2017/templates/index.html new file mode 100644 index 0000000..d325ad1 --- /dev/null +++ b/themes/2017/templates/index.html @@ -0,0 +1,74 @@ +{% extends "base.html" %} +{% block content_title %}{% endblock %} +{% block ogtitle %}{{ SITENAME }}{% endblock %} +{% block ogurl %}{{ SITEURL }}{%endblock%} +{% block canonicalurl %}{{ SITEURL }}{%endblock%} + +{% block content %} +
+ {% if articles %} + {% for article in articles_page.object_list %} + {% if loop.length > 0 %} + {% if loop.first %} +
+
    + {% endif %} + + {% if loop.last %} +
+ {% if loop.last and (articles_page.has_previous() + or not articles_page.has_previous() and loop.length > 1) %} + {% include 'pagination.html' %} + {% endif %} +
+ {% endif %} + {% endif %} + {% endfor %} + {% else %} +
+

Pages

+ {% for page in PAGES %} +
  • {{ page.title }}
  • + {% endfor %} +
    + {% endif %} +
    +{% endblock content %} + +{% if LINKS %} +
    +

    Links

    + +
    +{% endif %} +{% if TAG_CLOUD_STEPS %} +
    +

    Tags

    + +
    +{% endif %} + diff --git a/themes/2017/templates/page.html b/themes/2017/templates/page.html new file mode 100644 index 0000000..10852e1 --- /dev/null +++ b/themes/2017/templates/page.html @@ -0,0 +1,15 @@ +{% extends "base.html" %} +{% block title %}{{ page.title }} | {{ SITENAME }}{% endblock %} +{% block ogtitle %}{{ page.title|striptags }}{% endblock %} +{% block ogurl %}{{ SITEURL }}/{{ page.url }}{%endblock%} +{% block canonicalurl %}{{ SITEURL }}/{{ page.url }}{%endblock%} + +{% block content %} +
    +

    {{ page.title }}

    + {% import 'translations.html' as translations with context %} + {{ translations.translations_for(page) }} + {{ page.content }} +
    +{% endblock %} + diff --git a/themes/2017/templates/tag.html b/themes/2017/templates/tag.html new file mode 100644 index 0000000..293c64e --- /dev/null +++ b/themes/2017/templates/tag.html @@ -0,0 +1,6 @@ +{% extends "archives.html" %} +{% block title %}{{ SITENAME }} - {{ tag }} | {{ SITENAME }}{% endblock %} +{% block content_title %}Ricerca per tag: "{{ tag }}"{% endblock %} +{% block ogtitle %}{{ SITENAME }} - {{ tag }}{% endblock %} +{% block ogurl %}{{ SITEURL }}/{{ tag.url }}{%endblock%} +{% block canonicalurl %}{{ SITEURL }}/{{ tag.url }}{%endblock%} diff --git a/themes/2017/templates/tags.html b/themes/2017/templates/tags.html new file mode 100644 index 0000000..b81ff60 --- /dev/null +++ b/themes/2017/templates/tags.html @@ -0,0 +1,19 @@ +{% extends "index.html" %} +{% block title %}Tags in {{ SITENAME }}{% endblock %} +{% block ogtitle %}Tags in {{ SITENAME }}{% endblock %} +{% block ogurl %}{{ SITEURL }}/tags.html{%endblock%}%} +{% block canonicalurl %}{{ SITEURL }}/tags.html{%endblock%} + +{% block content %} +
    +
    +

    {% block content_title %}Tags{% endblock %}

    + +
    + {% for tag, articles in tags|sort %} +
    {{ tag }} ({{ articles|count }})
    + {% endfor %} +
    +
    +
    +{% endblock %} diff --git a/themes/2017/templates/translations.html b/themes/2017/templates/translations.html new file mode 100644 index 0000000..75ed375 --- /dev/null +++ b/themes/2017/templates/translations.html @@ -0,0 +1,10 @@ +{% macro translations_for(article) %} +{% if article.translations %} +
    +Translations: + {% for translation in article.translations %} + {{ translation.lang }} + {% endfor %} +{% endif %} +{% endmacro %} +