forked from I2P_Developers/i2p.www
Added metadesc block so pages can add <meta name="description"> tags, added one for /
This commit is contained in:
@ -4,6 +4,9 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{% block title_outer %}{% block title %}{% endblock %} - I2P{% endblock %}</title>
|
||||
{%- if self.metadesc() %}
|
||||
<meta name="description" content="{% block metadesc %}{% endblock %}">
|
||||
{%- endif %}
|
||||
<link rel="canonical" href="{{ canonical() }}" />
|
||||
{% if g.exttheme %}<link rel="stylesheet" type="text/css" href="{{ g.exttheme }}" title="External theme" />{% else -%}
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles/' + g.theme + '.css') }}" title="{{ g.theme }}" />
|
||||
|
@ -1,6 +1,7 @@
|
||||
{% extends "global/layout.html" %}
|
||||
{% block title_outer %}{% trans %}I2P Anonymous Network{% endtrans %}{% endblock %}
|
||||
{% block title %}{% trans %}The Invisible Internet Project{% endtrans %}{% endblock %}
|
||||
{% block metadesc %}Anonymous peer-to-peer distributed communication layer built with open source tools and designed to run any traditional Internet service such as email, IRC or web hosting.{% endblock %}
|
||||
{% block content_outer %}
|
||||
<div class="main">
|
||||
<h1>{% trans %}What does I2P do for you?{% endtrans %}</h1>
|
||||
|
Reference in New Issue
Block a user