reformat html end tags

This commit is contained in:
XenGi 2023-06-13 21:41:28 +02:00
parent dcb6dc94fc
commit f80ce7c40a
Signed by: xengi
SSH key fingerprint: SHA256:EvLbWxFCtfmd+8Xa6RkzkhIga+wFkKCekfFacYVn63M
2 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@
<ul class="list-inline footer-links"> <ul class="list-inline footer-links">
{{ partial "share-links" . }} {{ partial "share-links" . }}
</ul><!--/.social-share--> </ul><!--/.social-share-->
</section><!--/.list-inline /.footer-links--> </section><!--/.list-inline .footer-links-->
{{ end }} {{ end }}
</article><!--/.blog-post--> </article><!--/.blog-post-->
@ -36,7 +36,7 @@
<a href="{{ .NextInSection.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .NextInSection.Title }}">{{ i18n "nextPost" }} &rarr;</a> <a href="{{ .NextInSection.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .NextInSection.Title }}">{{ i18n "nextPost" }} &rarr;</a>
</li><!--/.next--> </li><!--/.next-->
{{ end }} {{ end }}
</ul><!--/.pager /.blog-pager--> </ul><!--/.pager .blog-pager-->
{{ end }} {{ end }}
@ -53,7 +53,7 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
</div><!--/.col-lg-8 /.col-lg-offset-2 /.col-md-10 /.col-md-offset-1--> </div><!--/.col-lg-8 .col-lg-offset-2 .col-md-10 .col-md-offset-1-->
</div><!--/.row--> </div><!--/.row-->
</div><!--/.container--> </div><!--/.container-->
{{ end }} {{ end }}

View file

@ -74,7 +74,7 @@ def format_events(events):
f"<td><a href=\"{event['url'].decode('utf-8')}\">{event['name'].decode('utf-8')}</a></td>" f"<td><a href=\"{event['url'].decode('utf-8')}\">{event['name'].decode('utf-8')}</a></td>"
"</tr>" "</tr>"
) )
print("</table><!--/.table /.table-condensed-->") print("</table><!--/.table .table-condensed-->")
if __name__ == "__main__": if __name__ == "__main__":