diff options
Diffstat (limited to 'arduino_blog/templates/header.html')
-rw-r--r-- | arduino_blog/templates/header.html | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/arduino_blog/templates/header.html b/arduino_blog/templates/header.html new file mode 100644 index 0000000..12964d4 --- /dev/null +++ b/arduino_blog/templates/header.html @@ -0,0 +1,45 @@ +{% load static %} +<!-- Header--> +{% block header %} +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="title" content="Arduino Projects"> + <meta name="description" content="Arduino Projects"> + <meta name="keywords" content="Arduino, projects, github"> + <link rel="icon" href="{% static 'website/bootstrap-css/assets/images/logo.png' %}" type="icon"> + <title>Arduino Projects</title> + <!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> + <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> + <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> --> + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> + <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script> +<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script> +<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script> + <script> + function countChar(val) { + var len = val.value.length; + var count = $('#charNum').text(0 + len); + }; + </script> +<style> + + /* Stackoverflow preview fix, please ignore */ + .navbar-nav { + flex-direction: row; + } + .nav-link { + padding-right: .5rem !important; + padding-left: .5rem !important; + } + + /* Fixes dropdown menus placed on the right side */ + .ml-auto .dropdown-menu { + left: auto !important; + right: 0px; + } + </style> +</head> + +{% endblock %}
\ No newline at end of file |