diff options
author | luxagraf <sng@luxagraf.net> | 2018-09-27 11:33:59 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-09-27 11:33:59 -0500 |
commit | 1596c642731e5839da942c7727bbc1fa8016fdee (patch) | |
tree | c8630e2332d4e40a3335a67f1931462eb020c700 /design/templates/archives/homepage.html | |
parent | efabaed1ef7ec2baafabed9dfd3c08dc192d98bd (diff) |
version 9 of stylesheet
Diffstat (limited to 'design/templates/archives/homepage.html')
-rw-r--r-- | design/templates/archives/homepage.html | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html index 2741232..8640dad 100644 --- a/design/templates/archives/homepage.html +++ b/design/templates/archives/homepage.html @@ -6,16 +6,13 @@ <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 bodyid%}id="home"{%endblock%} {% block primary %}<section class="banner">{% with object=homepage.featured %} <article class="h-entry hentry" itemscope itemType="http://schema.org/Article"> - <div class="post--image"> - <a href="{{object.get_absolute_url}}" title="{{object.title}}"> - {%for image in homepage.images.all%} - <img class="u-photo post-image homepage--hero" itemprop="image" sizes="(max-width: 960px) 100vw" -srcset="{% for size in image.sizes.all%}{% get_image_by_size image size %} {{size}}w{% if forloop.last%}"{%else%}, {%endif%}{%endfor%} - {% for size in image.sizes.all%}{%if not forloop.first and not forloop.last%}src="{% get_image_by_size image size %}"{%endif%}{%endfor%} alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}">{%endfor%} + <div class="post--image">Hello world + <a href="{{object.get_absolute_url}}" title="{{object.title}}">{% with image=object.featured_image %} + <img class="u-photo post-image homepage--hero" itemprop="image" sizes="(max-width: 960px) 100vw" srcset="{% for size in image.sizes.all%}{% get_image_by_size image size %} {{size}}w{% if forloop.last%}"{%else%}, {%endif%}{%endfor%} {% for size in image.sizes.all%}{%if not forloop.first and not forloop.last%} src="{% get_image_by_size image size %}"{%endif%}{%endfor%} alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}">{%endwith%} </a> </div> <div class="hero--wrapper"> |