Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hifis.net
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HIFIS
Overall
hifis.net
Merge requests
!426
Resolve "Learning materials"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Learning materials"
276-learnign-materials
into
rework-hifisnet-1
Overview
5
Commits
1
Pipelines
0
Changes
2
Merged
Huste, Tobias
requested to merge
276-learnign-materials
into
rework-hifisnet-1
3 years ago
Overview
5
Commits
1
Pipelines
0
Changes
2
Expand
Review here
Closes
#276 (closed)
#236 (closed)
Edited
3 years ago
by
Uwe Jandt (DESY, HIFIS)
0
0
Merge request reports
Compare
rework-hifisnet-1
version 2
607035e8
3 years ago
version 1
607035e8
3 years ago
rework-hifisnet-1 (base)
and
version 2
latest version
618fe948
1 commit,
3 years ago
version 2
607035e8
1 commit,
3 years ago
version 1
607035e8
139 commits,
3 years ago
2 files
+
20
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
_includes/cards/post_card.html
+
8
−
2
Options
@@ -2,7 +2,8 @@
This is a card displaying post title and date.
Parameters:
post: The post which sould be displayed on the card
post: The post which sould be displayed on the card.
exclude_date: Do not show the date on the image card.
{%- endcomment -%}
{%- if include.post.title_image == "default" %}
@@ -17,15 +18,20 @@ post: The post which sould be displayed on the card
| strip
| relative_url -%}
{%- endif -%}
{%- if include.exclude_date | default: false -%}
{%- assign justify-content-class = "justify-content-center" -%}
{%- endif -%}
<div
class=
"card image-card bg-primary"
>
<img
src=
"{{ img_url }}"
class=
"card-img"
alt=
"Title image for {{ post.title }}"
>
<div
class=
"card-img-overlay"
style=
"padding-left: 0.5rem !important;padding-right: 0.5rem !important;"
>
<div
class=
"card-img-overlay {{ justify-content-class }}"
style=
"padding-left: 0.5rem !important;padding-right: 0.5rem !important;"
>
{%- unless include.exclude_date | default: false -%}
<div
class=
"card-title"
>
<span
class=
"badge badge-secondary"
>
<i
class=
"fas fa-calendar-day"
aria-hidden=
"true"
></i>
{{ include.post.date | date: "%d.
 
%b.
 
%y" }}
</span>
</div>
{%- endunless -%}
<div
class=
"card-text"
style=
"padding-left: 0.7rem !important;padding-right: 0.7rem !important;"
>
<a
href=
"{{ include.post.url | relative_url }}"
class=
"stretched-link"
>
<h4>
{{ include.post.title }}
</h4>
Loading