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
Commits
05a666ea
Verified
Commit
05a666ea
authored
3 years ago
by
Huste, Tobias
Browse files
Options
Downloads
Patches
Plain Diff
Redesign image cards to make them more compact
parent
212c0246
No related branches found
Branches containing commit
No related tags found
2 merge requests
!200
Update Service pages with all services
,
!177
HIFIS unified step 1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_includes/cards/post_card_image.html
+4
-21
4 additions, 21 deletions
_includes/cards/post_card_image.html
services/index.md
+12
-1
12 additions, 1 deletion
services/index.md
with
16 additions
and
22 deletions
_includes/cards/post_card_image.html
+
4
−
21
View file @
05a666ea
...
...
@@ -16,31 +16,14 @@ post: The post which sould be displayed on the card
| relative_url -%}
{%- endif -%}
<div
class=
"card top-image-card {{ include.class }}"
>
<a
href=
"{{ include.post.url | relative_url }}"
class=
"stretched-link"
></a>
<img
class=
"card-img-top card-img-equal"
src=
"{{ img_url }}"
alt=
"Title image"
>
<div
class=
"card-img-overlay"
>
{%- if include.post.date -%}
<span
class=
"badge badge-secondary"
>
<i
class=
"fas fa-calendar-day"
aria-hidden=
"true"
></i>
{{ include.post.date | date: "%d.
 
%b.
 
%y" }}
</span>
{%- endif -%}
{%- if include.post.categories -%}
<span
class=
"badge badge-dark"
>
<i
class=
"fas fa-tag"
aria-hidden=
"true"
></i>
{%- for category in include.post.categories -%}
{%- unless site.languages contains category -%}
{{ category | capitalize }}
{%- endunless -%}
{%- endfor -%}
</span>
{%- endif -%}
<h3
class=
"card-title text-white"
style=
"text-shadow: 0px 0px 20px #000000, 0px 0px 20px #000000, 0px 0px 20px #000, 0px 0px 20px #000"
>
{{ include.post.title }}
</h3>
</div>
{%- if include.excerpt -%}
<div
class=
"card-body"
>
<a
href=
"{{ include.post.url | relative_url }}"
class=
"stretched-link"
>
<h4
class=
"card-title"
>
{{ include.post.title }}
</h4>
</a>
{%- if include.excerpt -%}
<p>
{{ include.post.excerpt }}
</p>
{%- endif -%}
</div>
{%- endif -%}
</div>
This diff is collapsed.
Click to expand it.
services/index.md
+
12
−
1
View file @
05a666ea
...
...
@@ -7,7 +7,12 @@ author: none
---
## Cloud
<div
class=
"flex-cards"
>
{%- assign posts = site.pages | where_exp: "item", "item.path contains 'services/software'" -%}
{% for post in posts -%}
{% include cards/post_card_image.html post=post excerpt=true %}
{% endfor -%}
</div>
## Software
The service portfolio of HIFIS Software is structured into 4 different
...
...
@@ -22,6 +27,12 @@ Education & Training, Technology, Consulting and Community Services.
</div>
## Backbone
<div
class=
"flex-cards"
>
{%- assign posts = site.pages | where_exp: "item", "item.path contains 'services/software'" -%}
{% for post in posts -%}
{% include cards/post_card_image.html post=post excerpt=true %}
{% endfor -%}
</div>
## Guidelines
The optimal use of online collaboration tools is prerequisite for successful
...
...
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