refactor: added the build command to build into static files
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ title }}</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
||||
{% endblock head %}
|
||||
</head>
|
||||
@@ -13,7 +13,7 @@
|
||||
<body {% if no_navigation %}style="padding-top: 40px;"{% endif %}>
|
||||
{% if not no_navigation %}
|
||||
<nav>
|
||||
<a href="/">Home</a>
|
||||
<a href="{% if is_static %}index.html{% else %}/{% endif %}">Home</a>
|
||||
</nav>
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -38,8 +38,10 @@ body {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
article {
|
||||
max-width: 1000px;
|
||||
#content {
|
||||
width: 100%;
|
||||
max-width: var(--container-width);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
::selection {
|
||||
|
||||
Reference in New Issue
Block a user