Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
Nuovo sito
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Nuovo sito
Commits
e89fddb9
Commit
e89fddb9
authored
Dec 02, 2023
by
shadMod
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added another dynamic news with dynamic year
parent
cf25e9e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
uitwww/templates/pages/index.html
uitwww/templates/pages/index.html
+5
-3
No files found.
uitwww/templates/pages/index.html
View file @
e89fddb9
...
...
@@ -107,13 +107,15 @@ Home page
Ultime novità
</h2>
<ul
class=
"item-list"
>
{% for news in news %}
{% for year, list_files in news.items() %}
{% for filename in list_files %}
<li>
<a
href=
"{{ url_for('news.detail', year=
'2023', filename=news
) }}"
>
Newsletter Italiana #Ubuntu - 2023.{{
news
}}
<a
href=
"{{ url_for('news.detail', year=
year, filename=filename
) }}"
>
Newsletter Italiana #Ubuntu - 2023.{{
filename.replace(".md", "")
}}
</a>
</li>
{% endfor %}
{% endfor %}
</ul>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment