/ ‘theme/templates/base.html’

This commit is contained in:
Dooho Yi 2020-05-02 20:02:31 +09:00
parent f057192092
commit a2c473f608

View file

@ -1,71 +1,82 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head>
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
<link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
{% if FEED_RSS %}
<link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
{% endif %}
<!--[if IE]> <head>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> <title>{% block title %}{{ SITENAME }}{%endblock%}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/tachyons.min.css" type="text/css" />
<script type="text/javascript" src="{{ SITEURL }}/theme/js/jquery-3.5.0.min.js"></script>
<style>
body {
font: 0.75em/1.5 AppleGothic, Sans-serif;
}
<!--[if lte IE 7]> a {
<link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie.css"/> color: black;
<script src="{{ SITEURL }}/js/IE8.js" type="text/javascript"></script><![endif]--> text-decoration: none;
}
<!--[if lt IE 7]> p {
<link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie6.css"/><![endif]--> margin: 0;
}
</head> article.title {
font-size: 1.2em;
}
<body> time {
<div id="wrap" style="width:850px"> font-size: 0.65em;
<div id="container" style="width:560px"> }
{% include 'github.html' %} </style>
</head>
<body>
<div class="entry"> <div style="margin: 1em;">
{% block content %}
{% endblock %} <a class="w-100 black o-10 db pb5" href="{{ SITEURL }} " title="title">
</div> <div class="b black" style="font-size: 3.6em;">
{{ SITENAME }}
</div> </div>
</a>
{% for category, articles in categories %}
<div id="sidebar"> {% if category.name == 'notes' %}
<h1><a href="{{ SITEURL }} " title="title">{{ SITENAME }}</a></h1>
<span class="description">{{ DESCRIPTION }} </span>
<!-- <span class="feed"><a href="">RSS</a> | <a href="">Atom</a></span> -->
</div>
<div id="footer"> {% for article in articles %}
<nav>
<ul>
{% for page in pages %}
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a>{% if not loop.last %} ::{% endif %}</li>
{% endfor %}
{% if categories|length > 1 %}
<li>:: <a href="{{ SITEURL }}/categories.html">Categories</a></li>
{% endif %}
{% if tags|length > 1 %}
<li>:: <a href="{{ SITEURL }}/tags.html">Tags</a></li>
{% endif %}
</ul>
</nav>
<div id="credits"> <article class="title">
<span>Adapted from <a href="http://wordpress.org/themes/monospace">Monospace</a> || Created with <a href="">Pelican</a></span> <a href="{{ SITEURL }}/{{ article.url }}" class="db b pb2 o-50">
{{ article.title }}
</a>
</article>
<div>
{{ article.content }}
</div> </div>
</div> {% if not HIDE_DATE %}
<time class="db w-100 tr pb4 o-30" datetime="{{ article.date.isoformat() }}">
{{ article.date.isoformat() }}
</time>
{% endif %}
{% include 'analytics.html' %} {% endfor %}
{% include 'piwik.html' %}
{% include 'disqus_script.html' %}
</div> {% endif %}
{% endfor %}
</div>
<script type="text/javascript">
$(document).ready(function () {
$('a[class*=external]').attr('target', '_blank').css('background-color', 'rgba(0, 0, 0, 0.1)');
});
</script>
</body>
</body>
</html> </html>