├── .gitattributes
├── screenshot.PNG
├── static
├── image
│ └── default-logo.png
└── css
│ ├── highlight.css
│ └── style.css
├── templates
├── translations.html
├── tags.html
├── archives.html
├── tag.html
├── categories.html
├── category.html
├── pagination.html
├── index.html
├── article.html
└── base.html
├── readme.md
└── LICENSE.txt
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.html eol=lf
2 |
--------------------------------------------------------------------------------
/screenshot.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ir193/Responsive-Pelican/HEAD/screenshot.PNG
--------------------------------------------------------------------------------
/static/image/default-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ir193/Responsive-Pelican/HEAD/static/image/default-logo.png
--------------------------------------------------------------------------------
/templates/translations.html:
--------------------------------------------------------------------------------
1 | {% macro translations_for(article) %}
2 | {% if article.translations %}
3 | Translations:
4 | {% for translation in article.translations %}
5 | {{ translation.lang }}
6 | {% endfor %}
7 | {% endif %}
8 | {% endmacro %}
9 |
10 |
--------------------------------------------------------------------------------
/templates/tags.html:
--------------------------------------------------------------------------------
1 | {% extends "base.html" %}
2 | {% block content %}
3 | {% block content_title %}
4 |
3 | {% if articles_page.has_previous() %}
4 | {% if articles_page.previous_page_number() == 1 %}
5 | «
6 | {% else %}
7 | «
8 | {% endif %}
9 | {% endif %}
10 | Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
11 | {% if articles_page.has_next() %}
12 | »
13 | {% endif %}
14 |
15 | {% endif %}
16 |
--------------------------------------------------------------------------------
/templates/index.html:
--------------------------------------------------------------------------------
1 | {% extends "base.html" %}
2 | {% block content %}
3 | {{ super() }}
4 |
9 |
25 |
26 | {{ article.content }}
27 |
28 |
34 |
47 |
48 |
49 |
50 | {% endblock %}
51 |
--------------------------------------------------------------------------------
/static/css/highlight.css:
--------------------------------------------------------------------------------
1 | .codehilite .hll { background-color: #49483e }
2 | .codehilite .c { color: #75715e } /* Comment */
3 | .codehilite .err { color: #960050; background-color: #1e0010 } /* Error */
4 | .codehilite .k { color: #66d9ef } /* Keyword */
5 | .codehilite .l { color: #ae81ff } /* Literal */
6 | .codehilite .n { color: #f8f8f2 } /* Name */
7 | .codehilite .o { color: #f92672 } /* Operator */
8 | .codehilite .p { color: #f8f8f2 } /* Punctuation */
9 | .codehilite .cm { color: #75715e } /* Comment.Multiline */
10 | .codehilite .cp { color: #75715e } /* Comment.Preproc */
11 | .codehilite .c1 { color: #75715e } /* Comment.Single */
12 | .codehilite .cs { color: #75715e } /* Comment.Special */
13 | .codehilite .ge { font-style: italic } /* Generic.Emph */
14 | .codehilite .gs { font-weight: bold } /* Generic.Strong */
15 | .codehilite .kc { color: #66d9ef } /* Keyword.Constant */
16 | .codehilite .kd { color: #66d9ef } /* Keyword.Declaration */
17 | .codehilite .kn { color: #f92672 } /* Keyword.Namespace */
18 | .codehilite .kp { color: #66d9ef } /* Keyword.Pseudo */
19 | .codehilite .kr { color: #66d9ef } /* Keyword.Reserved */
20 | .codehilite .kt { color: #66d9ef } /* Keyword.Type */
21 | .codehilite .ld { color: #e6db74 } /* Literal.Date */
22 | .codehilite .m { color: #ae81ff } /* Literal.Number */
23 | .codehilite .s { color: #e6db74 } /* Literal.String */
24 | .codehilite .na { color: #a6e22e } /* Name.Attribute */
25 | .codehilite .nb { color: #f8f8f2 } /* Name.Builtin */
26 | .codehilite .nc { color: #a6e22e } /* Name.Class */
27 | .codehilite .no { color: #66d9ef } /* Name.Constant */
28 | .codehilite .nd { color: #a6e22e } /* Name.Decorator */
29 | .codehilite .ni { color: #f8f8f2 } /* Name.Entity */
30 | .codehilite .ne { color: #a6e22e } /* Name.Exception */
31 | .codehilite .nf { color: #a6e22e } /* Name.Function */
32 | .codehilite .nl { color: #f8f8f2 } /* Name.Label */
33 | .codehilite .nn { color: #f8f8f2 } /* Name.Namespace */
34 | .codehilite .nx { color: #a6e22e } /* Name.Other */
35 | .codehilite .py { color: #f8f8f2 } /* Name.Property */
36 | .codehilite .nt { color: #f92672 } /* Name.Tag */
37 | .codehilite .nv { color: #f8f8f2 } /* Name.Variable */
38 | .codehilite .ow { color: #f92672 } /* Operator.Word */
39 | .codehilite .w { color: #f8f8f2 } /* Text.Whitespace */
40 | .codehilite .mf { color: #ae81ff } /* Literal.Number.Float */
41 | .codehilite .mh { color: #ae81ff } /* Literal.Number.Hex */
42 | .codehilite .mi { color: #ae81ff } /* Literal.Number.Integer */
43 | .codehilite .mo { color: #ae81ff } /* Literal.Number.Oct */
44 | .codehilite .sb { color: #e6db74 } /* Literal.String.Backtick */
45 | .codehilite .sc { color: #e6db74 } /* Literal.String.Char */
46 | .codehilite .sd { color: #e6db74 } /* Literal.String.Doc */
47 | .codehilite .s2 { color: #e6db74 } /* Literal.String.Double */
48 | .codehilite .se { color: #ae81ff } /* Literal.String.Escape */
49 | .codehilite .sh { color: #e6db74 } /* Literal.String.Heredoc */
50 | .codehilite .si { color: #e6db74 } /* Literal.String.Interpol */
51 | .codehilite .sx { color: #e6db74 } /* Literal.String.Other */
52 | .codehilite .sr { color: #e6db74 } /* Literal.String.Regex */
53 | .codehilite .s1 { color: #e6db74 } /* Literal.String.Single */
54 | .codehilite .ss { color: #e6db74 } /* Literal.String.Symbol */
55 | .codehilite .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
56 | .codehilite .vc { color: #f8f8f2 } /* Name.Variable.Class */
57 | .codehilite .vg { color: #f8f8f2 } /* Name.Variable.Global */
58 | .codehilite .vi { color: #f8f8f2 } /* Name.Variable.Instance */
59 | .codehilite .il { color: #ae81ff } /* Literal.Number.Integer.Long */
--------------------------------------------------------------------------------
/templates/base.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {% block head %}
6 |