{{ define "custom_head_static" }}
    <link href="/static/app/css/highlightjs/default.min.css?v={{ version }}" rel="stylesheet">
    <link href="/static/app/css/highlightjs/monokai-sublime.min.css?v={{ version }}" rel="stylesheet">
{{ end }}
{{ define "custom_bottom_static" }}
    <script src="/static/app/js/highlightjs/highlight.min.js?v={{ version }}"></script>
    <script>
        $(function() {
            $("pre code").each(function(i, block) {
                hljs.highlightBlock(block);
            });
        });
    </script>
{{ end }}

<section class="page">
    <div class="container">
        <div class="row">
            <div class="page-content col-md-12">
                <a href={{ link .lang "/" }} class="blog-link-to-main">&larr; {{ trans .lang "to_main_page"}}</a>
            </div>
        </div>
        <div class="row">
            <div class="page-content col-md-9">
                <div class="blog-content">
                    <h1 class="top_30">{{ .article.Title }}</h1>
                    <span class="blog-data">{{ .article.PublishTime }}</span>
                    <div class="article-text">{{ noescape .article.Text }}</div>
                </div>
            </div>
            {{ template "_sidebar" . }}
        </div>
    </div>
</section>
