~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/mainpage.html

  • Committer: franku
  • Date: 2018-11-19 17:19:29 UTC
  • mfrom: (502.1.6 django_ratings)
  • Revision ID: somal@arcor.de-20181119171929-zclpax3wz59lnu5l
replaced djangoratings with django-star-rating

Show diffs side-by-side

added added

removed removed

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