added another article (mel hogan) and updated the templates and css

This commit is contained in:
manetta 2020-11-19 15:50:39 +01:00
parent cb3236341c
commit 79380889aa
13 changed files with 267 additions and 307 deletions

View File

@ -0,0 +1,142 @@
Title: The Pandemic\'s Dark Cloud
Author: Mél Hogan
Category: Articles
# The Pandemic\'s Dark Cloud
As the pandemic settled into consciousness across the globe, humans
devolved. People in countries where the response to COVID-19 was most
mismanaged started to snack a lot.[^1] Pre-sliced packaged charcuterie.
Ritz crackers. Oreo cookies. In their growing helplessness, people also
sharply increased their consumption of alcohol, especially women in the
US.[^2] For some it was drugs. Those lucky enough to keep their job
doubled down on work, staying at their stations or desks for longer
hours -- part avoidance and part stuckness into systems that could offer
no other plan.
The dread by now is cumulative. Pick your pain: covid19, white
supremacy, climate catastrophe. People are reaching new levels of
"doomscrolling" on social media, playing online video games, and
"binge-watching" Netflix as ways to pass the time, waiting on the virus
to run its course, or for politicians to make a plan. As things shut
down, Zoom quickly took over as the way to communicate at a safe social
distance. Education quickly became clicking at screens. No more shopping
in person meant ordering by way of interfaces. All of these screens more
or less allowed things to continue, if not as normal, as a viable
alternative in the meantime. It remains to be seen if this online world
we've adopted so quickly is the new normal, and here to stay, or if
it'll reflect to us the inefficiencies of how we lived before and save
us from ourselves. Or, maybe it will call into question the terrible
inequities that are only made more evident by this pandemic.
By April, the news media were already reporting that lockdowns had meant
cleaner air and clearer water.[^3] Satellite images showed less
pollution over China and the US. Animals were found roaming freely in
different parts of India.[^4] "Nature is healing" became a popular meme
celebrating the lessening of human impact and nature's recovery.[^5] But
were the effects of lockdown, or quarantine, of humans being trapped in
their homes, and of doing everything online, truly a more sustainable
way of going about life? Had the turn to "the cloud" proven to be the
weightless way forward? Social isolation and disinformation propagation
problems aside, could the internet become a tool to inadvertently save
the environment?
In thinking of the internet and the many devices connected to it, these
account for approximately 2-4% of global greenhouse emissions, which
only promise to double by 2025.[^6] Data centres and vast server farms
(where data is stored and transmitted) draw more than 80% of their
energy from fossil fuel power stations. Online video alone -- porn,
Netflix, YouTube, Zoom -- generated 60% of the world's total data flows
before covid19 hit. A Google search uses as much energy as cooking an
egg or boiling water in an electric kettle.[^7] Yearly emails for work
(and not accounting for spam) have been calculated to be equal in terms
of CO2 emissions to driving 320 kilometres.[^8] These numbers have
likely gone up considerably since the pandemic.[^9] This way of living
wasn't sustainable then, and it certainly isn't now.
There are search engines (eg. Ecosia[^10]) and add-ons (eg. Carbonalyser
by The Shift Project,[^11] green-algorithms.org[^12]) that help measure
user impacts on the environment, but these miss addressing the bigger
questions -- such as moving away from confronting personal use to the
systemic, material, and ideological issues baked into the internet. Why
is the internet like this? The question is more political than it is
purely technological. It's more emotional, even, than it is political.
Because we've drifted so far away from understanding nature as inherent
to humans and non-humans alike, towards unrelenting and exploitative
capitalism and extractivism, it means we now have these massively
entangled systems that reinforce one another, generate profit for the
very few, but in the end benefit nothing and nobody.[^13] These systems
are harder to abolish and undo, so instead we turn to solutions that
lessen their impacts, and we consider the rest inevitable -- or worse,
natural. We might, for example, shift data centers to cooler climates to
save on cooling costs, we might develop more efficient software, we
might offer carbon offsetting and plant trees, but none of these
technofixes reach the heart of the our current predicament: our
solutions and our problems originate from the same short-sighted,
greed-driven, competitive, and market-driven agendas that caused this
global deadly pandemic in the first place.
In 2020, we are generating 50 million tons worldwide of electronic
waste, with an annual growth of 5%.[^14] This means that we produce
e-waste at three times the rate that humans reproduce. Much e-waste is
toxic and severely impacts land, water, plants, animals, and humans.
This damage is permanent. At the other end of the supply chain, fields
of wheat and corn have become lakes of toxic sludge to accommodate the
rare earth mining industry.[^15] From Mongolia to China to the Congo,
people labour in dangerous conditions, mining through the ore-laden mud
to find rare minerals to power our devices. Elsewhere, people work
endless shifts to assemble computers, phones, tablets. It should be no
surprise then that the internet that connects this all is toxic too,
evidenced by both the work of content moderators who filter the
internet, and the shady tactics used by Big Tech to evade taxes to get
filthy rich off the backs of this global human-powered machine. As Ron
Deibert put it recently in his CBC Massey Lectures, "If we continue on
this path of unbridled consumption and planned obsolescence, we are
doomed."[^16]
So we can either become extinct from the repercussions of our centuries
old destructive neoliberal colonial institutions, as the planet pushes
back with more pandemics, storms, and violence, or we can get together
and admit to our failures as colonisers. These failures tap into
something profound, deeply broken, about what settlers have historically
valued and continue to enact. We are living largely in the dark
fantasies of ghosts -- and these old, settler ideas haunt and break us.
We can imagine better. We can make other decisions. We can tune our
emotions to move from awareness to anxiety to action. We return public
lands to Indigenous peoples. We defund and dismantle white supremacy. We
transform ourselves, and our communication systems will follow.
[^1]: [[https://www.convenience.org/Media/Daily/2020/May/1/6-Snack-Sales-Soar-During-Pandemic\_Marketing]{.underline}](https://www.convenience.org/Media/Daily/2020/May/1/6-Snack-Sales-Soar-During-Pandemic_Marketing)
[[https://news.italianfood.net/2020/04/02/pre-sliced-packaged-charcuterie-partly-offsets-pandemic-blow/]{.underline}](https://news.italianfood.net/2020/04/02/pre-sliced-packaged-charcuterie-partly-offsets-pandemic-blow/)
[[https://www.foodbusinessnews.net/articles/16078-the-snack-trends-predicted-to-persist-post-pandemic]{.underline}](https://www.foodbusinessnews.net/articles/16078-the-snack-trends-predicted-to-persist-post-pandemic)
[^2]: [[https://nypost.com/2020/04/13/americans-are-handling-coronavirus-pandemic-by-binging-on-snacks/]{.underline}](https://nypost.com/2020/04/13/americans-are-handling-coronavirus-pandemic-by-binging-on-snacks/)
[[https://www.herworld.com/gallery/life/wellness/overeating-binge-eating-covid19-pandemic-work-home/]{.underline}](https://www.herworld.com/gallery/life/wellness/overeating-binge-eating-covid19-pandemic-work-home/)
[^3]: [[https://www.nbcnews.com/science/environment/coronavirus-shutdowns-have-unintended-climate-benefits-n1161921]{.underline}](https://www.nbcnews.com/science/environment/coronavirus-shutdowns-have-unintended-climate-benefits-n1161921)
[^4]: [[https://www.planetofstudents.com/blog/social-awareness/effects-of-lockdown-on-the-environment/]{.underline}](https://www.planetofstudents.com/blog/social-awareness/effects-of-lockdown-on-the-environment/)
[^5]: [[https://www.buzzfeednews.com/article/emmanuelfelton/coronavirus-meme-nature-is-healing-we-are-the-virus]{.underline}](https://www.buzzfeednews.com/article/emmanuelfelton/coronavirus-meme-nature-is-healing-we-are-the-virus)
[^6]: [[https://www.bbc.com/future/article/20200305-why-your-internet-habits-are-not-as-clean-as-you-think]{.underline}](https://www.bbc.com/future/article/20200305-why-your-internet-habits-are-not-as-clean-as-you-think)
[^7]: [[https://www.theguardian.com/environment/ethicallivingblog/2009/jan/12/carbon-emissions-google]{.underline}](https://www.theguardian.com/environment/ethicallivingblog/2009/jan/12/carbon-emissions-google)
[^8]: [[https://www.bbc.com/future/article/20200305-why-your-internet-habits-are-not-as-clean-as-you-think]{.underline}](https://www.bbc.com/future/article/20200305-why-your-internet-habits-are-not-as-clean-as-you-think)
[^9]: [[https://theshiftproject.org/en/article/unsustainable-use-online-video/]{.underline}](https://theshiftproject.org/en/article/unsustainable-use-online-video/)
[^10]: [[https://www.ecosia.org/]{.underline}](https://www.ecosia.org/)
[^11]: [[https://addons.mozilla.org/fr/firefox/addon/carbonalyser/]{.underline}](https://addons.mozilla.org/fr/firefox/addon/carbonalyser/)
[^12]: [[http://www.green-algorithms.org/]{.underline}](http://www.green-algorithms.org/)
[^13]: [[https://landback.org/manifesto/]{.underline}](https://landback.org/manifesto/)
[^14]: [[https://www.thebalancesmb.com/e-waste-recycling-facts-and-figures-2878189]{.underline}](https://www.thebalancesmb.com/e-waste-recycling-facts-and-figures-2878189)
[^15]: [[https://www.dailymail.co.uk/home/moslive/article-1350811/In-China-true-cost-Britains-clean-green-wind-power-experiment-Pollution-disastrous-scale.html]{.underline}](https://www.dailymail.co.uk/home/moslive/article-1350811/In-China-true-cost-Britains-clean-green-wind-power-experiment-Pollution-disastrous-scale.html)
[^16]: [[https://munkschool.exposure.co/a-qa-with-ron-deibert]{.underline}](https://munkschool.exposure.co/a-qa-with-ron-deibert)

View File

@ -1,15 +0,0 @@
Basic
#####
This theme has been made for the documentation of the template inheritance feature of Pelican.
He is usable, but only works with the last version of Pelican from the GIT repository...
It supports Google Analytics and has a Jappix widget.
Screenshot
----------
.. image:: screenshot.png
:alt: Screenshot of the basic theme

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

View File

@ -1,70 +0,0 @@
.highlight { background: #333333; color: #ffffff}
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #87ceeb} /* Comment */
.highlight .err { color: #ffffff} /* Error */
.highlight .g { color: #ffffff} /* Generic */
.highlight .k { color: #f0e68c} /* Keyword */
.highlight .l { color: #ffffff} /* Literal */
.highlight .n { color: #ffffff} /* Name */
.highlight .o { color: #ffffff} /* Operator */
.highlight .x { color: #ffffff} /* Other */
.highlight .p { color: #ffffff} /* Punctuation */
.highlight .cm { color: #87ceeb} /* Comment.Multiline */
.highlight .cp { color: #cd5c5c} /* Comment.Preproc */
.highlight .c1 { color: #87ceeb} /* Comment.Single */
.highlight .cs { color: #87ceeb} /* Comment.Special */
.highlight .gd { color: #0000c0; font-weight: bold; background-color: #008080 } /* Generic.Deleted */
.highlight .ge { color: #c000c0; text-decoration: underline} /* Generic.Emph */
.highlight .gr { color: #c0c0c0; font-weight: bold; background-color: #c00000 } /* Generic.Error */
.highlight .gh { color: #cd5c5c} /* Generic.Heading */
.highlight .gi { color: #ffffff; background-color: #0000c0 } /* Generic.Inserted */
.highlight .go { color: #add8e6; font-weight: bold; background-color: #4d4d4d } /* Generic.Output */
.highlight .gp { color: #ffffff} /* Generic.Prompt */
.highlight .gs { color: #ffffff} /* Generic.Strong */
.highlight .gu { color: #cd5c5c} /* Generic.Subheading */
.highlight .gt { color: #c0c0c0; font-weight: bold; background-color: #c00000 } /* Generic.Traceback */
.highlight .kc { color: #f0e68c} /* Keyword.Constant */
.highlight .kd { color: #f0e68c} /* Keyword.Declaration */
.highlight .kn { color: #f0e68c} /* Keyword.Namespace */
.highlight .kp { color: #f0e68c} /* Keyword.Pseudo */
.highlight .kr { color: #f0e68c} /* Keyword.Reserved */
.highlight .kt { color: #bdb76b} /* Keyword.Type */
.highlight .ld { color: #ffffff} /* Literal.Date */
.highlight .m { color: #ffffff} /* Literal.Number */
.highlight .s { color: #ffffff} /* Literal.String */
.highlight .na { color: #ffffff} /* Name.Attribute */
.highlight .nb { color: #ffffff} /* Name.Builtin */
.highlight .nc { color: #ffffff} /* Name.Class */
.highlight .no { color: #ffa0a0} /* Name.Constant */
.highlight .nd { color: #ffffff} /* Name.Decorator */
.highlight .ni { color: #ffdead} /* Name.Entity */
.highlight .ne { color: #ffffff} /* Name.Exception */
.highlight .nf { color: #ffffff} /* Name.Function */
.highlight .nl { color: #ffffff} /* Name.Label */
.highlight .nn { color: #ffffff} /* Name.Namespace */
.highlight .nx { color: #ffffff} /* Name.Other */
.highlight .py { color: #ffffff} /* Name.Property */
.highlight .nt { color: #f0e68c} /* Name.Tag */
.highlight .nv { color: #98fb98} /* Name.Variable */
.highlight .ow { color: #ffffff} /* Operator.Word */
.highlight .w { color: #ffffff} /* Text.Whitespace */
.highlight .mf { color: #ffffff} /* Literal.Number.Float */
.highlight .mh { color: #ffffff} /* Literal.Number.Hex */
.highlight .mi { color: #ffffff} /* Literal.Number.Integer */
.highlight .mo { color: #ffffff} /* Literal.Number.Oct */
.highlight .sb { color: #ffffff} /* Literal.String.Backtick */
.highlight .sc { color: #ffffff} /* Literal.String.Char */
.highlight .sd { color: #ffffff} /* Literal.String.Doc */
.highlight .s2 { color: #ffffff} /* Literal.String.Double */
.highlight .se { color: #ffffff} /* Literal.String.Escape */
.highlight .sh { color: #ffffff} /* Literal.String.Heredoc */
.highlight .si { color: #ffffff} /* Literal.String.Interpol */
.highlight .sx { color: #ffffff} /* Literal.String.Other */
.highlight .sr { color: #ffffff} /* Literal.String.Regex */
.highlight .s1 { color: #ffffff} /* Literal.String.Single */
.highlight .ss { color: #ffffff} /* Literal.String.Symbol */
.highlight .bp { color: #ffffff} /* Name.Builtin.Pseudo */
.highlight .vc { color: #98fb98} /* Name.Variable.Class */
.highlight .vg { color: #98fb98} /* Name.Variable.Global */
.highlight .vi { color: #98fb98} /* Name.Variable.Instance */
.highlight .il { color: #ffffff} /* Literal.Number.Integer.Long */

View File

@ -1,40 +1,21 @@
body { body {
font-family: monospace; position: relative;
font-size: 100%; top: 0;
background-color: white; left: 0;
color: #111; margin: 0;
width: 80%; padding: 1em 4em;
min-width: 400px; font-family: monospace;
min-height: 200px;
padding: 1em;
margin: 5% 10%;
border: thin solid gray;
border-radius: 5px;
display: block;
} }
a:link { color: blue; text-decoration: none; } header,
a:hover { color: blue; text-decoration: underline; } footer{
a:visited { color: blue; } margin: 2em 0;
padding: 2em;
h1 a { color: inherit !important } border: 1px dotted magenta;
h2 a { color: inherit !important }
h3 a { color: inherit !important }
h4 a { color: inherit !important }
h5 a { color: inherit !important }
h6 a { color: inherit !important }
#menu li {
display: inline;
}
#post-list {
margin-bottom: 1em;
margin-top: 1em;
}
pre {
margin: 2em 1em 2em 4em;
white-space: pre-wrap;
} }
article.post{
margin: 2em 0;
padding: 2em;
background-color: rgb(240,240,240);
}

View File

@ -1,70 +0,0 @@
.highlight { background: #202020; color: #e2e2e5}
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #808080; font-style: italic} /* Comment */
.highlight .err { color: #e2e2e5} /* Error */
.highlight .g { color: #e2e2e5} /* Generic */
.highlight .k { color: #7e8aa2} /* Keyword */
.highlight .l { color: #e2e2e5} /* Literal */
.highlight .n { color: #e2e2e5} /* Name */
.highlight .o { color: #e2e2e5} /* Operator */
.highlight .x { color: #e2e2e5} /* Other */
.highlight .p { color: #e2e2e5} /* Punctuation */
.highlight .cm { color: #808080; font-style: italic} /* Comment.Multiline */
.highlight .cp { color: #faf4c6} /* Comment.Preproc */
.highlight .c1 { color: #808080; font-style: italic} /* Comment.Single */
.highlight .cs { color: #808080; font-style: italic} /* Comment.Special */
.highlight .gd { color: #e2e2e5} /* Generic.Deleted */
.highlight .ge { color: #e2e2e5} /* Generic.Emph */
.highlight .gr { color: #e2e2e5} /* Generic.Error */
.highlight .gh { color: #f6f3e8; font-weight: bold} /* Generic.Heading */
.highlight .gi { color: #e2e2e5} /* Generic.Inserted */
.highlight .go { color: #808080; background-color: #303030 } /* Generic.Output */
.highlight .gp { color: #e2e2e5} /* Generic.Prompt */
.highlight .gs { color: #e2e2e5} /* Generic.Strong */
.highlight .gu { color: #f6f3e8; font-weight: bold} /* Generic.Subheading */
.highlight .gt { color: #e2e2e5} /* Generic.Traceback */
.highlight .kc { color: #7e8aa2} /* Keyword.Constant */
.highlight .kd { color: #7e8aa2} /* Keyword.Declaration */
.highlight .kn { color: #7e8aa2} /* Keyword.Namespace */
.highlight .kp { color: #7e8aa2} /* Keyword.Pseudo */
.highlight .kr { color: #7e8aa2} /* Keyword.Reserved */
.highlight .kt { color: #7e8aa2} /* Keyword.Type */
.highlight .ld { color: #e2e2e5} /* Literal.Date */
.highlight .m { color: #ff9800} /* Literal.Number */
.highlight .s { color: #b1d631; font-style: italic} /* Literal.String */
.highlight .na { color: #ffffff; font-weight: bold} /* Name.Attribute */
.highlight .nb { color: #e2e2e5} /* Name.Builtin */
.highlight .nc { color: #e2e2e5} /* Name.Class */
.highlight .no { color: #ff9800} /* Name.Constant */
.highlight .nd { color: #e2e2e5} /* Name.Decorator */
.highlight .ni { color: #ff9800} /* Name.Entity */
.highlight .ne { color: #e2e2e5} /* Name.Exception */
.highlight .nf { color: #ffffff; font-weight: bold} /* Name.Function */
.highlight .nl { color: #e2e2e5} /* Name.Label */
.highlight .nn { color: #e2e2e5} /* Name.Namespace */
.highlight .nx { color: #e2e2e5} /* Name.Other */
.highlight .py { color: #e2e2e5} /* Name.Property */
.highlight .nt { color: #7e8aa2} /* Name.Tag */
.highlight .nv { color: #b1d631} /* Name.Variable */
.highlight .ow { color: #e2e2e5} /* Operator.Word */
.highlight .w { color: #e2e2e5} /* Text.Whitespace */
.highlight .mf { color: #ff9800} /* Literal.Number.Float */
.highlight .mh { color: #ff9800} /* Literal.Number.Hex */
.highlight .mi { color: #ff9800} /* Literal.Number.Integer */
.highlight .mo { color: #ff9800} /* Literal.Number.Oct */
.highlight .sb { color: #b1d631; font-style: italic} /* Literal.String.Backtick */
.highlight .sc { color: #b1d631; font-style: italic} /* Literal.String.Char */
.highlight .sd { color: #b1d631; font-style: italic} /* Literal.String.Doc */
.highlight .s2 { color: #b1d631; font-style: italic} /* Literal.String.Double */
.highlight .se { color: #b1d631; font-style: italic} /* Literal.String.Escape */
.highlight .sh { color: #b1d631; font-style: italic} /* Literal.String.Heredoc */
.highlight .si { color: #b1d631; font-style: italic} /* Literal.String.Interpol */
.highlight .sx { color: #b1d631; font-style: italic} /* Literal.String.Other */
.highlight .sr { color: #b1d631; font-style: italic} /* Literal.String.Regex */
.highlight .s1 { color: #b1d631; font-style: italic} /* Literal.String.Single */
.highlight .ss { color: #b1d631; font-style: italic} /* Literal.String.Symbol */
.highlight .bp { color: #e2e2e5} /* Name.Builtin.Pseudo */
.highlight .vc { color: #b1d631} /* Name.Variable.Class */
.highlight .vg { color: #b1d631} /* Name.Variable.Global */
.highlight .vi { color: #b1d631} /* Name.Variable.Instance */
.highlight .il { color: #ff9800} /* Literal.Number.Integer.Long */

View File

@ -1,70 +0,0 @@
.highlight { background: #1e2426; color: #babdb6}
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #656763} /* Comment */
.highlight .err { color: #babdb6} /* Error */
.highlight .g { color: #babdb6} /* Generic */
.highlight .k { color: #729fcf} /* Keyword */
.highlight .l { color: #babdb6} /* Literal */
.highlight .n { color: #babdb6} /* Name */
.highlight .o { color: #babdb6} /* Operator */
.highlight .x { color: #babdb6} /* Other */
.highlight .p { color: #babdb6} /* Punctuation */
.highlight .cm { color: #656763} /* Comment.Multiline */
.highlight .cp { color: #fcaf3e} /* Comment.Preproc */
.highlight .c1 { color: #656763} /* Comment.Single */
.highlight .cs { color: #656763} /* Comment.Special */
.highlight .gd { color: #2e3436; background-color: #0e1416 } /* Generic.Deleted */
.highlight .ge { color: #babdb6} /* Generic.Emph */
.highlight .gr { color: #eeeeec; background-color: #cc0000 } /* Generic.Error */
.highlight .gh { color: #fcaf3e} /* Generic.Heading */
.highlight .gi { color: #babdb6; background-color: #1f2b2d } /* Generic.Inserted */
.highlight .go { color: #2c3032; background-color: #2c3032 } /* Generic.Output */
.highlight .gp { color: #babdb6} /* Generic.Prompt */
.highlight .gs { color: #babdb6} /* Generic.Strong */
.highlight .gu { color: #fcaf3e} /* Generic.Subheading */
.highlight .gt { color: #babdb6} /* Generic.Traceback */
.highlight .kc { color: #729fcf} /* Keyword.Constant */
.highlight .kd { color: #729fcf} /* Keyword.Declaration */
.highlight .kn { color: #729fcf} /* Keyword.Namespace */
.highlight .kp { color: #729fcf} /* Keyword.Pseudo */
.highlight .kr { color: #729fcf} /* Keyword.Reserved */
.highlight .kt { color: #e3e7df} /* Keyword.Type */
.highlight .ld { color: #babdb6} /* Literal.Date */
.highlight .m { color: #8ae234} /* Literal.Number */
.highlight .s { color: #babdb6} /* Literal.String */
.highlight .na { color: #fcaf3e} /* Name.Attribute */
.highlight .nb { color: #babdb6} /* Name.Builtin */
.highlight .nc { color: #babdb6} /* Name.Class */
.highlight .no { color: #8ae234} /* Name.Constant */
.highlight .nd { color: #babdb6} /* Name.Decorator */
.highlight .ni { color: #888a85} /* Name.Entity */
.highlight .ne { color: #babdb6} /* Name.Exception */
.highlight .nf { color: #fcaf3e} /* Name.Function */
.highlight .nl { color: #babdb6} /* Name.Label */
.highlight .nn { color: #babdb6} /* Name.Namespace */
.highlight .nx { color: #babdb6} /* Name.Other */
.highlight .py { color: #babdb6} /* Name.Property */
.highlight .nt { color: #729fcf} /* Name.Tag */
.highlight .nv { color: #ffffff} /* Name.Variable */
.highlight .ow { color: #babdb6} /* Operator.Word */
.highlight .w { color: #babdb6} /* Text.Whitespace */
.highlight .mf { color: #8ae234} /* Literal.Number.Float */
.highlight .mh { color: #8ae234} /* Literal.Number.Hex */
.highlight .mi { color: #8ae234} /* Literal.Number.Integer */
.highlight .mo { color: #8ae234} /* Literal.Number.Oct */
.highlight .sb { color: #babdb6} /* Literal.String.Backtick */
.highlight .sc { color: #babdb6} /* Literal.String.Char */
.highlight .sd { color: #babdb6} /* Literal.String.Doc */
.highlight .s2 { color: #babdb6} /* Literal.String.Double */
.highlight .se { color: #babdb6} /* Literal.String.Escape */
.highlight .sh { color: #babdb6} /* Literal.String.Heredoc */
.highlight .si { color: #babdb6} /* Literal.String.Interpol */
.highlight .sx { color: #babdb6} /* Literal.String.Other */
.highlight .sr { color: #babdb6} /* Literal.String.Regex */
.highlight .s1 { color: #babdb6} /* Literal.String.Single */
.highlight .ss { color: #babdb6} /* Literal.String.Symbol */
.highlight .bp { color: #babdb6} /* Name.Builtin.Pseudo */
.highlight .vc { color: #ffffff} /* Name.Variable.Class */
.highlight .vg { color: #ffffff} /* Name.Variable.Global */
.highlight .vi { color: #ffffff} /* Name.Variable.Instance */
.highlight .il { color: #8ae234} /* Literal.Number.Integer.Long */

View File

@ -0,0 +1,27 @@
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - {{ article.title|striptags }}{% endblock %}
{% block content %}
<article class="post">
<h2 class="post-title">{{ article.title }}</h2>
<div class="post-info">
<div class="date">
{{ article.locale_date }}
</div>
{% if article.category %}
<div class="category">
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
</div>
{% endif %}
</div>
<div class="post-content">
{{ article.content }}
</div>
</article>
{% endblock %}

View File

@ -1,48 +1,38 @@
{% extends "!simple/base.html" %} <!DOCTYPE html>
<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}">
{%- block head %} <head>
{{ super() }} {% block head %}
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/rdark.css" /> <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" /> <meta charset="utf-8" />
<link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" /> <meta name="generator" content="Pelican" />
{%- if FEED_RSS %}<link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />{% endif -%} <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}" />
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> {% endblock head %}
{% if GOOGLE_ANALYTICS %}
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("{{ GOOGLE_ANALYTICS }}");
pageTracker._trackPageview();
} catch(err) {}
</script>
{% endif %}
{% if JABBER_CHATROOM %}
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="https://static.jappix.com/php/get.php?l=fr&amp;t=js&amp;g=mini.xml"></script>
<script type="text/javascript">
jQuery(document).ready(function() {
MINI_GROUPCHATS = ["{{ JABBER_CHATROOM }}"];
MINI_ANIMATE = true;
launchMini(false, true, "anonymous.jappix.com");
});
</script>
{% endif %}
<!-- Using MathJax, with the delimiters $ -->
<!-- Conflict with pygments for the .mo and .mi -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
"HTML-CSS": {
styles: {
".MathJax .mo, .MathJax .mi": {color: "black ! important"}}
},
tex2jax: {inlineMath: [['$','$'], ['\\\\(','\\\\)']],processEscapes: true}
});
</script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
</head> </head>
{% endblock -%} <body>
<header id="banner">
<p>HEADER</p>
<h1><a href="{{ SITEURL }}/">{{ SITENAME }}{% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a></h1>
<nav id="menu">
<ul>
{% if DISPLAY_CATEGORIES_ON_MENU %}
{% for cat, null in categories %}
<a href="{{ SITEURL }}/{{ cat.url }}"><li{% if cat == category %} class="active"{% endif %}>{{ cat }}</li></a>
{% endfor %}
{% endif %}
</ul>
</nav>
</header>
<section id="content">
{% block content %}
{% endblock %}
</section>
<footer id="contentinfo" class="body">
<p>FOOTER</p>
</footer>
</body>
</html>

View File

@ -0,0 +1,7 @@
{% extends "index.html" %}
{% block title %}{{ SITENAME }} - {{ category }} category{% endblock %}
{% block content_title %}
{% endblock %}

View File

@ -0,0 +1,28 @@
{% extends "base.html" %}
{% block content %}
<section>
{% for article in articles_page.object_list|sort(attribute="slug")%}
<article class="post">
<h2 class="post-title">
<a href="{{ SITEURL }}/{{ article.url }}" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a>
</h2>
<div class="post-info">
<div class="date">
{{ article.locale_date }}
</div>
{% if article.category %}
<div class="category">
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
</div>
{% endif %}
</div>
<div class="post-summary">
{{ article.summary }}
</div>
</article>
{% endfor %}
</section>
{% endblock content %}

View File

@ -0,0 +1,10 @@
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - {{ page.title|striptags }}{%endblock%}
{% block content %}
<article class="page">
<h1>{{ page.title }}</h1>
{{ page.content }}
</article>
{% endblock %}