-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎄 refactor!: refactor code, remove unused libraries, update HTML stru…
…cture - Refactored multiple files across the project. - Removed unused libraries to clean up the codebase. - Improved HTML structure for better maintainability. - Migrated translation management to Weblate, replacing the old system.
- Loading branch information
Showing
12 changed files
with
242 additions
and
330 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{% extends 'base.html' %} | ||
{% set section = 'aim' %} | ||
{% block head %} | ||
<title>Aim</title> | ||
<title>Aim</title> | ||
{% endblock %} | ||
{% block body %} | ||
<div id='aim'> | ||
<h2 class="text-center titles">The Aim</h2> | ||
<div> | ||
<ul> | ||
<li>Education</li> | ||
<li>Ecosystem</li> | ||
<li>Events</li> | ||
</ul> | ||
<div id="aim"> | ||
<h2 class="text-center titles">The Aim</h2> | ||
<div> | ||
<ul> | ||
<li>Education</li> | ||
<li>Ecosystem</li> | ||
<li>Events</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
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 |
---|---|---|
@@ -1,44 +1,40 @@ | ||
{% extends 'base.html' %} | ||
{% set section = 'blog' %} | ||
{% block head %} | ||
<title>Posts for {{ category }}</title> | ||
<title>Posts for {{ category }}</title> | ||
{% endblock %} | ||
{% block body %} | ||
<div id='posts'> | ||
<h3>Blog Posts For Category: {{ category }}</h3> | ||
<div> | ||
<table class="table table-striped"> | ||
<thead> | ||
<tr> | ||
<th>Title</th> | ||
<th>Date</th> | ||
<th>Author/s</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
|
||
{% for blog_post in posts %} | ||
<div id="posts"> | ||
<h3>Blog Posts For Category: {{ category }}</h3> | ||
<div> | ||
<table class="table table-striped"> | ||
<thead> | ||
<tr> | ||
<td> | ||
<a href="{{path}}b/{{ blog_post['slug'] }}">{{ blog_post['title'] }}</a> | ||
</td> | ||
<td> | ||
{{ blog_post['date'] }} | ||
</td> | ||
<td> | ||
{% set authors = blog_post['authors'] %} | ||
{% for author in authors %} | ||
<a href="{{path}}u/{{ author }}">{{ author }}</a>{% if (not loop.index == len(authors)) %},{% endif %} | ||
{% endfor %} | ||
</td> | ||
<th scope="col">Title</th> | ||
<th scope="col">Date</th> | ||
<th scope="col">Author/s</th> | ||
</tr> | ||
{% endfor %} | ||
|
||
</tbody> | ||
</table> | ||
</thead> | ||
<tbody> | ||
{% for blog_post in posts %} | ||
<tr> | ||
<td> | ||
<a href="{{path}}b/{{ blog_post['slug'] }}">{{ blog_post['title'] }}</a> | ||
</td> | ||
<td> | ||
{{ blog_post['date'] }} | ||
</td> | ||
<td> | ||
{% set authors = blog_post['authors'] %} | ||
{% for author in authors %} | ||
<a href="{{path}}u/{{ author }}">{{ author }}</a>{% if (not loop.index == len(authors)) %},{% endif %} | ||
{% endfor %} | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div> | ||
<p></p> | ||
</div> | ||
<p> | ||
|
||
</p> | ||
</div> | ||
{% endblock %} | ||
{% endblock %} |
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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
{% extends 'base.html' %} | ||
{% set section = 'join' %} | ||
{% block head %} | ||
<title>Join</title> | ||
<title>Join</title> | ||
{% endblock %} | ||
{% block body %} | ||
<div id='join'> | ||
<h2 class="text-center titles">Join the WG</h2> | ||
See how to join the WG <a href="https://github.com/flaskcwg/join-requests/blob/main/README.md">here</a> | ||
</div> | ||
{% endblock %} | ||
<div id="join"> | ||
<h2 class="text-center titles">Join the WG</h2> | ||
<p> | ||
See how to join the WG <a href="https://github.com/flaskcwg/join-requests/blob/main/README.md">here</a> | ||
</p> | ||
</div> | ||
{% endblock %} |
Oops, something went wrong.