File tree Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Original file line number Diff line number Diff line change
1
+ import textwrap
2
+
1
3
import jinja2
2
4
import yaml
3
5
from elsa import cli
@@ -24,6 +26,7 @@ def future():
24
26
25
27
@app .template_filter ('markdown' )
26
28
def convert_markdown (text ):
29
+ text = textwrap .dedent (text )
27
30
result = jinja2 .Markup (markdown (text ))
28
31
return result
29
32
Original file line number Diff line number Diff line change @@ -102,12 +102,19 @@ section.point p.link a {
102
102
text-transform : uppercase;
103
103
font-weight : bold;
104
104
}
105
+ a {
106
+ color : # 00578e ;
107
+ }
105
108
footer {
106
109
margin-top : 5rem ;
107
110
padding : 1rem ;
108
111
text-align : right;
109
112
background-color : # 101418 ;
110
113
color : # e4e6e8 ;
114
+ font-size : 0.85em ;
115
+ }
116
+ footer a {
117
+ color : # 4989bb ;
111
118
}
112
119
113
120
/* Tiny screens: smaller header, in addition to "max-width : 55em" below */
Original file line number Diff line number Diff line change @@ -30,8 +30,24 @@ <h2>{{ point.name }}</h2>
30
30
</ div >
31
31
< footer >
32
32
< 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 © 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 %}
35
51
</ p >
36
52
</ footer >
37
53
</ body >
You can’t perform that action at this time.
0 commit comments