diff options
Diffstat (limited to 'design/templates')
-rw-r--r-- | design/templates/archives/homepage.html | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html index 9f0eb2c..9c08876 100644 --- a/design/templates/archives/homepage.html +++ b/design/templates/archives/homepage.html @@ -11,11 +11,11 @@ <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" itemprop="image" /> - </picture> + <img class="u-photo post-image homepage--hero" itemprop="image" sizes="(max-width: 960px) 100vw" + srcset="{{IMAGES_URL}}{% now "Y"%}/{{homepage.image_base_url}}-640.jpg 640w, + {{IMAGES_URL}}{% now "Y"%}/{{homepage.image_base_url}}.jpg 1140w, + {{IMAGES_URL}}{% now "Y"%}/{{homepage.image_base_url}}-2280.jpg 2280w" + src="{{IMAGES_URL}}{% now "Y"%}/{{homepage.image_base_url}}" alt="{{homepage.alt_text}}"> </a> </div> <div class="hero--wrapper"> @@ -32,19 +32,16 @@ </span> </p> <p class="p-summary main--tag"> - Explore the lost era of oyster farmers. + {{homepage.tag_line}} </p> <a href="{{object.get_absolute_url}}" class="u-url btn" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">Read</a> </div> </article>{% endwith %} </section> - {%comment%}<section id="currently"> - <div class="project-tease"><a href="/projects/5x5/"><h4 id="proj">5<span>x</span>5</h4> Interviews From The Road</a><p>Lorem sit amet, consectetur adipiscing elit. Duis cursus sodales eros <cite>– William Brandon III</cite></p></div> - </section>{%endcomment%} <div class="homepage--about homepage--section"> <h3 class="homepage--arc-header">About Luxagraf</h3> - <p>I like to think of luxagraf as the notebook you might have found, something I might have accidentally dropped between the cushions of a jostling camel taxi winding its way through the narrow, dusty streets of Tangier circa 1910.</p> - <p>It could just be a website though. Except that I don’t do lists. And I’m not trying to make money.</p><p>Luxagraf is a collection of field notes, a record of some of my time on earth. Enjoy.</p> + <p>Luxagraf is my notebook. Something that, in an earlier age, I would have long ago lost in the backseat of a taxi. </p> + <p>Or something like that. It could just be a website. Except that I don’t do lists. And I’m not trying to make money of it.</p><p>Whatever it is, whatever brought you here, I hope enjoy it.</p> </div> <div class="homepage--section"> <section class="archive homepage--archives"> |