Silvio
7 years ago
32 changed files with 67 additions and 36 deletions
@ -1,18 +1,16 @@ |
|||||
<!DOCTYPE html> |
<!DOCTYPE html> |
||||
<html lang="{{ DEFAULT_LANG }}"> |
<html lang="{{ DEFAULT_LANG }}"> |
||||
<head> |
<head> |
||||
{% block head %} |
{% block head %} |
||||
<title>{% block title %}{{ SITENAME }} {{SITESUBTITLE}}{% endblock title %}</title> |
<title>{% block title %}{{ SITENAME }} {{SITESUBTITLE}}{% endblock title %}</title> |
||||
<meta charset="utf-8" /> |
<meta charset="utf-8" /> |
||||
<link rel="icon" href="{{ SITEURL}}/favicon.ico" type="image/x-icon"> |
<link rel="icon" href="{{ SITEURL}}/favicon.ico" type="image/x-icon"> |
||||
<link rel="shortcut icon" href="{{ SITEURL }}/favicon.ico" type="image/x-icon"> |
<link rel="shortcut icon" href="{{ SITEURL }}/favicon.ico" type="image/x-icon"> |
||||
|
|
||||
{% from 'syndication.html' import syndication with context %} |
{% from 'syndication.html' import syndication with context %} |
||||
{{ syndication(article) }} |
{{ syndication(article) }} |
||||
|
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}css/pygment.css" /> |
||||
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}css/pygment.css" /> |
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}css/{{ CSS_FILE }}" /> |
||||
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}css/{{ CSS_FILE }}" /> |
{% endblock head %} |
||||
{% endblock head %} |
|
||||
</head> |
</head> |
||||
|
|
||||
<body id="index" class="home"> |
<body id="index" class="home"> |
@ -1,6 +1,15 @@ |
|||||
{% extends "base.html" %} |
{% extends "base.html" %} |
||||
{% block title %}{{ page.title }}{%endblock%} |
{% block title %}{{ page.title }}{%endblock%} |
||||
{% block content %} |
{% block content %} |
||||
|
<section id="content" class="index"> |
||||
|
<header id="banner"> |
||||
|
{% for p in pages %} |
||||
|
{% if p.title == 'header' %} |
||||
|
<div id="title">{{ p.content }}</div> |
||||
|
{% endif %} |
||||
|
{% endfor %} |
||||
|
</header> |
||||
|
</section> |
||||
<div id="page-content"> |
<div id="page-content"> |
||||
{{ page.content }} |
{{ page.content }} |
||||
|
|
Loading…
Reference in new issue