diff options
Diffstat (limited to 'theme/templates')
-rw-r--r-- | theme/templates/article.html | 14 | ||||
-rw-r--r-- | theme/templates/base.html | 3 | ||||
-rw-r--r-- | theme/templates/index.html | 2 | ||||
-rw-r--r-- | theme/templates/index.html.path | 69 | ||||
-rw-r--r-- | theme/templates/index.html.viewport | 70 |
5 files changed, 149 insertions, 9 deletions
diff --git a/theme/templates/article.html b/theme/templates/article.html index 23bf022..dd17efd 100644 --- a/theme/templates/article.html +++ b/theme/templates/article.html @@ -14,15 +14,15 @@ {% block pagetitle %} <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" - title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> + title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a> {% endblock %} {% block content %} -<section id="content" class="body"> - <header> +{# <section id="content" class="body"> + <header> #} {% import 'translations.html' as translations with context %} {{ translations.translations_for(article) }} - </header> - <footer class="post-info"> +{# </header> + <footer class="post-info"> #} <div class="right_stuff"> <abbr class="published" title="{{ article.date.isoformat() }}"> {{ article.locale_date }} @@ -40,9 +40,9 @@ </address> {% endif %} </div> - </footer><!-- /.post-info --> +{# </footer><!-- /.post-info --> #} <div class="entry-content"> {{ article.content }} </div><!-- /.entry-content --> -</section> +{# </section> #} {% endblock %} diff --git a/theme/templates/base.html b/theme/templates/base.html index 9ad8a1e..dedf4ab 100644 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -1,10 +1,11 @@ +<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> {% block head %} <title>{% block title %}{{ SITENAME }}{% endblock title %}</title> -<meta charset="utf-8" /> +<!-- <meta charset="utf-8" /> --> {% if FEED_RSS %} <link href="{{ FEED_DOMAIN }}//feeds/posts.atom.xml" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Posts RSS Feed" /> {% endif %} diff --git a/theme/templates/index.html b/theme/templates/index.html index d108f7d..5e5a9e5 100644 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -27,7 +27,7 @@ Other sites<br /> {% block content %} <br /> -<center><img style="border: none;" src="/static/img/iceland_beach.jpg"></center> +<center><img style="border: none;" src="/static/img/iceland_beach.jpg" alt="iceland beach" /></center> <br /> <br /> <br /> diff --git a/theme/templates/index.html.path b/theme/templates/index.html.path new file mode 100644 index 0000000..49dd456 --- /dev/null +++ b/theme/templates/index.html.path @@ -0,0 +1,69 @@ +{% extends "base.html" %} + +{% block overhead %} +<link rel="openid.server" href="http://www.myopenid.com/server" /> +<link rel="openid.delegate" href="http://bnewbold.myopenid.com" /> +<meta http-equiv="X-XRDS-Location" content="http://bnewbold.myopenid.com/xrds" /> +<link rel="stylesheet" type="text/css" href="/static/style/git_wiki.css" /> +{% endblock %} + +{% block path %}{% endblock %} + +{% block pagetitle %}{% endblock %} + +{% block right_stuff %} +<br /> +<br /> +<br /> +RSS feeds<br /> + - <a href="/feeds/posts.rss.xml">all posts</a> (<a href="/feeds/posts.atom.xml">atom</a>)<br /> +<br /><br /> +Other sites<br /> + - <a href="https://github.com/bnewbold/">github</a><br /> + - <a href="https://keybase.io/bnewbold/">keybase</a><br /> + - <a href="http://bnewbold.the-nsa.org/">the-nsa.org</a><br /> + - <a href="http://feeds.bnewbold.net/">feed reader</a><br /> +{% endblock %} + +{% block content %} +<br /> +<center><img style="border: none;" src="/static/img/pnw_fall_path.jpg" width="750px"></center> +<br /> +<br /> +<br /> + +{# NB: synchronize with /about/ page #} +Hi, I'm <b>Bryan Newbold</b>! I like to climb things and look around. Most of my work +has been dealing with the messy interfaces between information, abstraction, +and nature (eg, embedded digital electronics for scientific instruments). +You might know me from around Seattle, New York City, or Boston/Cambridge (<a +href="http://industry-lab.com/">Industry Lab</a>, MIT). + +<br /> +<br /> + + <h3>Where am I Now?</h3> +As of Summer 2016 I am attending the <a href="https://recurse.com">Recurse +Center</a> in New York City, becoming a stronger (and happier!) programmer. +My <a href="https://extraordinary.leastsquar.es/">home</a> has been Seattle +since Fall 2014, where I have been hiking and biking and working remotely for +<a href="http://www.twinleaf.com">Twinleaf</a>, a small New Jersey company that +builds Atomic Magnetometers. + <a href="/whatsup/" style="font-size: smaller;">«previously»</a> + +<br /> +<br /> + + <h3>Sporatic Writings</h3> +{% set recent = articles if not all_articles else all_articles %} +<ul> +{% for article in recent %} + {% if loop.index <= 15%} + <li><b>{{ article.date.strftime("%b %Y") }}</b> + <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a> + </li> + {% endif %} +{% endfor %} +</ul> + +{% endblock %} diff --git a/theme/templates/index.html.viewport b/theme/templates/index.html.viewport new file mode 100644 index 0000000..ee8ad4d --- /dev/null +++ b/theme/templates/index.html.viewport @@ -0,0 +1,70 @@ +{% extends "base.html" %} + +{% block overhead %} +<link rel="openid.server" href="http://www.myopenid.com/server" /> +<link rel="openid.delegate" href="http://bnewbold.myopenid.com" /> +<meta http-equiv="X-XRDS-Location" content="http://bnewbold.myopenid.com/xrds" /> +<link rel="stylesheet" type="text/css" href="/static/style/git_wiki.css" /> +<meta name="viewport" content="width=device-width, initial-scale=1" /> +{% endblock %} + +{% block path %}{% endblock %} + +{% block pagetitle %}{% endblock %} + +{% block right_stuff %} +<br /> +<br /> +<br /> +RSS feeds<br /> + - <a href="/feeds/posts.rss.xml">all posts</a> (<a href="/feeds/posts.atom.xml">atom</a>)<br /> +<br /><br /> +Other sites<br /> + - <a href="https://github.com/bnewbold/">github</a><br /> + - <a href="https://keybase.io/bnewbold/">keybase</a><br /> + - <a href="http://bnewbold.the-nsa.org/">the-nsa.org</a><br /> + - <a href="http://feeds.bnewbold.net/">feed reader</a><br /> +{% endblock %} + +{% block content %} +<br /> +<center><img style="border: none;" src="/static/img/iceland_beach.jpg"></center> +<br /> +<br /> +<br /> + +{# NB: synchronize with /about/ page #} +Hi, I'm <b>Bryan Newbold</b>! I like to climb things and look around. Most of my work +has been dealing with the messy interfaces between information, abstraction, +and nature (eg, embedded digital electronics for scientific instruments). +You might know me from around Seattle, New York City, or Boston/Cambridge (<a +href="http://industry-lab.com/">Industry Lab</a>, MIT). + +<br /> +<br /> + + <h3>Where am I Now?</h3> +As of Summer 2016 I am attending the <a href="https://recurse.com">Recurse +Center</a> in New York City, becoming a stronger (and happier!) programmer. +My <a href="https://extraordinary.leastsquar.es/">home</a> has been Seattle +since Fall 2014, where I have been hiking and biking and working remotely for +<a href="http://www.twinleaf.com">Twinleaf</a>, a small New Jersey company that +builds Atomic Magnetometers. + <a href="/whatsup/" style="font-size: smaller;">«previously»</a> + +<br /> +<br /> + + <h3>Sporatic Writings</h3> +{% set recent = articles if not all_articles else all_articles %} +<ul> +{% for article in recent %} + {% if loop.index <= 15%} + <li><b>{{ article.date.strftime("%b %Y") }}</b> + <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a> + </li> + {% endif %} +{% endfor %} +</ul> + +{% endblock %} |