diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-09 08:19:58 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-09 08:19:58 +0200 |
commit | 8fe5bf8b7c828cbcc2e3a47a5b8b110f216a5b6c (patch) | |
tree | 958bcd610a391721f371cb8985578ec31101dbea /src/web/templates/home.html | |
parent | Authentication to JARR with email address or nickname. (diff) | |
download | newspipe-8fe5bf8b7c828cbcc2e3a47a5b8b110f216a5b6c.tar.gz newspipe-8fe5bf8b7c828cbcc2e3a47a5b8b110f216a5b6c.tar.bz2 newspipe-8fe5bf8b7c828cbcc2e3a47a5b8b110f216a5b6c.zip |
Updated Navbar.
Diffstat (limited to 'src/web/templates/home.html')
-rw-r--r-- | src/web/templates/home.html | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/src/web/templates/home.html b/src/web/templates/home.html index 155742c5..64e8140d 100644 --- a/src/web/templates/home.html +++ b/src/web/templates/home.html @@ -1,22 +1,9 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - {% block head %} - <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="description" content="JARR is a web-based news aggregator." /> - <meta name="author" content="" /> - <title>JARR{% if head_titles %} - {{ ' - '.join(head_titles) }}{% endif %}</title> - <link rel="shortcut icon" href="{{ url_for("static", filename="img/favicon.ico") }}" /> - <!-- Add custom CSS here --> - <link href="{{ url_for("static", filename="css/customized-bootstrap.css") }}" rel="stylesheet" media="screen" /> +{% extends "layout.html" %} +{% block head %} + {{ super() }} <link href="{{ url_for("static", filename="css/one-page-app.css") }}" rel="stylesheet" media="screen" /> - <!-- Bootstrap core CSS --> - <link href="{{ url_for("static", filename="css/bootstrap.min.css") }}" rel="stylesheet" media="screen" /> - {% endblock %} - </head> - <body> +{% endblock %} +{% block content %} <section id="jarrapp" /> - </body> - <script type="text/javascript" src="{% if cdn != '' %}{{ cdn }}bundle.min.js{% else %}{{ url_for('static', filename = 'js/bundle.min.js') }}{% endif %}"></script> -</html> + <script type="text/javascript" src="{% if cdn != '' %}{{ cdn }}bundle.min.js{% else %}{{ url_for('static', filename = 'js/bundle.min.js') }}{% endif %}"></script> +{% endblock %} |