This repository has been archived by the owner on Jan 23, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding helper functions / extended fjelltopp-theme layout
- Loading branch information
toavina
committed
Jul 23, 2024
1 parent
a1630da
commit 1945725
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% ckan_extends %} | ||
|
||
{% block featured %} | ||
<div class="recently-updated"> | ||
<div class="container"> | ||
<div class="recently-updated-title"> | ||
<h3>{{ _('Featured Datasets') }}</h3> | ||
<a class="view-all-btn" href="{{ url_for('dataset.search', tags='Featured') }}">{{ _('See all') }}</a> | ||
</div> | ||
{% snippet 'home/snippets/recently_updated.html', packages=h.get_featured_datasets(), origin='homepage' %} | ||
<div class="recently-updated-title"> | ||
<h3>{{ _('Recently Updated Datasets') }}</h3> | ||
<a class="view-all-btn" href="{{ h.url_for('/dataset') }}">{{ _('See all') }}</a> | ||
</div> | ||
{% snippet 'home/snippets/recently_updated.html', packages=h.get_recently_updated_datasets(), origin='homepage' %} | ||
</div> | ||
</div> | ||
{% endblock %} |