From 430cec050b168c7b16edeba4c5269c3edea3f2eb Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 21 Jun 2016 18:29:50 -0400 Subject: small template fixes for CSS and XHTML validation Thanks W3C validation tools! --- theme/templates/article.html | 14 ++++---- theme/templates/base.html | 3 +- theme/templates/index.html | 2 +- theme/templates/index.html.path | 69 ++++++++++++++++++++++++++++++++++++ theme/templates/index.html.viewport | 70 +++++++++++++++++++++++++++++++++++++ 5 files changed, 149 insertions(+), 9 deletions(-) create mode 100644 theme/templates/index.html.path create mode 100644 theme/templates/index.html.viewport (limited to 'theme/templates') 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 %} {{ article.title }} + title="Permalink to {{ article.title|striptags }}">{{ article.title }} {% endblock %} {% block content %} -
-
+{#
+
#} {% import 'translations.html' as translations with context %} {{ translations.translations_for(article) }} -
-
+{#
+
#}
{{ article.locale_date }} @@ -40,9 +40,9 @@ {% endif %}
-
+{# #}
{{ article.content }}
-
+{# #} {% 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 @@ + {% block head %} {% block title %}{{ SITENAME }}{% endblock title %} - + {% if FEED_RSS %} {% 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
{% block content %}
-
+
iceland beach



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 %} + + + + +{% endblock %} + +{% block path %}{% endblock %} + +{% block pagetitle %}{% endblock %} + +{% block right_stuff %} +
+
+
+RSS feeds
+   - all posts (atom)
+

+Other sites
+   - github
+   - keybase
+   - the-nsa.org
+   - feed reader
+{% endblock %} + +{% block content %} +
+
+
+
+
+ +{# NB: synchronize with /about/ page #} +Hi, I'm Bryan Newbold! 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 (Industry Lab, MIT). + +
+
+ +

Where am I Now?

+As of Summer 2016 I am attending the Recurse +Center in New York City, becoming a stronger (and happier!) programmer. +My home has been Seattle +since Fall 2014, where I have been hiking and biking and working remotely for +Twinleaf, a small New Jersey company that +builds Atomic Magnetometers. + «previously» + +
+
+ +

Sporatic Writings

+{% set recent = articles if not all_articles else all_articles %} + + +{% 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 %} + + + + + +{% endblock %} + +{% block path %}{% endblock %} + +{% block pagetitle %}{% endblock %} + +{% block right_stuff %} +
+
+
+RSS feeds
+   - all posts (atom)
+

+Other sites
+   - github
+   - keybase
+   - the-nsa.org
+   - feed reader
+{% endblock %} + +{% block content %} +
+
+
+
+
+ +{# NB: synchronize with /about/ page #} +Hi, I'm Bryan Newbold! 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 (Industry Lab, MIT). + +
+
+ +

Where am I Now?

+As of Summer 2016 I am attending the Recurse +Center in New York City, becoming a stronger (and happier!) programmer. +My home has been Seattle +since Fall 2014, where I have been hiking and biking and working remotely for +Twinleaf, a small New Jersey company that +builds Atomic Magnetometers. + «previously» + +
+
+ +

Sporatic Writings

+{% set recent = articles if not all_articles else all_articles %} + + +{% endblock %} -- cgit v1.2.3