~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/mainpage.html

  • Committer: franku
  • Date: 2018-11-22 11:08:51 UTC
  • Revision ID: somal@arcor.de-20181122110851-77riof0o4dx2zcm6
split user uploaded content from static content

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 they reach our homepage
8
8
 
9
9
{% endcomment %}
10
 
 
 
10
{% load static %}
11
11
{% load news_extras %}
 
12
 
12
13
{% block extra_head %}
13
14
<meta name="google-site-verification" content="1A5uFV_zNuXazJ46-572-_lLzcCTEQ77iHaSPFZd53Y" />
14
 
<link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/news.css" />
 
15
<link rel="stylesheet" type="text/css" media="all" href="{% static 'css/news.css' %}" />
15
16
<link rel="alternate" type="application/rss+xml" title="Widelands News" href="news/feed/" />
16
17
 
17
18
{{ block.super}}{% endblock %}
20
21
{% endblock %}
21
22
{% block content_main %}
22
23
<div class="blogEntry" style="min-height: 380px;">
23
 
        <img class="landing posRight" src="{{ MEDIA_URL }}img/welcome.jpg" alt="Welcome!" />
 
24
        <img class="landing posRight" src="{% static 'img/welcome.jpg' %}" alt="Welcome!" />
24
25
        <p>
25
26
        <a href="{% url 'wiki_article' "Description" %}">Widelands</a> is a 
26
27
        <a href="{% url 'wiki_article' "The Widelands Project" %}">free, open source</a>