Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
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
Container registry
Model 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
TO
Maják
Commits
59e78667
Commit
59e78667
authored
2 years ago
by
jan.bednarik
Browse files
Options
Downloads
Patches
Plain Diff
district: Fix homepage template
parent
7d82314d
Branches
Branches containing commit
No related tags found
2 merge requests
!556
district: Fix homepage template
,
!555
district: Fix homepage template
Pipeline
#8544
passed
2 years ago
Stage: build
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
district/templates/district/district_home_page.html
+14
-15
14 additions, 15 deletions
district/templates/district/district_home_page.html
with
14 additions
and
15 deletions
district/templates/district/district_home_page.html
+
14
−
15
View file @
59e78667
...
@@ -18,22 +18,21 @@
...
@@ -18,22 +18,21 @@
{% endfor %}
{% endfor %}
</div>
</div>
{% endif %}
{% endif %}
{% if page.articles %}
{% if page.articles %}
<div
class=
"content-block"
>
<h2
class=
"clear-both head-alt-md md:head-alt-lg pb-4 lg:pb-8"
>
<h2
class=
"clear-both head-alt-md md:head-alt-lg pb-4 lg:pb-8"
>
{{ page.articles_title }}
{{ page.articles_title }}
</h2>
</h2>
<!-- list of articles -->
<!-- list of articles -->
<div
class=
"article-card-list grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 lg:gap-8"
>
<div
class=
"article-card-list grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 lg:gap-8"
>
{% for a in page.articles %}
{% for a in page.articles %}
{% include "shared/article_preview.html" with article=a %}
{% include "shared/article_preview.html" with article=a %}
{% endfor %}
{% endfor %}
</div>
</div>
<div
class=
"mb-8 lg:mb-16"
>
<div
class=
"mb-8 lg:mb-16"
>
{% include "shared/more_articles_snippet.html" %}
{% include "shared/more_articles_snippet.html" %}
</div>
</div>
</div>
{% endif %}
{% endif %}
{% if page.election_countdown_datetime %}
{% if page.election_countdown_datetime %}
...
...
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