_includes/head.html in jekyll-theme-docgen-1.1.2 vs _includes/head.html in jekyll-theme-docgen-1.1.3
- old
+ new
@@ -1,13 +1,15 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>{{ page.title | default: 'docgen-document' }}</title>
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
- {% if include.style %}
- {% assign href ='/assets/css/' | append: include.style | append: '-style.css' | relative_url %}
- {% else %}
- {% assign href ='/assets/css/default-style.css' | relative_url %}
- {% endif %}
+ {% assign style = include.style | default: 'default' %}
+ {% assign href ='/assets/css/' | append: style | append: '-style-docgen.css' | relative_url %}
<link rel="stylesheet" href="{{ href }}">
+ {% if include.content %}
+ {{ include.content }}
+ {% endif %}
</head>