Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
swc-bb
swc-pages
2019-11-26-Potsdam-Berlin-Python
Commits
62b5dbc2
Commit
62b5dbc2
authored
Sep 05, 2016
by
Rémi Emonet
Browse files
Switch to relative: in episode_title, use page.root + rewrite
parent
791dcc3e
Changes
1
Show whitespace changes
Inline
Side-by-side
_includes/episode_title.html
View file @
62b5dbc2
...
...
@@ -20,26 +20,22 @@
<div
class=
"col-md-1"
>
<h3>
{% if prev_episode %}
<a
href=
"{{ site.github.url }}{{ prev_episode.url }}"
><span
class=
"glyphicon glyphicon-menu-left"
></span></a>
{% elsif site.github.url %}
<a
href=
"{{ site.github.url }}"
><span
class=
"glyphicon glyphicon-menu-up"
></span></a>
<a
href=
"{{ page.root }}{{ prev_episode.url }}"
><span
class=
"glyphicon glyphicon-menu-left"
></span></a>
{% else %}
<a
href=
"
/
"
><span
class=
"glyphicon glyphicon-menu-up"
></span></a>
<a
href=
"
{{ page.root }}
"
><span
class=
"glyphicon glyphicon-menu-up"
></span></a>
{% endif %}
</h3>
</div>
<div
class=
"col-md-10"
>
<h3
class=
"maintitle"
><a
href=
"{{
site.github.url
}}/"
>
{{ site.title }}
</a></h3>
<h3
class=
"maintitle"
><a
href=
"{{
page.root
}}/"
>
{{ site.title }}
</a></h3>
<h1
class=
"maintitle"
>
{{ page.title }}
</h1>
</div>
<div
class=
"col-md-1"
>
<h3>
{% if next_episode %}
<a
href=
"{{ site.github.url }}{{ next_episode.url }}"
><span
class=
"glyphicon glyphicon-menu-right"
></span></a>
{% elsif site.github.url %}
<a
href=
"{{ site.github.url }}"
><span
class=
"glyphicon glyphicon-menu-up"
></span></a>
<a
href=
"{{ page.root }}{{ next_episode.url }}"
><span
class=
"glyphicon glyphicon-menu-right"
></span></a>
{% else %}
<a
href=
"
/
"
><span
class=
"glyphicon glyphicon-menu-up"
></span></a>
<a
href=
"
{{ page.root }}
"
><span
class=
"glyphicon glyphicon-menu-up"
></span></a>
{% endif %}
</h3>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment