Skip to content

Commit b5f16a7

Browse files
authored
Merge pull request #5 from hroncok/copyright
Copyright notice
2 parents 7116d45 + 8560a7d commit b5f16a7

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

site.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import textwrap
2+
13
import jinja2
24
import yaml
35
from elsa import cli
@@ -24,6 +26,7 @@ def future():
2426

2527
@app.template_filter('markdown')
2628
def convert_markdown(text):
29+
text = textwrap.dedent(text)
2730
result = jinja2.Markup(markdown(text))
2831
return result
2932

static/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,19 @@ section.point p.link a {
102102
text-transform: uppercase;
103103
font-weight: bold;
104104
}
105+
a {
106+
color: #00578e;
107+
}
105108
footer {
106109
margin-top: 5rem;
107110
padding: 1rem;
108111
text-align: right;
109112
background-color: #101418;
110113
color: #e4e6e8;
114+
font-size: 0.85em;
115+
}
116+
footer a {
117+
color: #4989bb;
111118
}
112119

113120
/* Tiny screens: smaller header, in addition to "max-width : 55em" below */

templates/index.html

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,24 @@ <h2>{{ point.name }}</h2>
3030
</div>
3131
<footer>
3232
<p class="disclaimer">
33-
This site is not affiliated with either the Fedora project or
34-
the Python Software Foundation.
33+
{% filter markdown %}
34+
This site is not affiliated with either the Fedora Project
35+
or the Python Software Foundation.
36+
37+
The content, except for any trademarked logos or unless otherwise
38+
noted, is licensed under [CC BY-SA] (by members of
39+
[Fedora Python SIG]).
40+
41+
The micro:bit picture is *Copyright &copy; 2016 British
42+
Broadcasting Corporation*, licensed under [MIT].
43+
44+
All product names, logos, and brands are property of their
45+
respective owners.
46+
47+
[CC BY-SA]: https://creativecommons.org/licenses/by-sa/4.0/legalcode
48+
[Fedora Python SIG]: https://fedoraproject.org/wiki/SIGs/Python
49+
[MIT]: https://github.com/lancaster-university/microbit-docs/blob/master/LICENSE.
50+
{% endfilter %}
3551
</p>
3652
</footer>
3753
</body>

0 commit comments

Comments
 (0)