Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
J
jekyll-elixir-theme
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
elixir
jekyll-elixir-theme
Commits
a2b55316
Commit
a2b55316
authored
Jul 10, 2019
by
Jacek Lebioda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrections to post pages
parent
744552ec
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
8 deletions
+25
-8
_layouts/paginated.html
_layouts/paginated.html
+3
-3
_layouts/paginated_left_col.html
_layouts/paginated_left_col.html
+3
-3
_layouts/post.html
_layouts/post.html
+4
-0
_sass/elixir/_base.scss
_sass/elixir/_base.scss
+1
-1
_sass/elixir/_layout.scss
_sass/elixir/_layout.scss
+13
-0
elixir-theme.gemspec
elixir-theme.gemspec
+1
-1
No files found.
_layouts/paginated.html
View file @
a2b55316
...
...
@@ -19,11 +19,11 @@ layout: default
<div
class=
"post"
>
<a
class=
"post-title"
href=
"{{ site.baseurl }}{{ post.url }}"
>
{{ post.title }}
</a>
<span
class=
"post-date"
>
Published on: {{ post.date | date: '%B %d, %Y' }}
</span>
<div
class=
"content"
>
{{ post.content | truncate:
15
0 }}
{{ post.content | truncate:
22
0 }}
</div>
<span
class=
"post-date"
>
Published on: {{ post.date | date: '%B %d, %Y' }}
</span>
</div>
{% endfor %}
...
...
_layouts/paginated_left_col.html
View file @
a2b55316
...
...
@@ -25,11 +25,11 @@ layout: default
<div
class=
"post"
>
<a
class=
"post-title"
href=
"{{ site.baseurl }}{{ post.url }}"
>
{{ post.title }}
</a>
<span
class=
"post-date"
>
Published on: {{ post.date | date: '%B %d, %Y' }}
</span>
<div
class=
"content"
>
{{ post.content | truncate:
15
0 }}
{{ post.content | truncate:
22
0 }}
</div>
<span
class=
"post-date"
>
Published on: {{ post.date | date: '%B %d, %Y' }}
</span>
</div>
{% endfor %}
...
...
_layouts/post.html
View file @
a2b55316
...
...
@@ -12,5 +12,9 @@ layout: default
</header>
{{ content }}
<span
class=
"pull-right"
>
<a
href=
"{{site.baseurl}}/news"
>
Go back to the news
</a>
</span>
</div>
</article>
_sass/elixir/_base.scss
View file @
a2b55316
...
...
@@ -5,7 +5,7 @@ $COLOR_BACKGROUND_HEADER: #023452;
$FONT_DEFAULT
:
'Lato'
,
Verdana
,
Helvetica
,
sans-serif
;
$PADDING_PAGE_LEFT
:
13%
;
$PADDING_PAGE_LEFT_NO_COLUMN
:
2
1
%
;
$PADDING_PAGE_LEFT_NO_COLUMN
:
2
2
.5
%
;
$WIDTH_CONTENT
:
74%
;
$WIDTH_CONTENT_NO_COLUMN
:
58%
;
...
...
_sass/elixir/_layout.scss
View file @
a2b55316
...
...
@@ -408,6 +408,12 @@ div.post {
.post-title
{
font-size
:
25px
;
text-decoration
:
none
;
font-weight
:
600
;
}
.post-date
{
float
:
right
;
font-size
:
smaller
;
}
}
...
...
@@ -465,3 +471,10 @@ button.search {
height
:
50px
;
font-size
:
20px
;
}
.pull-right
{
float
:
right
;
color
:
orange
;
font-weight
:
700
;
font-size
:
larger
;
}
elixir-theme.gemspec
View file @
a2b55316
...
...
@@ -2,7 +2,7 @@
Gem
::
Specification
.
new
do
|
spec
|
spec
.
name
=
"elixir-theme"
spec
.
version
=
"0.
2.19
"
spec
.
version
=
"0.
3.1
"
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