mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
Fix header link and display
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
<!-- Title -->
|
||||
<h1><a href="/book/{{ book.attributes.full_name }}" >{{ title }}</a></h1>
|
||||
<h1><a href="{{ basePath }}/README.html" >{{ title }}</a></h1>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
@@ -4,27 +4,12 @@
|
||||
{% block head %}
|
||||
<meta charset="UTF-8">
|
||||
<title>{% block title %} | GitBook{% endblock %}</title>
|
||||
{% if config.debug %}
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
{% else %}
|
||||
<meta name="robots" content="{% block robots %}noindex, nofollow{% endblock %}">
|
||||
{% endif %}
|
||||
<link rel="icon" href="{{ staticBase }}/images/icons/32.png">
|
||||
<link rel="stylesheet" href="{{ staticBase }}/style.css">
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||
<meta name="description" content="{% block description %}{% endblock %}">
|
||||
<meta name="keywords" content="{% block keywords %}{% endblock %}" >
|
||||
<meta name="og:title" content="{% block title %} | GitBook{% endblock %}">
|
||||
<meta name="og:locale" content="en_US">
|
||||
<meta name="og:site_name" content="GitBook">
|
||||
<meta name="og:url" content="{{ config.web.url }}">
|
||||
<meta name="og:description" content="{% block description %}{% endblock %}">
|
||||
<meta name="og:image" content="{{ staticBase }}/images/icons/ios.png" >
|
||||
<meta name="application-name" content="Gitbook">
|
||||
<meta name="application-url" content="{{ config.web.url }}">
|
||||
<meta name="msapplication-tooltip" content="{% block description %}{% endblock %}">
|
||||
<meta name="msapplication-TileColor" content="#ffffff">
|
||||
<meta name="msapplication-starturl" content="{{ config.web.url }}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
{% extends "layout.html" %}
|
||||
|
||||
{% block title %}{{ input }} {{ title }}{% parent %}{% endblock %}
|
||||
{% block title %}{{ _input }} {{ title }}{% parent %}{% endblock %}
|
||||
{% block description %}{% endblock %}
|
||||
{% block robots %}index, follow{% endblock %}
|
||||
{% block content %}
|
||||
<div class="book {% if input == "README.md" %}with-summary{% endif %}">
|
||||
<div class="book {% if _input == "README.md" %}with-summary{% endif %}">
|
||||
{% include "includes/book/header.html" %}
|
||||
{% include "includes/book/summary.html" %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user