<!DOCTYPE html>
<html lang="zh-CN">
<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>{{.Model.BookName}}</title>

    <!-- Bootstrap -->
    <link href="{{.BaseUrl}}/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="{{.BaseUrl}}/static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="{{.BaseUrl}}/static/jstree/3.3.4/themes/default/style.min.css" rel="stylesheet">

    <link href="{{.BaseUrl}}/static/nprogress/nprogress.css" rel="stylesheet">
    <link href="{{.BaseUrl}}/static/css/bookstack.css" rel="stylesheet">
    <link href="{{.BaseUrl}}/static/css/jstree.css" rel="stylesheet">
    {{if eq .Model.Editor "markdown"}}
    <link href="{{.BaseUrl}}/static/editor.md/css/editormd.preview.css" rel="stylesheet">
    {{/*<!--<link href="{{.BaseUrl}}/static/prettify/themes/atelier-estuary-dark.min.css" rel="stylesheet">-->*/}}
    <link href="{{.BaseUrl}}/static/css/markdown.preview.css" rel="stylesheet">
    {{else}}
    <link href="{{.BaseUrl}}/static/highlight/styles/zenburn.css" rel="stylesheet">
    {{end}}
    <style>
        body{padding:15px 0px;}
    </style>
</head>
<body>
<div class="m-manual manual-reader">
    <div class="container-fluid manual-body">
        <div class="h1 text-center">{{.Model.BookName}}</div>
        <div class="manual-article">
            <div class="article-content">
                <h1 id="article-title">{{.Lists.DocumentName}}</h1>
                <div class="article-body  {{if eq $.Model.Editor "markdown"}}markdown-body editormd-preview-container{{else}}editor-content{{end}}"  id="page-content">
                    {{str2html .Lists.Release}}
                </div>
            </div>
        </div>
    </div>
</body>
</html>