Browse Source

added css file

master
rra 7 years ago
parent
commit
2a993b09b4
  1. 2
      pelicanconf.py
  2. 4
      theme/wttf/static/main.css
  3. 2
      theme/wttf/templates/base.html

2
pelicanconf.py

@ -36,7 +36,7 @@ AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
DEFAULT_PAGINATION = 500
DEFAULT_PAGINATION = 5
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True

4
theme/wttf/static/main.css

@ -0,0 +1,4 @@
article {
max-width: 49%;
float: left;
}

2
theme/wttf/templates/base.html

@ -4,6 +4,8 @@
{% block head %}
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}{{ CSS_FILE }}" />
<link rel="icon" href="{{ SITEURL}}/favicon.ico" type="image/x-icon">
{% if FEED_ALL_ATOM %}
<link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
{% endif %}

Loading…
Cancel
Save