<!DOCTYPE html>
<html class="no-js">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>{{_('txt Reader')}} | {{title}}</title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta http-equiv="Content-Security-Policy" content="script-src 'self' http://hm.baidu.com 'unsafe-inline' 'unsafe-eval'">
        <script>
          var _hmt = _hmt || [];
          (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?9a79d99b2e653bf778370be4759cad14";
            var s = document.getElementsByTagName("script")[0]; 
            s.parentNode.insertBefore(hm, s);
          })();
        </script>
        <link rel="apple-touch-icon" sizes="140x140" href="{{ url_for('static', filename='favicon.ico') }}">
        <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">

        <link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}" type="text/css"/>
        <link rel="stylesheet" href="{{ url_for('static', filename='css/text.css') }}" type="text/css"/>

        <script src="{{ url_for('static', filename='js/libs/jquery.min.js') }}"></script>
        <script src="{{ url_for('static', filename='js/libs/plugins.js') }}"></script>
        <script>
            "use strict";
        </script>
        <script src="{{ url_for('static', filename='js/reading/txt_reader.js') }}"></script>
    </head>
    <body>
      <div id="readmain" data-load="{{ url_for('web.serve_book', book_id=txtfile, book_format='txt') }}">
        <div id="left" class="arrow" >‹</div>
        <div id="area"><pre id="content" class="content"></pre></div>
        <div id="right" class="arrow">›</div>
      </div>
    </body>
</html>
