Skip to content

Commit

Permalink
Add a way for meta tags to be inserted into all pages (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdHeat authored Dec 4, 2023
1 parent 8f9bdbd commit 519f0bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title>{{ Configs.ctf_name }}</title>
<title>{{ title or Configs.ctf_name }}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="{{ Configs.ctf_small_icon }}" type="image/x-icon">

{{ meta | safe }}

{% block stylesheets %}
{{ Assets.css("assets/scss/main.scss") }}
{% endblock %}
Expand Down

0 comments on commit 519f0bd

Please sign in to comment.