first commit
This commit is contained in:
commit
c3c64d7de8
75
README.md
Normal file
75
README.md
Normal file
@ -0,0 +1,75 @@
|
||||
This repo is to generate a static site for anarchyplanet.org to
|
||||
replace the existing site. The goal is to generate the site from
|
||||
markdown files by converting the markdown to html and applying minimal
|
||||
styling.
|
||||
|
||||
The advantage to this method is that all of the content can be
|
||||
contained in a single directory without being obscured by the rest of
|
||||
the code that's needed to make a website run (such as html). This will
|
||||
(eventually!) make it easy to update content as well as export into
|
||||
other formats or potential website generators.
|
||||
|
||||
This informal README will be replaced with an official README with
|
||||
instructions for how to contribute to the site, but first we have to
|
||||
figure out how ourselves! All methods are also open for discussion,
|
||||
the only requirement that notnull hopes for is pure markdown files in
|
||||
a single directory, but sceox is welcome to change publish.sh to a
|
||||
make script. :)
|
||||
|
||||
You can see this method in action (maybe! if we didn't break it) at
|
||||
<testing.anarchyplanet.org>
|
||||
|
||||
# TODOs
|
||||
|
||||
## TODO choose a markdown converter (or a method to fix discount's shortcomings)
|
||||
|
||||
We are currently using
|
||||
[discount](http://www.pell.portland.or.us/~orc/Code/markdown/),
|
||||
however discount 2.2.2 (included in Debian repos) is not properly
|
||||
handling the conversion of anchor links (not a deal breaker but not
|
||||
great). For example, it converts:
|
||||
|
||||
```markdown
|
||||
Anarchy Planet Sites{#planet}
|
||||
--------------------
|
||||
```
|
||||
|
||||
to:
|
||||
|
||||
```html
|
||||
<li><a href="#planet">Anarchy Planet Sites</a></li>
|
||||
```
|
||||
|
||||
when it should convert it to:
|
||||
|
||||
```html
|
||||
<h2 id="planet">Anarchy Planet Sites</h2>
|
||||
```
|
||||
|
||||
Pandoc handles this perfectly; however it is a large package with many
|
||||
features we don't need. However, one advantage to pandoc is that it
|
||||
can also handle .muse files :)
|
||||
|
||||
## TODO fix up publish.sh
|
||||
|
||||
notnull's bash scripting skills are severely lacking, but the general
|
||||
logic is there. In particular, we need to figure out how to insert
|
||||
text from nav.html after the first `<body>` tag.
|
||||
|
||||
## TODO discuss and decide on sections
|
||||
|
||||
notnull's proposals for the sections are:
|
||||
|
||||
- home
|
||||
- projects (not services)
|
||||
- webring (instead of 'others')
|
||||
- contact (probably just a mailto: link)
|
||||
|
||||
## TODO write copy for sections
|
||||
|
||||
What rocinante has done on
|
||||
[anarchist news](https://anarchistnews.org/content/anarchy-planet) is
|
||||
already pretty great. Maybe these could be more verbose, but maybe
|
||||
they are fine the way they are!
|
||||
|
||||
## TODO we need a favicon
|
15
md/index.md
Normal file
15
md/index.md
Normal file
@ -0,0 +1,15 @@
|
||||
We hope that Anarchy Planet becomes a place where anarchists and their friends can find each other, learn about anarchism, discuss the topics of importance to them and be linked to the universe of anarchy. We will do this by providing the infrastructure for anarchists to communicate to the world and each other. We will do this with communications services (blogs, internal IM, secure IM, email, & more over time) and sites that connect us to each other.
|
||||
|
||||
Our goal
|
||||
--------
|
||||
|
||||
In addition to services Anarchy Planet is a point of departure for an entire world of autonomous anarchist projects (aka a portal). This includes an introduction to anarchy, a news site for anarchists, a site where you can buy anarchist ephemera, a forum, an extensive archive of anarchist texts, and a site for review essays and intelligent conversation.
|
||||
|
||||
In addition, Anarchy Planet is putting into place an infrastructure for future anarchist projects and current anarchist opinion. This is collective project will coordinate technology and human resources to fill needs as required by the residents of the Anarchy Planet.
|
||||
|
||||
Inter-planetary goals
|
||||
---------------------
|
||||
|
||||
While the Anarchy Planet will be filled with some of the most interesting and energetic wings of the current times we recognize that there are other planets out there. We want our relationship to those places to be friendly. We intend to send clear text transmissions that we hope make it to these other locations but, and importantly, we will attempt to highlight the exciting things going on at other places (on occasion). We want to respect the time that other groups have put into their projects and that means sharing what we know, what we are doing, and learning from others. We hope for the best of cross-pollination without being infected by the worst effects of political flattening that happens in coalition projects.
|
||||
|
||||
There will be links, offers of support, and sociability as a principle between the Anarchy Planet and the others in our universe.
|
201
md/webring.md
Normal file
201
md/webring.md
Normal file
@ -0,0 +1,201 @@
|
||||
Webring
|
||||
======
|
||||
|
||||
This is our links page to all the other active hubs of anarchist (and
|
||||
other comrades) activity online (and hopefully not online) that we are
|
||||
aware of. We will prioritize those groups that are positioned in our
|
||||
Galaxy but would eventually like this list to be authoritative of the
|
||||
entire universe of active practitioners of [anarchist
|
||||
ideas](http://anarchy101.org/1/what-is-anarchism#2). [Please email us
|
||||
any links](mailto:planet@anarchyplanet.org?subject=Link%20request) that
|
||||
should be added and we will take a look.
|
||||
|
||||
- [Anarchy Planet Sites](#planet)
|
||||
- [Outer Anarchy Planet Sites](#outerplanet)
|
||||
- [Periodical Galaxy](#periodicals)
|
||||
- [Publisher Galaxy](#publisher)
|
||||
- [Location Galaxy](#location)
|
||||
- [@ Blogs Galaxy](#blogs)
|
||||
- [@ Forums Galaxy](#blogs)
|
||||
- [Infoshop Galaxy](#infoshop)
|
||||
- [Green @ Galaxy](#green)
|
||||
- [Red @ Galaxy](#red)
|
||||
- [Student Occupation Galaxy](#red)
|
||||
- [Prisoner Support Galaxy](#red)
|
||||
|
||||
Anarchy Planet Sites{#planet}
|
||||
--------------------
|
||||
|
||||
[The Anvil](http://theanvilreview.org/)
|
||||
|
||||
> The Anvil is a review site for writings by anarchists (explicit and
|
||||
> implicit). We critically review content spread across popular culture,
|
||||
> literature, anarchist publishing, and everywhere our reviewers desire.
|
||||
> We will be decanting a print version of the best of the site every few
|
||||
> months.
|
||||
|
||||
[Anarchist News](http://anarchistnews.org/)
|
||||
|
||||
> Anarchist news provides a non-sectarian source for news about and of
|
||||
> concern to anarchists. It also provides a location for discussion
|
||||
> about such news.
|
||||
|
||||
[Little Black Cart](http://LittleBlackCart.com)
|
||||
|
||||
> LBC offers a selection of things, meaningless on their own, but in a
|
||||
> context (social, historical, genealogical) that have been meaningful
|
||||
> for each of us. Even though we are fully aware of contradiction of our
|
||||
> participation in commodity culture, the spectacle, and even plain old
|
||||
> petit-bourgeoisie capitalism, we maintain a resolve that this is worth
|
||||
> doing.
|
||||
|
||||
[The Anarchist Library](http://theanarchistlibrary.org/)
|
||||
|
||||
> The Anarchist Library is an archive of all anarchist texts. Our
|
||||
> collection will consist of every digitally-available anarchist book,
|
||||
> essay, story and article. We will be using only Free Software and Open
|
||||
> Formats to produce typographically accurate, easy to parse, clean
|
||||
> textual treatments of these texts.
|
||||
|
||||
Outer Anarchy Planet Sites {#outerplanet}
|
||||
--------------------------
|
||||
|
||||
[Anarchy 101](http://anarchy101.org/)
|
||||
|
||||
> Anarchy101 is a Question & Answer site, where you can ask questions
|
||||
> and receive answers about anarchism from other members of the
|
||||
> anarchist community. It in inteded for non-anarchists and anarchists
|
||||
> alike but the slant is definitely geared towards modern anarchist
|
||||
> thought
|
||||
|
||||
[Anarchist International](http://anarchistinternational.org)
|
||||
|
||||
> This is a forum intended to bring discussions from all over the Planet
|
||||
> together. In addition of meta-Anarchy Planet topics the goal is to
|
||||
> have conversations about anarchist practice, formal debates between
|
||||
> positions, and non-English discussions.
|
||||
|
||||
[Anti-Politics](http://anti-politics.net/)
|
||||
|
||||
> This is a clearing house of projects that are, on some level, inspired
|
||||
> by Killing King Abacus. It includes Quiver distribution, Incendio
|
||||
> magazine, a Blackbird Raum page, and the eternal anti-politics message
|
||||
> board.
|
||||
|
||||
[Pistols Drawn](http://pistolsdrawn.org)
|
||||
|
||||
> A website about Nihilist Anarchy
|
||||
|
||||
|
||||
Periodicals
|
||||
-----------
|
||||
|
||||
[Anarchy: A Journal of Desire Armed](http://anarchymag.org)
|
||||
|
||||
> Long running North American magazine based in Berkeley CA
|
||||
|
||||
[Anarcho-Syndicalist Review](http://www.syndicalist.org/)
|
||||
|
||||
> ASR is a forum for non-sectarian, critical, informed and constructive
|
||||
> discussion of anarcho-syndicalist theory and practice. We are not
|
||||
> affiliated with, sponsored by, or the mouth-piece of any organization.
|
||||
> Our outlook is internationalist. We stand in solidarity with working
|
||||
> people everywhere, and in particular with those who, rejecting both
|
||||
> state capitalism and state socialism as proven threats to the health
|
||||
> of people and planet alike, seek peace and justice for themselves and
|
||||
> their fellow workers through international labor solidarity.
|
||||
|
||||
[Abolishing the Borders from Below](http://www.abb.hardcore.lt/joomla/index.php)
|
||||
|
||||
> There is an enduring need to instantly abolish all states, governments
|
||||
> and authoritarian institutions so that communities based on common
|
||||
> values such as freedom, respect, collaboration and solidarity can be
|
||||
> formed. These communities in turn can lead to the transformation of
|
||||
> the world order into one based on the above mentioned values. In an
|
||||
> attempt to push forward both of these goals with support for
|
||||
> developement from the anarchist movement above the borders we have
|
||||
> created ...
|
||||
|
||||
[Fifth Estate](http://fifthestate.org)
|
||||
|
||||
> Begun in 1965 as one of the first of the 500 so-called underground
|
||||
> newspapers and published continually in Detroit, and jointly in, New
|
||||
> York, Wisconsin, and Tennessee, for readers across the world, the
|
||||
> Fifth Estate is the longest publishing, English language,
|
||||
> anti-authoritarian newspapers in American history.
|
||||
|
||||
[Fire to the Prisons](http://firetotheprisons.angelfire.com/)
|
||||
|
||||
> Fire to the Prisons is for informational and educational purposes
|
||||
> only. This magazine in no way encourages or supports any illegal
|
||||
> behavior in any way. This magazine looks only to provide a printed
|
||||
> forum for conversation and news. We are reporting not inciting. The
|
||||
> entirety of the content in this magazine was found as public
|
||||
> information, and later compiled or re-organized for this magazine.
|
||||
> Nothing here is the original content of those responsible for this
|
||||
> magazine. Any attempt by anyone to connect this publication to any
|
||||
> illegal behavior is a complete fabrication by forces looking to impede
|
||||
> the spreading of information such as this. The topics brought up in
|
||||
> this magazine in no way reflect the perspective of any specific person
|
||||
> allegedly involved with this publication. They also do not reflect the
|
||||
> perspectives or outlooks of any individual or group mentioned in or
|
||||
> receiving this publication.
|
||||
|
||||
[Letters Journal](http://lettersjournal.org/)
|
||||
|
||||
> With this journal we wish to better understand and analyze capitalism
|
||||
> and its critics through the distorting lens of a rigorous
|
||||
> anti-political experimentation and soul searching. We are not the
|
||||
> expression of a political party or organization and seeks no adherents
|
||||
> or official line, though we are open to offers of financial patronage.
|
||||
> We are not afraid of paradox. Our aim is to bring maximum disorder to
|
||||
> habitual perspectives.
|
||||
|
||||
[Modesto Anarcho](http://www.modestoanarcho.org/)
|
||||
|
||||
> Modesto Anarcho Crew produces a quarterly journal, and is based out of
|
||||
> the Central Valley town of Modesto, California. MAC is a street-based
|
||||
> organization that exists to create revolutionary literature from a
|
||||
> combative workng class perspective. As a crew, we engage and
|
||||
> participate in struggles in our area. Modesto Anarcho is free to all
|
||||
> and can be picked up around the Modesto area for free.
|
||||
>
|
||||
> The system has made us broke; it's up to us to break it.
|
||||
|
||||
[The Northeastern Anarchist](http://nefac.net/nea/)
|
||||
|
||||
> The Northeastern Anarchist is the English-language magazine of the
|
||||
> Northeastern Federation of Anarchist-Communists (NEFAC), covering news
|
||||
> of revolutionary resistance that is of interest to the anarchist
|
||||
> movement, and publishing class struggle anarchist theory, history and
|
||||
> analysis in an effort to further develop anarchist communist ideas and
|
||||
> practice.
|
||||
|
||||
[Politics is not a Banana](http://www.politicsisnotabanana.com/)
|
||||
|
||||
> THE INSTITUTE CARES ABOUT YOU
|
||||
>
|
||||
> THE INSTITUTE FOR EXPERIMENTAL FREEDOM
|
||||
> the IEF is a small publishing, distribution and culture production
|
||||
> project of a few friends and their closest cohorts. We believe in
|
||||
> pretty, the constitution of an autonomous social force and the utopian
|
||||
> urge of in/human creativity. We produce and distribute literature that
|
||||
> focuses on: lesser-known radical history, insurrectional anarchist and
|
||||
> communist theory, literature that critiques industrial civilization
|
||||
> and literature that affirms of revolt the exploited. Holla if you need
|
||||
> it like we do.
|
||||
|
||||
[Rolling Thunder](http://www.crimethinc.com/rt/)
|
||||
|
||||
> Rolling Thunder is a biannual journal covering passionate living and
|
||||
> creative resistance in all the forms they take: from consensus process
|
||||
> to streetfighting, from workplace struggles to graffiti art, from
|
||||
> gender mutiny to subversive humor. Each issue runs the gamut from
|
||||
> on-the-spot reporting, strategic analysis, and instructional guides to
|
||||
> poetry, comics, and games.
|
||||
>
|
||||
> Rolling Thunder provides the substance and depth the internet cannot.
|
||||
> Each issue is finely-printed on 100% post-consumer recycled paper with
|
||||
> soy-based ink, runs over one hundred pages, is free of advertisements
|
||||
> and features clean and elegant design showcasing high-quality original
|
||||
> artwork and photographs.
|
6
nav.html
Normal file
6
nav.html
Normal file
@ -0,0 +1,6 @@
|
||||
<nav>
|
||||
<a href="/index.html">home</a>
|
||||
<a href="/projects.html">projects</a>
|
||||
<a href="/webring.html">webring</a>
|
||||
<a href="/contact.html">contact</a>
|
||||
<nav>
|
17
publish.sh
Executable file
17
publish.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
PUB_DIR=${1:-/home/html/planet/static}
|
||||
FILES=md/*.md
|
||||
|
||||
for f in $FILES
|
||||
do
|
||||
filename=$(basename -- $f .md)
|
||||
echo "publishing md/$filename.md to $PUB_DIR/$filename.html"
|
||||
mkd2html -css style.css $f
|
||||
mv md/*.html $PUB_DIR
|
||||
|
||||
# TODO insert nav before <body> tag
|
||||
# sed '/<body>/e cat nav.html' html/$filename.html
|
||||
done
|
||||
|
||||
|
182
style.css
Normal file
182
style.css
Normal file
@ -0,0 +1,182 @@
|
||||
|
||||
/* Body */
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }
|
||||
|
||||
body {
|
||||
font-size: 1.8rem;
|
||||
line-height: 1.618;
|
||||
max-width: 38em;
|
||||
margin: auto;
|
||||
color: #c9c9c9;
|
||||
background-color: #222222;
|
||||
padding: 13px; }
|
||||
|
||||
@media (max-width: 684px) {
|
||||
body {
|
||||
font-size: 1.53rem; } }
|
||||
|
||||
@media (max-width: 382px) {
|
||||
body {
|
||||
font-size: 1.35rem; } }
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
line-height: 1.1;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
|
||||
font-weight: 700;
|
||||
margin-top: 3rem;
|
||||
margin-bottom: 1.5rem;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
-ms-word-break: break-all;
|
||||
word-break: break-word;
|
||||
-ms-hyphens: auto;
|
||||
-moz-hyphens: auto;
|
||||
-webkit-hyphens: auto;
|
||||
hyphens: auto; }
|
||||
|
||||
h1 {
|
||||
font-size: 2.35em; }
|
||||
|
||||
h2 {
|
||||
font-size: 2.00em; }
|
||||
|
||||
h3 {
|
||||
font-size: 1.75em; }
|
||||
|
||||
h4 {
|
||||
font-size: 1.5em; }
|
||||
|
||||
h5 {
|
||||
font-size: 1.25em; }
|
||||
|
||||
h6 {
|
||||
font-size: 1em; }
|
||||
|
||||
p {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 2.5rem; }
|
||||
|
||||
small, sub, sup {
|
||||
font-size: 75%; }
|
||||
|
||||
hr {
|
||||
border-color: #ffffff; }
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #ffffff; }
|
||||
a:hover {
|
||||
color: #c9c9c9;
|
||||
border-bottom: 2px solid #c9c9c9; }
|
||||
|
||||
ul {
|
||||
padding-left: 1.4em;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 2.5rem; }
|
||||
|
||||
li {
|
||||
margin-bottom: 0.4em; }
|
||||
|
||||
blockquote {
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
padding-left: 1em;
|
||||
padding-top: 0.8em;
|
||||
padding-bottom: 0.8em;
|
||||
padding-right: 0.8em;
|
||||
border-left: 5px solid #ffffff;
|
||||
margin-bottom: 2.5rem;
|
||||
background-color: #4a4a4a; }
|
||||
|
||||
blockquote p {
|
||||
margin-bottom: 0; }
|
||||
|
||||
img {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 2.5rem; }
|
||||
|
||||
/* Pre and Code */
|
||||
pre {
|
||||
background-color: #4a4a4a;
|
||||
display: block;
|
||||
padding: 1em;
|
||||
overflow-x: auto;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 2.5rem; }
|
||||
|
||||
code {
|
||||
font-size: 0.9em;
|
||||
padding: 0 0.5em;
|
||||
background-color: #4a4a4a;
|
||||
white-space: pre-wrap; }
|
||||
|
||||
pre > code {
|
||||
padding: 0;
|
||||
background-color: transparent;
|
||||
white-space: pre; }
|
||||
|
||||
/* Tables */
|
||||
table {
|
||||
text-align: justify;
|
||||
width: 100%;
|
||||
border-collapse: collapse; }
|
||||
|
||||
td, th {
|
||||
padding: 0.5em;
|
||||
border-bottom: 1px solid #4a4a4a; }
|
||||
|
||||
/* Buttons, forms and input */
|
||||
input, textarea {
|
||||
border: 1px solid #c9c9c9; }
|
||||
input:focus, textarea:focus {
|
||||
border: 1px solid #ffffff; }
|
||||
|
||||
textarea {
|
||||
width: 100%; }
|
||||
|
||||
.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
|
||||
display: inline-block;
|
||||
padding: 5px 10px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
background-color: #ffffff;
|
||||
color: #222222;
|
||||
border-radius: 1px;
|
||||
border: 1px solid #ffffff;
|
||||
cursor: pointer;
|
||||
box-sizing: border-box; }
|
||||
.button[disabled], button[disabled], input[type="submit"][disabled], input[type="reset"][disabled], input[type="button"][disabled] {
|
||||
cursor: default;
|
||||
opacity: .5; }
|
||||
.button:focus:enabled, .button:hover:enabled, button:focus:enabled, button:hover:enabled, input[type="submit"]:focus:enabled, input[type="submit"]:hover:enabled, input[type="reset"]:focus:enabled, input[type="reset"]:hover:enabled, input[type="button"]:focus:enabled, input[type="button"]:hover:enabled {
|
||||
background-color: #c9c9c9;
|
||||
border-color: #c9c9c9;
|
||||
color: #222222;
|
||||
outline: 0; }
|
||||
|
||||
textarea, select, input[type] {
|
||||
color: #c9c9c9;
|
||||
padding: 6px 10px;
|
||||
/* The 6px vertically centers text on FF, ignored by Webkit */
|
||||
margin-bottom: 10px;
|
||||
background-color: #4a4a4a;
|
||||
border: 1px solid #4a4a4a;
|
||||
border-radius: 4px;
|
||||
box-shadow: none;
|
||||
box-sizing: border-box; }
|
||||
textarea:focus, select:focus, input[type]:focus {
|
||||
border: 1px solid #ffffff;
|
||||
outline: 0; }
|
||||
|
||||
input[type="checkbox"]:focus {
|
||||
outline: 1px dotted #ffffff; }
|
||||
|
||||
label, legend, fieldset {
|
||||
display: block;
|
||||
margin-bottom: .5rem;
|
||||
font-weight: 600; }
|
Loading…
Reference in New Issue
Block a user