morpheus-site

morpheus.2f30.org website
git clone git://git.2f30.org/morpheus-site.git
Log | Files | Refs | LICENSE

commit a48296eacc3f0a3c381b7d187dd12ace5b983d64
parent 4de3be8d7f876106424887a5610ddb74f7da386a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue Apr 22 15:53:52 +0200

initial morpheus site

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
generate.sh | 47++++++++++++++---------------------------------
output/2f30.png | 0
output/style.css | 1+
pages/001-community.md | 5+++++
pages/001-community.sh | 13+++++++++++++
pages/002-index.md | 28++++++++++++++++++++++++++++
pages/002-index.sh | 13+++++++++++++
7 files changed, 74 insertions(+), 33 deletions(-)
diff --git a/generate.sh b/generate.sh @@ -1,22 +1,22 @@ #!/bin/sh # site title (part of ${pagetitle} probably). -sitetitle="Codemadness" +sitetitle="Morpheus" # site language. sitelang="en" # main site domain. -sitedomain="http://www.codemadness.nl" +sitedomain="http://www.morpheus.org" # relative site url, can be "/blog" or something. siteurlrel="" # full site url. siteurlfull="${sitedomain}${siteurlrel}" # site keywords (global default), don't use too many. -sitekeywords="blog, suckless, dwm-hiltjo" +sitekeywords="morpheus, static, linux, distribution" # site description (global default). -sitedescription="blog with various projects and articles about computer-related things" +sitedescription="Morpheus, a simple staticly-linked Linux distribution" # sitem mail used for contact "mail link". -sitemail="hiltjo@AT@codemadness.DOT.org" +sitemail="admin@AT@morpheus DOT org" # site author (global). -siteauthor="hiltjo" +siteauthor="admin" # site last updated (default use date when script was run). siteupdated=$(date "+%Y-%m-%dT%H:%M:%SZ") # Directories containing content and metadata. @@ -81,10 +81,10 @@ pageread() { content=$("${markdown}" "${filename}") fi fi - created="<strong>Created on:</strong> ${datecreated}<br/>" - if [ ! "${datecreated}" = "${dateupdated}" ]; then - created="${created}<strong>Last update on:</strong> ${dateupdated}<br/>" - fi +# created="<strong>Created on:</strong> ${datecreated}<br/>" +# if [ ! "${datecreated}" = "${dateupdated}" ]; then +# created="${created}<strong>Last update on:</strong> ${dateupdated}<br/>" +# fi } pageheader() { @@ -115,15 +115,10 @@ pageheader() { <div id="menuwrap"> <div id="menu"> <span id="links"> - <a href="index.html" title="Blog">Blog</a> | - <a href="http://git.codemadness.org/" title="Some of my projects">Git</a> | - <a href="https://github.com/hiltjo/" title="Some of my projects on github">Github</a> - </span> - <span id="links-contact"> - <span class="hidden"> | </span> - <a href="rss.xml" title="RSS feed">RSS</a> | - <a href="atom.xml" title="Atom feed">Atom</a> | - <a href="mailto:${sitemail}" title="Mail me">Mail</a> + <img src="2f30.png" width="32" height="32" alt="" valign="middle" /> <a href="index.html">Morpheus Linux</a> | + <a href="http://git.2f30.org/morpheus/plain/README" title="Installation instructions">Install</a> | + <a href="community.html" title="Community">Community</a> | + <a href="http://git.2f30.org/" title="Morpheus git">Git</a> </span> </div> </div> @@ -136,8 +131,6 @@ pageheader() { pagecontent() { pageheader cat <<!__EOF__ - <h1><a href="">${title}</a></h1> - <em>${created}</em> ${content} !__EOF__ pagefooter @@ -234,18 +227,6 @@ $(find "${pagesdir}" -type f -name "*.sh" | sort -rn) # in the scope after the while loop (subshell / pipes prevents this in a # standard manner). -# index page. -pagereset -title="Posts" -(pageheader -cat <<!__EOF__ - <h1>${title}</h1> - <table> - ${contentindex} - </table> -!__EOF__ -pagefooter) > "${outputdir}/index.html" - # RSS cat <<!__EOF__ > "${outputdir}/rss.xml" <?xml version="1.0" encoding="UTF-8"?> diff --git a/output/2f30.png b/output/2f30.png Binary files differ. diff --git a/output/style.css b/output/style.css @@ -55,6 +55,7 @@ pre { text-align: left; max-width: 80ex; } +#links img, #menu a { font-weight: bold; vertical-align: middle; diff --git a/pages/001-community.md b/pages/001-community.md @@ -0,0 +1,5 @@ +IRC +=== +Server: irc.oftc.net + +Channel: #morpheus diff --git a/pages/001-community.sh b/pages/001-community.sh @@ -0,0 +1,13 @@ +#!/bin/sh +title="Community" +description="Community" +timecreated="2014-04-22 00:00" +timeupdated="2014-04-22 00:00" +#id="html-example" +#url="${id}.html" +#tags="tags, comma, separated" +#keywords="keywords, comma, separated" +#categories="Category name" +#timestamp="2013-01-01" +#author="author" +#content="custom stuff" diff --git a/pages/002-index.md b/pages/002-index.md @@ -0,0 +1,28 @@ +Design and project goals +======================== + +* [Keep it simple](http://suckless.org/philosophy). +* Stable release model with binary packages and a ports system (Plan9 mk-based). +* [Statically linked, using musl-libc](http://www.musl-libc.org/). +* Sane simple base utilities, see: sbase, ubase, hbase etc. +* [Package management using mount overlays (aufs), but mostly FHS compatible](http://aufs.sourceforge.net/). +* UTF-8 locale. +* No Native Language Support (NLS), english only. +* No systemd and rabbit hole. +* No binary blob drivers (except linux-firmware). +* Separate /emul chroot (or containers / jail?) for legacy or binary-blob software (skype, wine, robot-unicorn-attack). + + +Software we use or have developed for our core system +===================================================== + +* [sbase](http://git.2f30.org/sbase/): suckless unix tools. +* [ubase](http://git.2f30.org/ubase/): suckless linux base utils. +* [hbase](http://git.2f30.org/hbase/): heirloom port. +* [sinit](http://git.2f30.org/sinit/): /bin/init. +* [smdev](http://git.2f30.org/smdev/): device hotplug, replacement for udev for most purposes. +* [svc](http://git.2f30.org/ports/tree/fs/bin/svc): service management, written in POSIX sh. +* [mkbuild](http://git.2f30.org/mkbuild/): Plan9 mk-based build system, used by ports. +* [ports](http://git.2f30.org/ports/): Plan9 mkfiles to build sotware packages, uses mkbuild. + +tinyx? tinyalsa? sdhcp? st? etc. diff --git a/pages/002-index.sh b/pages/002-index.sh @@ -0,0 +1,13 @@ +#!/bin/sh +title="Project" +description="About the project" +timecreated="2014-04-22 00:00" +timeupdated="2014-04-22 00:00" +id="index" +#url="${id}.html" +#tags="tags, comma, separated" +#keywords="keywords, comma, separated" +#categories="Category name" +#timestamp="2013-01-01" +#author="author" +#content="custom stuff"