summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--design/sass/screenv8.scss1
-rw-r--r--design/templates/archives/homepage.html64
-rw-r--r--design/templates/base.html3
3 files changed, 43 insertions, 25 deletions
diff --git a/design/sass/screenv8.scss b/design/sass/screenv8.scss
index cda3c75..8412e49 100644
--- a/design/sass/screenv8.scss
+++ b/design/sass/screenv8.scss
@@ -16,6 +16,7 @@
@import "_projects.scss";
@import "_homepage.scss";
@import "_mailing-list.scss";
+@import "_birds.scss";
//@import "_tablet.sass";
//@import "_inbox.scss";
diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html
index 9b8b1af..9f0eb2c 100644
--- a/design/templates/archives/homepage.html
+++ b/design/templates/archives/homepage.html
@@ -1,27 +1,35 @@
{% extends 'base.html' %}
{% load typogrify_tags %}
{%block htmlclass%}class="black"{%endblock%}
+{% block sitename %}
+<head itemscope itemtype="http://schema.org/WebSite">
+ <title itemprop='name'>Luxagraf</title>
+ <link rel="canonical" href="https://luxagraf.net/" itemprop="url">{%endblock%}
{%block bodyid%}id="home" class="has-hero"{%endblock%}
{% block primary %}<section class="banner">{% with object=homepage.banner %}
- <article class="h-entry hentry">
+ <article class="h-entry hentry" itemscope itemType="http://schema.org/Article">
<div class="post--image">
<a href="{{object.get_absolute_url}}" title="{{object.title}}">
<picture>
<!--<source media="(min-width: 45em)" srcset="large.jpg">-->
<source media="(max-width: 30em)" srcset="{{object.get_image_hero_url_sm}}">
- <img src="{{object.get_image_hero_url}}" alt="{{ object.title }}" class="u-photo post-image homepage--hero" />
+ <img src="{{object.get_image_hero_url}}" alt="{{ object.title }}" class="u-photo post-image homepage--hero" itemprop="image" />
</picture>
</a>
</div>
<div class="hero--wrapper">
- <h1 class="p-name entry-title post--title main--header"><a href="{{object.get_absolute_url}}" class="u-url" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|safe|smartypants}}</a></h1>
- <p class="p-author author hide">Scott Gilbertson</p>
+ <h2 class="p-name entry-title post--title main--header" itemprop="headline"><a href="{{object.get_absolute_url}}" class="u-url" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|safe|smartypants}}</a></h2>
+ <p class="p-author author hide" itemprop="author">Scott Gilbertson</p>
<time class="dt-published published dt-updated post--date" datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time>
- <p class="p-location h-adr adr post--location main--location">
- {% if object.country.name == "United States" %}<span class="p-locality locality" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/Geo">{{object.location.name|smartypants|safe}}</span>, <a class="p-region region" href="/jrnl/united-states/" title="travel writing from the United States">{{object.state.name}}</a>, <span class="p-country-name">U.S.</span>{%else%}<span class="p-region">{{object.location.name|smartypants|safe}}</span>, <a class="p-country-name country-name" href="/jrnl/{{object.country.slug}}/" title="travel writing from {{object.country.name}}">{{object.country.name}}</a>{%endif%}
- <data itemprop="latitude" class="p-latitude" value="{{object.latitude}}"></data>
- <data itemprop="longitude" class="p-longitude" value="{{object.longitude}}"></data>
+ <p class="post--location main--location">
+ <span class="p-location h-adr adr" itemprop="contentLocation" itemscope itemtype="http://schema.org/Place">
+ {% if object.country.name == "United States" %}<span class="p-locality locality">{{object.location.name|smartypants|safe}}</span>, <a class="p-region region" href="/jrnl/united-states/" title="travel writing from the United States">{{object.state.name}}</a>, <span class="p-country-name">U.S.</span>{%else%}<span class="p-region">{{object.location.name|smartypants|safe}}</span>, <a class="p-country-name country-name" href="/jrnl/{{object.country.slug}}/" title="travel writing from {{object.country.name}}">{{object.country.name}}</a>{%endif%}
+ <span style="display: none;" itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
+ <data itemprop="latitude" class="p-latitude" value="{{object.latitude}}">{{object.latitude}}</data>
+ <data itemprop="longitude" class="p-longitude" value="{{object.longitude}}">{{object.longitude}}</data>
+ </span>
+ </span>
</p>
<p class="p-summary main--tag">
Explore the lost era of oyster farmers.
@@ -42,17 +50,21 @@
<section class="archive homepage--archives">
<h1 class="homepage--arc-header">Most Popular</h1>
{% for object in homepage.entry_list.all %}
- <article class="h-entry hentry">
+ <article class="h-entry hentry" itemscope itemType="http://schema.org/Article">
<div class="post--image">
- <a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_image_wide_url}}" alt="{{ object.title }}" class="u-photo post-image" /></a>
+ <a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_image_wide_url}}" alt="{{ object.title }}" class="u-photo post-image" itemprop="image" /></a>
</div>
- <h1 class="p-name entry-title post--title"><a href="{{object.get_absolute_url}}" class="u-url" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|safe|smartypants|widont}}</a></h1>
- <p class="p-author author hide">Scott Gilbertson</p>
+ <h2 class="p-name entry-title post--title" itemprop="headline"><a href="{{object.get_absolute_url}}" class="u-url" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|safe|smartypants|widont}}</a></h2>
+ <p class="p-author author hide" itemprop="author">Scott Gilbertson</p>
<time class="dt-published published dt-updated post--date" datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time>
- <p class="p-location h-adr adr post--location">
- {% if object.country.name == "United States" %}<span class="p-locality locality" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/Geo">{{object.location.name|smartypants|safe}}</span>, <a class="p-region region" href="/jrnl/united-states/" title="travel writing from the United States">{{object.state.name}}</a>, <span class="p-country-name">U.S.</span>{%else%}<span class="p-region">{{object.location.name|smartypants|safe}}</span>, <a class="p-country-name country-name" href="/jrnl/{{object.country.slug}}/" title="travel writing from {{object.country.name}}">{{object.country.name}}</a>{%endif%}
- <data itemprop="latitude" class="p-latitude" value="{{object.latitude}}"></data>
- <data itemprop="longitude" class="p-longitude" value="{{object.longitude}}"></data>
+ <p class="post--location">
+ <span class="p-location h-adr adr" itemprop="contentLocation" itemscope itemtype="http://schema.org/Place">
+ {% if object.country.name == "United States" %}<span class="p-locality locality">{{object.location.name|smartypants|safe}}</span>, <a class="p-region region" href="/jrnl/united-states/" title="travel writing from the United States">{{object.state.name}}</a>, <span class="p-country-name">U.S.</span>{%else%}<span class="p-region">{{object.location.name|smartypants|safe}}</span>, <a class="p-country-name country-name" href="/jrnl/{{object.country.slug}}/" title="travel writing from {{object.country.name}}">{{object.country.name}}</a>{%endif%}
+ <span style="display: none;" itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
+ <data itemprop="latitude" class="p-latitude" value="{{object.latitude}}">{{object.latitude}}</data>
+ <data itemprop="longitude" class="p-longitude" value="{{object.longitude}}">{{object.longitude}}</data>
+ </span>
+ </span>
</p>
</article> {% endfor %}
<p><a href="/jrnl/" class="homepage--next">Read More</a></p>
@@ -60,17 +72,21 @@
<section class="homepage--bright archive">
<h1 class="homepage--arc-header">Most Recent</h1>
{% for object in recent %}
- <article class="h-entry hentry">
+ <article class="h-entry hentry" itemscope itemType="http://schema.org/Article">
<div class="post--image">
- <a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_image_url}}" alt="{{ object.title }}" class="u-photo post-image" /></a>
+ <a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_image_url}}" alt="{{ object.title }}" class="u-photo post-image" itemprop="image" /></a>
</div>
- <h1 class="p-name entry-title post--title"><a href="{{object.get_absolute_url}}" class="u-url" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|safe|smartypants|widont}}</a></h1>
- <p class="p-author author hide">Scott Gilbertson</p>
+ <h2 class="p-name entry-title post--title" itemprop="headline"><a href="{{object.get_absolute_url}}" class="u-url" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|safe|smartypants|widont}}</a></h2>
+ <p class="p-author author hide" itemprop="author">Scott Gilbertson</p>
<time class="dt-published published dt-updated post--date" datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time>
- <p class="p-location h-adr adr post--location">
- {% if object.country.name == "United States" %}<span class="p-locality locality" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/Geo">{{object.location.name|smartypants|safe}}</span>, <a class="p-region region" href="/jrnl/united-states/" title="travel writing from the United States">{{object.state.name}}</a>, <span class="p-country-name">U.S.</span>{%else%}<span class="p-region">{{object.location.name|smartypants|safe}}</span>, <a class="p-country-name country-name" href="/jrnl/{{object.country.slug}}/" title="travel writing from {{object.country.name}}">{{object.country.name}}</a>{%endif%}
- <data itemprop="latitude" class="p-latitude" value="{{object.latitude}}"></data>
- <data itemprop="longitude" class="p-longitude" value="{{object.longitude}}"></data>
+ <p class="post--location">
+ <span class="p-location h-adr adr" itemprop="contentLocation" itemscope itemtype="http://schema.org/Place">
+ {% if object.country.name == "United States" %}<span class="p-locality locality">{{object.location.name|smartypants|safe}}</span>, <a class="p-region region" href="/jrnl/united-states/" title="travel writing from the United States">{{object.state.name}}</a>, <span class="p-country-name">U.S.</span>{%else%}<span class="p-region">{{object.location.name|smartypants|safe}}</span>, <a class="p-country-name country-name" href="/jrnl/{{object.country.slug}}/" title="travel writing from {{object.country.name}}">{{object.country.name}}</a>{%endif%}
+ <span style="display: none;" itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
+ <data itemprop="latitude" class="p-latitude" value="{{object.latitude}}">{{object.latitude}}</data>
+ <data itemprop="longitude" class="p-longitude" value="{{object.longitude}}">{{object.longitude}}</data>
+ </span>
+ </span>
</p>
</article> {% endfor %}
</section>
diff --git a/design/templates/base.html b/design/templates/base.html
index adb1465..71a9fcf 100644
--- a/design/templates/base.html
+++ b/design/templates/base.html
@@ -1,8 +1,9 @@
<!DOCTYPE html>
<html {%block htmlclass%}{%endblock%} dir="ltr" lang="en-US">
+ {% block sitename %}
<head>
+ <title>{% block pagetitle %}Luxagraf - Topografical Writings{% endblock %}</title>{%endblock%}
<meta charset="utf-8">
- <title>{% block pagetitle %}Luxagraf - Topografical Writings{% endblock %}</title>
<meta name="description"
content="{% block metadescription %}Luxagraf: recording journeys around the world and just next door.{% endblock %}">
<meta name="author" content="Scott Gilbertson">