|
|
@ -15,8 +15,8 @@ |
|
|
|
{% endblock %} |
|
|
|
<link rel="shortcut icon" href="{% static 'blog/img/favicon.png' %}" type="image/x-icon"/> |
|
|
|
<!-- Bootstrap and font-awesome CSS --> |
|
|
|
<link href="https://file.lynchow.com/bootstrap.min.css" rel="stylesheet"> |
|
|
|
<link href="https://file.lynchow.com/font-awesome.min.css" rel="stylesheet"> |
|
|
|
<link href="https://files.lynchow.com/bootstrap.min.css" rel="stylesheet"> |
|
|
|
<link href="https://files.lynchow.com/font-awesome.min.css" rel="stylesheet"> |
|
|
|
<script src="{% static 'blog/js/headroom.min.js' %}"></script> |
|
|
|
<!-- blog CSS --> |
|
|
|
<link href="{% static 'blog/css/base.css' %}" rel="stylesheet"> |
|
|
@ -38,8 +38,7 @@ |
|
|
|
{% if messages %} |
|
|
|
<div class="container"> |
|
|
|
{% for message in messages %} |
|
|
|
<div class="alert {% if message.tags %}alert- |
|
|
|
{{ message.tags }}{% else %}alert-secondary{% endif %} alert-dismissible rounded-0 fade show" |
|
|
|
<div class="alert {% if message.tags %}alert-{{ message.tags }}{% else %}alert-secondary{% endif %} alert-dismissible rounded-0 fade show" |
|
|
|
role="alert"> |
|
|
|
{{ message }} |
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> |
|
|
@ -59,11 +58,11 @@ |
|
|
|
<main>{% block base_content %}{% endblock %}</main> |
|
|
|
<!-- Optional JavaScript --> |
|
|
|
<!-- jQuery first, then Popper.js, then Bootstrap JS --> |
|
|
|
<script src="https://file.lynchow.com/jquery.min.js"></script> |
|
|
|
<script src="https://files.lynchow.com/jquery.min.js"></script> |
|
|
|
<!--js cookie 插件--> |
|
|
|
<script src="{% static 'blog/js/js.cookie.min.js' %}"></script> |
|
|
|
<script src="https://file.lynchow.com/popper.min.js"></script> |
|
|
|
<script src="https://file.lynchow.com/bootstrap.min.js"></script> |
|
|
|
<script src="https://files.lynchow.com/popper.min.js"></script> |
|
|
|
<script src="https://files.lynchow.com/bootstrap.min.js"></script> |
|
|
|
<script> |
|
|
|
$(function () { |
|
|
|
var myElement = document.querySelector(".blog-navbar"); |
|
|
|