Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Miroslav Kratochvil
jekyll-theme-lcsb-default
Commits
f4cff0f3
Commit
f4cff0f3
authored
Jun 14, 2018
by
Jacek Lebioda
Browse files
Added `target="_parent"` to the links that should escape the frame
parent
557f41f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
_includes/footer.html
View file @
f4cff0f3
...
...
@@ -7,7 +7,7 @@
</div>
{% endcomment %}
<br/>
<div
class=
"footer-cp"
>
<p>
©
<a
href=
"https://wwwen.uni.lu/"
>
Université du Luxembourg
</a>
{{ site.date | escape }}. All rights reserved.
</p>
<p>
©
<a
href=
"https://wwwen.uni.lu/"
target=
"_parent"
>
Université du Luxembourg
</a>
{{ site.date | escape }}. All rights reserved.
</p>
{%- include social.html -%}
</div>
</div>
...
...
_includes/social.html
View file @
f4cff0f3
<ul
class=
"social-media-list"
>
{%- if site.facebook_username -%}
<li><a
href=
"https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"
><svg
class=
"svg-icon svg-icon-fb"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"
></use></svg></a></li>
{%- endif -%}
{%- if site.twitter_username -%}
<li><a
href=
"https://www.twitter.com/{{ site.twitter_username| cgi_escape | escape }}"
><svg
class=
"svg-icon svg-icon-twitter"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"
></use></svg></a></li>
{%- endif -%}
{%- if site.linkedin_schoolname -%}
<li><a
href=
"https://www.linkedin.com/school/{{ site.linkedin_schoolname| cgi_escape | escape }}"
><svg
class=
"svg-icon svg-icon-linkedin"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"
></use></svg></a></li>
{%- endif -%}
{%- if site.facebook_username -%}
<li><a
href=
"https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"
target=
"_parent"
><svg
class=
"svg-icon svg-icon-fb"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"
></use></svg></a></li>
{%- endif -%}
{%- if site.twitter_username -%}
<li><a
href=
"https://www.twitter.com/{{ site.twitter_username| cgi_escape | escape }}"
target=
"_parent"
><svg
class=
"svg-icon svg-icon-twitter"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"
></use></svg></a></li>
{%- endif -%}
{%- if site.linkedin_schoolname -%}
<li><a
href=
"https://www.linkedin.com/school/{{ site.linkedin_schoolname| cgi_escape | escape }}"
target=
"_parent"
><svg
class=
"svg-icon svg-icon-linkedin"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"
></use></svg></a></li>
{%- endif -%}
{%- if site.dribbble_username -%}
<li><a
href=
"https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.dribbble_username| escape }}
</span></a></li>
{%- endif -%}
{%- if site.flickr_username -%}
<li><a
href=
"https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.flickr_username| escape }}
</span></a></li>
{%- endif -%}
{%- if site.github_username -%}
<li><a
href=
"https://github.com/{{ site.github_username| cgi_escape | escape }}"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#github' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.github_username| escape }}
</span></a></li>
{%- endif -%}
{%- if site.instagram_username -%}
<li><a
href=
"https://instagram.com/{{ site.instagram_username| cgi_escape | escape }}"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.instagram_username| escape }}
</span></a></li>
{%- endif -%}
{%- if site.linkedin_username -%}
<li><a
href=
"https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.linkedin_schoolname| escape }}
</span></a></li>
{%- endif -%}
{%- if site.pinterest_username -%}
<li><a
href=
"https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.pinterest_username| escape }}
</span></a></li>
{%- endif -%}
{%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}
<li><a
href=
"https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ mst.username|escape }}
</span></a></li>
{%- endif -%}{%- endfor -%}
{%- if site.youtube_username -%}
<li><a
href=
"https://youtube.com/{{ site.youtube_username| cgi_escape | escape }}"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.youtube_username| escape }}
</span></a></li>
{%- endif -%}
{%- if site.googleplus_username -%}
<li><a
href=
"https://plus.google.com/{{ site.googleplus_username| escape }}"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.googleplus_username| escape }}
</span></a></li>
{%- endif -%}
{%- if site.rss -%}
<li><a
href=
"{{ 'feed.xml' | relative_url }}"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"
></use></svg>
<span>
{{ site.rss | escape }}
</span></a></li>
{%- endif -%}
{%- if site.dribbble_username -%}
<li><a
href=
"https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"
target=
"_parent"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.dribbble_username| escape }}
</span></a></li>
{%- endif -%}
{%- if site.flickr_username -%}
<li><a
href=
"https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"
target=
"_parent"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.flickr_username| escape }}
</span></a></li>
{%- endif -%}
{%- if site.github_username -%}
<li><a
href=
"https://github.com/{{ site.github_username| cgi_escape | escape }}"
target=
"_parent"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#github' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.github_username| escape }}
</span></a></li>
{%- endif -%}
{%- if site.instagram_username -%}
<li><a
href=
"https://instagram.com/{{ site.instagram_username| cgi_escape | escape }}"
target=
"_parent"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.instagram_username| escape }}
</span></a></li>
{%- endif -%}
{%- if site.linkedin_username -%}
<li><a
href=
"https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"
target=
"_parent"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.linkedin_schoolname| escape }}
</span></a></li>
{%- endif -%}
{%- if site.pinterest_username -%}
<li><a
href=
"https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"
target=
"_parent"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.pinterest_username| escape }}
</span></a></li>
{%- endif -%}
{%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}
<li><a
href=
"https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"
target=
"_parent"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ mst.username|escape }}
</span></a></li>
{%- endif -%}{%- endfor -%}
{%- if site.youtube_username -%}
<li><a
href=
"https://youtube.com/{{ site.youtube_username| cgi_escape | escape }}"
target=
"_parent"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.youtube_username| escape }}
</span></a></li>
{%- endif -%}
{%- if site.googleplus_username -%}
<li><a
href=
"https://plus.google.com/{{ site.googleplus_username| escape }}"
target=
"_parent"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"
></use></svg>
<span
class=
"username"
>
{{ site.googleplus_username| escape }}
</span></a></li>
{%- endif -%}
{%- if site.rss -%}
<li><a
href=
"{{ 'feed.xml' | relative_url }}"
target=
"_parent"
><svg
class=
"svg-icon"
><use
xlink:href=
"{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"
></use></svg>
<span>
{{ site.rss | escape }}
</span></a></li>
{%- endif -%}
</ul>
jekyll-theme-lcsb-default.gemspec
View file @
f4cff0f3
...
...
@@ -2,7 +2,7 @@
Gem
::
Specification
.
new
do
|
spec
|
spec
.
name
=
"jekyll-theme-lcsb-default"
spec
.
version
=
"0.2.
6
"
spec
.
version
=
"0.2.
7
"
spec
.
authors
=
[
"Trefex"
,
"jaceklebioda_lux"
]
spec
.
email
=
[
"lcsb-sysadmins@uni.lu"
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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