Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frama-C Website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
Frama-C Website
Commits
d68a826b
Commit
d68a826b
authored
5 years ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
Calendar: sorts events by reversed date and do not strip nor truncate the description.
parent
dbd23b52
No related branches found
Branches containing commit
No related tags found
1 merge request
!13
Fixes the calendar and creates the last events
Pipeline
#23458
passed
5 years ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_config.yml
+1
-0
1 addition, 0 deletions
_config.yml
index.html
+4
-5
4 additions, 5 deletions
index.html
with
5 additions
and
5 deletions
_config.yml
+
1
−
0
View file @
d68a826b
...
...
@@ -43,6 +43,7 @@ collections:
output
:
true
events
:
output
:
false
sort_by
:
date
fc-versions
:
output
:
true
sort_by
:
number
...
...
This diff is collapsed.
Click to expand it.
index.html
+
4
−
5
View file @
d68a826b
...
...
@@ -384,7 +384,7 @@ title: Frama-C
<div
id=
"event_detail_swiper"
class=
"eventDetailsBlock swiper-container"
>
<div
class=
"swiper-wrapper"
>
{% for event in site.events %}
{% for event in site.events
reversed
%}
<div
class=
"swiper-slide"
>
<div
class=
"eventDetail"
id=
"post_details_486"
>
<figure>
...
...
@@ -397,8 +397,7 @@ title: Frama-C
<div>
<h3>
{{ event.title }}
</h3>
<p>
{{ event.content | strip_html | truncatewords: 50 }}
</p><a
class=
"read-more link"
href=
"{{ event.url }}"
target=
"_blank"
>
Read More
</a>
<p>
{{ event.content }}
</p>
</div>
</div>
</div>
...
...
@@ -415,7 +414,7 @@ title: Frama-C
<div
id=
"event_calender_swiper"
class=
"swiper-container"
>
<div
class=
"swiper-wrapper"
>
{% for event in site.events %}
{% for event in site.events
reversed
%}
<div
class=
"swiper-slide"
>
<a
role=
"button"
class=
"eventLink"
><time>
{{ event.date | date: "
<b>
%-d
</b><small>
%B
</small>
" }}
</time><span>
{{ event.title }}
</span></a>
</div>
...
...
@@ -471,4 +470,4 @@ title: Frama-C
<div
class=
"clear"
></div>
</div>
</div>
<body>
\ No newline at end of file
<body>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment