Skip to content

Commit 91da5b5

Browse files
committed
Refactor favtown.html table and update metadata
Removed unnecessary <i> elements from empty table cells in favtown.html and updated the jQuery logic to wrap empty cells with icon markup. Corrected a typo in humans.txt and updated the last update date in both humans.txt and sitemap.xml.
1 parent fa6dc2e commit 91da5b5

File tree

3 files changed

+9
-19
lines changed

3 files changed

+9
-19
lines changed

favtown.html

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,7 @@
197197
<span lang="sr">Gradska vijećnica</span>
198198
<span lang="en">City Hall</span>
199199
</td>
200-
<td>
201-
<i></i>
202-
</td>
200+
<td></td>
203201
<td>
204202
<a href="#" data-target="#Modal01"></a>
205203
</td>
@@ -209,9 +207,7 @@
209207
<span lang="sr">Glavna pješačka ulica</span>
210208
<span lang="en">Main pedestrian street</span>
211209
</td>
212-
<td>
213-
<i></i>
214-
</td>
210+
<td></td>
215211
<td>
216212
<a href="#" data-target="#Modal02"></a>
217213
</td>
@@ -221,9 +217,7 @@
221217
<span lang="sr">Katolička crkva</span>
222218
<span lang="en">Catholic church</span>
223219
</td>
224-
<td>
225-
<i></i>
226-
</td>
220+
<td></td>
227221
<td>
228222
<a href="#" data-target="#Modal03"></a>
229223
</td>
@@ -233,9 +227,7 @@
233227
<span lang="sr">Biblioteka &quot;Veljko Petrović&quot;</span>
234228
<span lang="en">&quot;Veljko Petrović&quot; Library</span>
235229
</td>
236-
<td>
237-
<i></i>
238-
</td>
230+
<td></td>
239231
<td>
240232
<a href="#" data-target="#Modal04"></a>
241233
</td>
@@ -245,9 +237,7 @@
245237
<span lang="sr">Sportsko-rekreativni centar &quot;Tikvara&quot;</span>
246238
<span lang="en">Sports and recreation center &quot;Tikvara&quot;</span>
247239
</td>
248-
<td>
249-
<i></i>
250-
</td>
240+
<td></td>
251241
<td>
252242
<a href="#" data-target="#Modal05"></a>
253243
</td>
@@ -304,7 +294,7 @@
304294
});
305295
$("div.modal-body").append($("<img>").addClass("d-block mx-auto img-fluid").attr("loading", "lazy"));
306296
$("td").each(function () {
307-
$(this).children("i").addClass("fa-solid fa-xmark fa-1x text-danger");
297+
$(this).filter(":empty").wrapInner($("<i></i>").addClass("fa-solid fa-xmark fa-1x text-danger"));
308298
$(this).children("a").attr("data-toggle", "modal").wrapInner($("<img>").addClass("img-thumbnail"));
309299
}).addClass("align-middle");
310300
$("a > img:eq(0), div.modal-body:eq(0) > img").attr({ "src": "images/favtown/city_hall.jpg", "alt": "Gradska vijećnica" });

humans.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Twitter: @_ICBL_
99
Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina
1010

11-
Secound: Government of Republic of Srpska - Ministry for Scientific and Technological Development, Higher Education and Information Society
11+
Second: Government of Republic of Srpska - Ministry for Scientific and Technological Development, Higher Education and Information Society
1212
Twitter: @mnrvoid_rs
1313
Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina
1414

@@ -25,7 +25,7 @@
2525
Location: Brisbane, Australia
2626

2727
/* SITE */
28-
Last update: 2025/09/18
28+
Last update: 2025/09/29
2929
Language: Serbian , English
3030
Standards: HTML5, CSS, JavaScript
3131
Components: jQuery, Bootstrap

sitemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</url>
5656
<url>
5757
<loc>https://baleshsrle.github.io/favtown.html</loc>
58-
<lastmod>2025-09-18</lastmod>
58+
<lastmod>2025-09-29</lastmod>
5959
<changefreq>daily</changefreq>
6060
<priority>0.8</priority>
6161
<image:image>

0 commit comments

Comments
 (0)