Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
elixir
jekyll-elixir-theme
Commits
a2f7d3fe
Commit
a2f7d3fe
authored
May 20, 2021
by
Jacek Lebioda
Browse files
Fixes to layout
parent
68729a26
Changes
2
Hide whitespace changes
Inline
Side-by-side
_layouts/left_col.html
View file @
a2f7d3fe
...
...
@@ -7,27 +7,27 @@ layout: default
<div
id=
"left-column"
>
<h2>
{{ page.section }}
</h2>
<ul>
{%
-
for link in page.pages
-
%}
{% for link in page.pages %}
<li>
<a
href=
"{{ link.href | relative_url }}"
class=
"{% if link.active %}active {% endif %}{% if link.smaller %}smaller {% endif %}"
>
{{ link.title }}
</a>
</li>
{%
-
endfor
-
%}
{% endfor %}
</ul>
</div>
<div
id=
"right-column"
{%
-
if
page.wider
-
%}
class=
"right-column-wider"
{%
-
endif
-
%}
>
<div
id=
"right-column"
{%
if
page.wider
%}
class=
"right-column-wider"
{%
endif
%}
>
<header>
<h1
{%
-
if
page.section
contains
"
Events
"
-
%}
class=
"no-caps"
{%
-
endif
-
%}
data-section=
"{{ page.section }}"
>
<h1
{%
if
page.section
contains
"
Events
"
%}
class=
"no-caps"
{%
endif
%}
data-section=
"{{ page.section }}"
>
{{ page.title | escape }}
{%
-
if page.date
-
%}
<small>
({{ page.date | date: '%F' }})
</small>
{%
-
endif
-
%}
{% if page.date %}
<small>
({{ page.date | date: '%F' }})
</small>
{% endif %}
</h1>
</header>
{%
-
if page.image
-
%}
{% if page.image %}
<img
class=
"event-small-image"
src=
"{{ page.image | relative_url }}"
/>
{%
-
endif
-
%}
{% endif %}
{{ content }}
</div>
...
...
elixir-theme.gemspec
View file @
a2f7d3fe
...
...
@@ -2,7 +2,7 @@
Gem
::
Specification
.
new
do
|
spec
|
spec
.
name
=
"jekyll-elixir-theme"
spec
.
version
=
"0.9.
29
"
spec
.
version
=
"0.9.
30
"
spec
.
authors
=
[
"jacek.lebioda"
]
spec
.
email
=
[
"jacek.lebioda@uni.lu"
]
...
...
Write
Preview
Markdown
is supported
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