Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/IvanChou/hugo-theme-vec.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author周艺 <me@ichou.cn>2016-09-09 10:59:04 +0300
committer周艺 <me@ichou.cn>2016-09-09 11:01:27 +0300
commit03cda9479db7be2b726cba2a66111fd4a5b56f2e (patch)
treeb268994b16ac892bc1f7134066c1ec1c9267aee9
first release
-rw-r--r--.gitignore4
-rw-r--r--LICENSE.md20
-rw-r--r--README.md75
-rw-r--r--archetypes/default.md6
-rw-r--r--images/screenshot.pngbin0 -> 137323 bytes
-rw-r--r--images/tn.pngbin0 -> 103232 bytes
-rw-r--r--layouts/_default/list.html37
-rw-r--r--layouts/_default/single.html44
-rw-r--r--layouts/index.html49
-rw-r--r--layouts/page/single.html26
-rw-r--r--layouts/partials/analytics.html10
-rw-r--r--layouts/partials/disqus.html16
-rw-r--r--layouts/partials/footer.html12
-rw-r--r--layouts/partials/head.html13
-rw-r--r--layouts/partials/header.html19
-rw-r--r--layouts/partials/pagination.html5
-rw-r--r--src/github-gist.scss71
-rw-r--r--src/vec.scss425
-rw-r--r--static/css/vec.css2
-rw-r--r--static/css/vec.css.map7
-rw-r--r--static/js/highlight.min.js2
-rw-r--r--theme.toml12
22 files changed, 855 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..282f718
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.swp
+*~
+.DS_Store
+.sass-cache
diff --git a/LICENSE.md b/LICENSE.md
new file mode 100644
index 0000000..2b30074
--- /dev/null
+++ b/LICENSE.md
@@ -0,0 +1,20 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 Ivan Chou
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..54fe0e4
--- /dev/null
+++ b/README.md
@@ -0,0 +1,75 @@
+# Vec
+
+Vec is a minimal, clean and beautiful theme for [Hugo](http://gohugo.io/).
+
+![Vec screenshot](https://github.com/IvanChou/hugo-theme-vec/blob/master/images/screenshot.png)
+
+[Demo](http://yii.im).
+
+## Installation
+
+```
+mkdir themes
+cd themes
+git clone https://github.com/IvanChou/hugo-theme-vec vec
+```
+
+See the [official docs](http://gohugo.io/themes/installing) for more information.
+
+## Configuration
+You could add `params` into your site's `config.toml` file:
+
+```
+[params]
+ Keywords = "key, 关键字, キーワード"
+ Description = "There is some words to describe your site"
+
+ Avater = "//chou.oss-cn-hangzhou.aliyuncs.com/yii.im/avatar.jpg"
+ SelfIntro = "Just a worm, seek for true, live in shadow, no more..."
+
+ GithubID = "Your Github ID"
+ TwitterID = "Your Twitter ID"
+ FacebookID = "Your Facebook ID"
+ LinkedInID = "Your LinkedIn ID"
+ GoogleplusID = "Your Googleplus ID"
+ AnalyticsID = "Your Google Analytics tracking code"
+ DisqusID = "Your Disqus shortname"
+```
+
+If you use `config.yaml`, plz reformat them to yaml.
+
+### Enable Disqus to your post
+
+1. Add your Disqus Shortname to the site config file;
+2. You can enable Disqus per-post, by adding `comments: true` (YAML) or `comments = true` (TOML) in the front matter of your post. To disable it, you can either change the value to `false` or just not include `comments` variable and its value at all.
+
+### Enable TOC to your post
+
+If you need show table of contents per-post, adding `toc: true` (YAML) or `toc = true` (TOML) in the front matter of your post.
+
+Please notice that TOC will be hidden when browser width is less than 920px.
+
+## Build your site
+
+Add `theme = "vec"` to your `config.toml`, then
+
+```
+# Build
+hugo
+
+# Run a server
+hugo server
+```
+OR
+
+```
+hugo -t vec
+hugo server -t vec
+```
+
+
+## License
+
+Open sourced under [MIT license](https://github.com/IvanChou/hugo-theme-vec/blob/master/LICENSE.md).
+
+
diff --git a/archetypes/default.md b/archetypes/default.md
new file mode 100644
index 0000000..9fbecf2
--- /dev/null
+++ b/archetypes/default.md
@@ -0,0 +1,6 @@
++++
+toc = false
+draft = true
+comments = false
+slug = ""
++++ \ No newline at end of file
diff --git a/images/screenshot.png b/images/screenshot.png
new file mode 100644
index 0000000..424734c
--- /dev/null
+++ b/images/screenshot.png
Binary files differ
diff --git a/images/tn.png b/images/tn.png
new file mode 100644
index 0000000..90248d0
--- /dev/null
+++ b/images/tn.png
Binary files differ
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..f81bfee
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html lang="{{ .Site.LanguageCode }}">
+
+<head>
+ <title> {{ .Title }} &middot; {{ .Site.Title }} </title>
+
+ {{ partial "head.html" . }}
+</head>
+
+<body>
+
+ {{ partial "header.html" . }}
+ <div class="content">
+ <section class="posts">
+ {{ $paginator := .Paginate (.Data.Pages.GroupByDate "2006-01") 20 }}
+ {{ range $paginator.PageGroups }}
+ <div class="posts-archive">
+ {{ $month := (print .Key "-01") }}
+ <time class="posts-archive-month" datetime="{{ $month }}">{{ dateFormat "Jan 2006" $month }}</time>
+ <ol class="posts-list">
+ {{ range .Pages }}
+ <li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
+ {{ end }}
+ </ol>
+ </div>
+ {{ end }}
+ </section>
+ {{ partial "pagination.html" . }}
+ </div>
+
+ {{ partial "footer.html" . }}
+
+ {{ with .Site.Params.AnalyticsID }}{{ partial "analytics.html" . }}{{ end }}
+
+</body>
+
+</html> \ No newline at end of file
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..c4c9822
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+ <title> {{ .Title }} &middot; {{ .Site.Title }} </title>
+
+ {{ partial "head.html" . }}
+</head>
+
+<body>
+ {{ partial "header.html" . }}
+ <div class="content">
+ {{ if .Params.Toc }}{{ .TableOfContents }}{{ end }}
+
+ <section class="post">
+ <h2 class="post-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
+ <span class="post-date">{{ .Date.Format "Jan 2, 2006 " }}</span>
+ <div class="post-content">
+ {{ .Content }}
+ </div>
+ </section>
+
+ <section class="pagination clearfix">
+ {{ with .PrevInSection }}
+ <a class="btn previous " href="{{.Permalink}}"> {{ .Title }} </a>
+ {{ end }}
+ {{ with .NextInSection }}
+ <a class="btn next " href="{{.Permalink}}"> {{ .Title }} </a>
+ {{ end }}
+ </section>
+
+ {{ if .Params.comments }}{{ partial "disqus.html" . }}{{ end }}
+ </div>
+
+ {{ partial "footer.html" . }}
+
+ <script src="{{ .Site.BaseURL }}/js/highlight.min.js"></script>
+ <script>
+ hljs.initHighlightingOnLoad();
+ </script>
+ {{ with .Site.Params.AnalyticsID }}{{ partial "analytics.html" . }}{{ end }}
+</body>
+
+</html>
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..3b181d7
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="{{ .Site.LanguageCode }}">
+<head>
+ <title> {{ .Site.Title }} </title>
+
+ {{ with .Site.Params.Keywords }}<meta name="keywords" content="{{.}}">{{ end }}
+ {{ with .Site.Params.Description }}<meta name="description" content="{{.}}">{{ end }}
+
+ {{ partial "head.html" . }}
+
+</head>
+
+<body>
+ {{ partial "header.html" . }}
+
+ <section class="user-profile">
+ <figure class="user-avatar">
+ <img alt="avater" src="{{ .Site.Params.Avater }}">
+ <figcaption class="user-socials">
+
+ {{ with .Site.Params.TwitterID }}
+ <a href="https://twitter.com/{{.}}" title="Twitter"><i class="fa fa-twitter-square" aria-hidden="true"></i></a>
+ {{ end }}
+
+ {{ with .Site.Params.GoogleplusID }}
+ <a href="https://plus.google.com/{{.}}/about" title="Google+"><i class="fa fa-google-plus-square" aria-hidden="true"></i></a>
+ {{ end }}
+
+ {{ with .Site.Params.FacebookID }}
+ <a href="https://facebook.com/{{.}}" title="Facebook"><i class="fa fa-facebook-square" aria-hidden="true"></i></a>
+ {{ end }}
+
+ {{ with .Site.Params.GithubID }}
+ <a href="https://github.com/{{.}}" title="GitHub"><i class="fa fa-github-square" aria-hidden="true"></i></a>
+ {{ end }}
+
+ {{ with .Site.Params.LinkedInID }}
+ <a href="http://linkedin.com/in/{{.}}" title="LinkedIn"><i class="fa fa-linkedin-square" aria-hidden="true"></i></a>
+ {{ end }}
+
+ </figcaption>
+ </figure>
+ <h2 class="user-motivation">{{ .Site.Params.SelfIntro }}</h2>
+ </section>
+
+ {{ partial "footer.html" . }}
+
+</body>
+</html> \ No newline at end of file
diff --git a/layouts/page/single.html b/layouts/page/single.html
new file mode 100644
index 0000000..f073d57
--- /dev/null
+++ b/layouts/page/single.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+ <title> {{ .Title }} &middot; {{ .Site.Title }} </title>
+
+ {{ partial "head.html" . }}
+</head>
+
+<body>
+ {{ partial "header.html" . }}
+ <div class="content">
+ <section class="post">
+ <h2 class="post-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
+ <div class="post-content">
+ {{ .Content }}
+ </div>
+ </section>
+ </div>
+ {{ partial "footer.html" . }}
+
+ {{ with .Site.Params.AnalyticsID }}{{ partial "analytics.html" . }}{{ end }}
+
+</body>
+
+</html> \ No newline at end of file
diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html
new file mode 100644
index 0000000..c2434f2
--- /dev/null
+++ b/layouts/partials/analytics.html
@@ -0,0 +1,10 @@
+<script>
+(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ga('create', '{{.}}', 'auto');
+ga('send', 'pageview');
+
+</script>
diff --git a/layouts/partials/disqus.html b/layouts/partials/disqus.html
new file mode 100644
index 0000000..66fb369
--- /dev/null
+++ b/layouts/partials/disqus.html
@@ -0,0 +1,16 @@
+{{ if .Site.Params.DisqusShortname }}
+<section id="disqus_thread" class='disqus'></section>
+<script>
+ var disqus_config = function () {
+ this.page.url = {{ .Permalink }};
+ // this.page.identifier = PAGE_IDENTIFIER;
+ };
+ (function() {
+ var d = document, s = d.createElement('script');
+ s.src = '//{{ .Site.Params.DisqusID }}.disqus.com/embed.js';
+ s.setAttribute('data-timestamp', +new Date());
+ (d.head || d.body).appendChild(s);
+ })();
+</script>
+<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..160661e
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1,12 @@
+<footer>
+ <div class="footer-info">
+ <p>
+ <a href="mailto:{{ .Site.Params.Email }}?subject="><i class="fa fa-envelope-o"></i> {{ .Site.Params.Email }} </a>
+ {
+ <a href="https://gohugo.io/" title="Hugo :: A fast and modern static website engine">Hugo {{ .Hugo.Version }}</a>,
+ <a href="https://github.com/IvanChou/yii.im" title="vec">Vec</a>
+ }
+ {<a href="http://creativecommons.org/licenses/by-nc-nd/3.0/" title="CC BY-NC-ND 3.0">CC BY-NC-ND 3.0</a>}
+ </p>
+ </div>
+</footer> \ No newline at end of file
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
new file mode 100644
index 0000000..3b3daec
--- /dev/null
+++ b/layouts/partials/head.html
@@ -0,0 +1,13 @@
+<meta http-equiv="content-type" content="text/html; charset=utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
+{{ .Hugo.Generator }}
+
+<!-- CSS -->
+<link rel="stylesheet" href="{{ .Site.BaseURL }}css/vec.css">
+
+<!-- Icons -->
+<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
+<link rel="shortcut icon" href="/favicon.ico">
+
+<!-- RSS -->
+<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..5df1b5e
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,19 @@
+<header>
+ <nav>
+ <ul>
+ {{ $title := lower .Title }}
+ {{ $section := lower .Section }}
+ <li class="pull-left {{ if .IsHome }}current{{ end }}">
+ <a href="{{ .Site.BaseURL }}">/home/{{ lower .Site.Title}}</a>
+ </li>
+ {{ range .Site.Menus.main }}
+ {{ $name := lower .Name }}
+ <li class="pull-left {{ if eq $name $title }}current{{ else if eq $section $name }}current{{ end }}">
+ <a href="{{ .URL }}">~/{{ lower .Name }}</a>
+ </li>
+ {{end}}
+
+ <li class="pull-right"><a href="{{ .RSSlink }}"><i class="fa fa-rss"></i></a></li>
+ </ul>
+ </nav>
+</header> \ No newline at end of file
diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html
new file mode 100644
index 0000000..b5b408a
--- /dev/null
+++ b/layouts/partials/pagination.html
@@ -0,0 +1,5 @@
+<div class="pagination">
+ {{ if .Paginator.HasPrev }}
+ <a class="btn previous" href="{{ .Paginator.Prev.URL }}">Newer</a> {{ end }} {{ if .Paginator.HasNext }}
+ <a class="btn next" href="{{ .Paginator.Next.URL }}">Older</a> {{ end }}
+</div> \ No newline at end of file
diff --git a/src/github-gist.scss b/src/github-gist.scss
new file mode 100644
index 0000000..ee2d6bd
--- /dev/null
+++ b/src/github-gist.scss
@@ -0,0 +1,71 @@
+/**
+ * GitHub Gist Theme
+ * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro
+ */
+
+.hljs {
+ display: block;
+ background: white;
+ padding: 0.5em;
+ color: #333333;
+ overflow-x: auto;
+}
+
+.hljs-comment,
+.hljs-meta {
+ color: #969896;
+}
+
+.hljs-string,
+.hljs-variable,
+.hljs-template-variable,
+.hljs-strong,
+.hljs-emphasis,
+.hljs-quote {
+ color: #df5000;
+}
+
+.hljs-keyword,
+.hljs-selector-tag,
+.hljs-type {
+ color: #a71d5d;
+}
+
+.hljs-literal,
+.hljs-symbol,
+.hljs-bullet,
+.hljs-attribute {
+ color: #0086b3;
+}
+
+.hljs-section,
+.hljs-name {
+ color: #63a35c;
+}
+
+.hljs-tag {
+ color: #333333;
+}
+
+.hljs-title,
+.hljs-attr,
+.hljs-selector-id,
+.hljs-selector-class,
+.hljs-selector-attr,
+.hljs-selector-pseudo {
+ color: #795da3;
+}
+
+.hljs-addition {
+ color: #55a532;
+ background-color: #eaffea;
+}
+
+.hljs-deletion {
+ color: #bd2c00;
+ background-color: #ffecec;
+}
+
+.hljs-link {
+ text-decoration: underline;
+} \ No newline at end of file
diff --git a/src/vec.scss b/src/vec.scss
new file mode 100644
index 0000000..0a56f7b
--- /dev/null
+++ b/src/vec.scss
@@ -0,0 +1,425 @@
+@import url(//fonts.googleapis.com/css?family=Droid+Sans+Mono|Russo+One|Source+Sans+Pro:400,700);
+@import url(//cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.css);
+
+@import "github-gist.scss";
+
+$font-body: 'Source Sans Pro', 'PingFang SC', 'Microsoft YaHei', Arial, Serif;
+$font-title: 'Russo One', 'PingFang SC', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
+$font-code: 'Droid Sans Mono', Menlo, Monaco, monospace;
+
+html {
+ height:100%;
+}
+
+body {
+ margin: 0;
+ padding:0;
+ min-height:100%;
+ font-family: $font-body;
+ font-size: 100%;
+ letter-spacing: .01rem;
+ position:relative;
+}
+
+h1,h2,h3,h4,h5,h6 {
+ font-family: $font-title;
+ font-weight: 700;
+ line-height: 1.25;
+}
+
+a {
+ color: #005580;
+ text-decoration: none;
+
+ &:hover {
+ color: #08c;
+ }
+}
+
+img,video {
+ max-width: 100%;
+}
+
+.pull-left {
+ float: left;
+}
+
+.pull-right {
+ float: right;
+}
+
+.clearfix::before,.clearfix::after {
+ display: table;
+ content: "";
+ line-height: 0
+}
+
+.clearfix::after {
+ clear: both
+}
+
+.content {
+ margin: 0 auto;
+ padding: 6rem 1.85rem 8rem;
+ max-width: 40rem;
+}
+
+@mixin awesome-fa {
+ display: inline-block;
+ font: normal normal normal 14px/1 FontAwesome;
+ font-size: inherit;
+ text-rendering: auto;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+/* ============== Header ============== */
+header {
+ position: fixed;
+ top: 0;
+ width: 100%;
+ height: 1.75rem;
+ font-family: $font-code;
+ font-size: .875rem;
+ font-weight: bold;
+ background: #2d2d2d;
+ border-bottom: 1px solid #000;
+ z-index: 99;
+
+ ul,ol {
+ margin: 0;
+ padding: 0;
+ list-style: none
+ }
+
+ nav {
+ padding: 0 .5rem
+ }
+
+ .nav-center {
+ text-align: center;
+ line-height: 1.75rem;
+ color: #000;
+ text-transform: uppercase;
+ text-shadow: rgba(255,255,255,.098) 0 1px 0,rgba(255,255,255,.12) 0 0 1.875rem
+ }
+
+ a {
+ color: #bbb;
+ line-height: 1.75rem;
+ padding: 0 .5rem
+ }
+
+ a:hover, .current a {
+ color: #fff;
+ }
+}
+
+
+/* ============== Footer ============== */
+footer {
+ position: absolute;
+ width: 100%;
+ padding: 1rem;
+ bottom: 0;
+ box-sizing: border-box;
+ color: #ccc;
+
+ a {
+ color: #ccc;
+ }
+
+ .footer-info {
+ border-top: .4rem double #f2f2f2;
+ padding-top: .25rem
+ }
+}
+
+/* ============== Index ============== */
+
+.user-profile {
+ width: 100%;
+ padding: 4rem 1rem 8rem;
+ font-family: '','Monaco',monospace;
+ color: #888;
+ text-align: center;
+ box-sizing: border-box;
+}
+
+.user-profile .user-avatar {
+ margin: 1rem 0
+}
+
+.user-profile .user-avatar img {
+ width: 16rem;
+ height: 16rem
+}
+
+.user-profile .user-socials a {
+ color: #a7a7a7;
+ font-size: 1.25rem;
+ line-height: 1.5rem;
+ text-decoration: none
+}
+
+.user-profile .user-socials a:hover {
+ color: #777
+}
+
+.user-profile .user-motivation {
+ max-width: 56rem;
+ font-size: 4rem;
+ line-height: 4.125rem;
+ margin: 1rem auto
+}
+
+/* ============== List ============== */
+
+.posts {
+ margin-left: -6rem;
+
+ .posts-archive {
+ margin-bottom: 3rem;
+
+ time {
+ display: block;
+ width: 8rem;
+ float: left;
+ font-family: $font-title;
+ font-size: 1.75rem;
+ text-align: right;
+ color: #CCCCCC;
+ font-weight: bold;
+ white-space: nowrap;
+ line-height: 1.25rem;
+ padding: .125rem 0;
+ }
+
+ ol {
+ margin-left: 12rem;
+
+ li {
+ margin-bottom: .5rem;
+ list-style: decimal;
+ }
+ }
+ }
+}
+
+/* ============== Page ============== */
+
+.post {
+ color: #444;
+ line-height: 1.8;
+ width: 100%;
+
+ hr {
+ height: 0.25rem;
+ padding: 0;
+ margin: 1.5rem 0;
+ background-color: #e7e7e7;
+ border: 0;
+ }
+
+ em {
+ text-emphasis-style: circle;
+ text-emphasis-position: under;
+ }
+
+ code {
+ font-family: $font-code;
+ font-size: 0.85rem;
+ color: #555;
+ background-color: #f5f5f5;
+ border: 1px solid #eef;
+ border-radius: 3px;
+ padding: 0.2rem 0.5rem;
+ }
+
+ pre {
+ display: block;
+ margin: 0 0 1rem 0;
+ padding: 1rem;
+ font-size: 0.8rem;
+ line-height: 1.4;
+ white-space: pre;
+ white-space: pre-wrap;
+ word-break: break-all;
+ word-wrap: break-word;
+ background-color: #f5f5f5;
+
+ code {
+ font-size: 0.7rem;
+ padding: 0;
+ color: inherit;
+ border: none;
+ }
+ }
+
+ blockquote {
+ padding: 0.5rem 1rem;
+ margin: 0.8rem 0;
+ color: #7a7a7a;
+ border-left: 0.3rem solid #e5e5e5;
+
+ p:first-child {
+ margin-top: 0;
+ }
+
+ p:last-child {
+ margin-bottom: 0;
+ }
+ }
+}
+
+#TableOfContents {
+ border-radius: .25rem;
+ padding: 1rem;
+ background-color: #f7f7f7;
+ margin: 5rem 0 0 35rem;
+ position: absolute;
+ font-size: .875rem;
+
+ ul {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ }
+
+ a {
+ display: inline-block;
+ white-space: nowrap;
+ overflow: hidden;
+ max-width: 14rem;
+ text-overflow: ellipsis;
+
+ &:before {
+ content: '•';
+ padding-right: .25rem;
+ }
+ }
+
+ a + ul {
+ padding-left: 1.5rem;
+ }
+
+ & ~ section {
+ margin-left: -6rem;
+ }
+
+}
+
+.pagination {
+ width: 100%;
+ margin: 4rem 0 0;
+ padding: 1.6rem 0;
+ border-top: 1px solid #e7e7e7;
+
+ a {
+ width: 42%;
+ overflow: hidden;
+ position: relative;
+ }
+
+ @mixin vertical-center {
+ position: absolute;
+ top: 50%;
+ margin-top: -.5rem;
+ }
+
+ .previous {
+ float: left;
+ padding-left: 1.25rem;
+
+ &:before {
+ @include awesome-fa;
+ @include vertical-center;
+ left: 0;
+ content: "\f053";
+ }
+ }
+
+ .next {
+ float: right;
+ text-align: right;
+ padding-right: 1.25rem;
+
+ &:after {
+ @include awesome-fa;
+ @include vertical-center;
+ right: 0;
+ content: "\f054";
+ }
+ }
+}
+
+.disqus {
+ width: 100%;
+ padding: 5rem 0 2rem;
+ border-top: 1px solid #e7e7e7;
+}
+
+
+
+/* ============== media ============== */
+
+@media (max-width: 480px) {
+ .content {
+ margin: 0 auto;
+ padding: 4rem 1rem 8rem;
+ }
+
+ .user-profile .user-avatar img {
+ width: 8rem;
+ height: 8rem
+ }
+
+ .user-profile .user-motivation {
+ font-size: 2.625rem;
+ line-height: 3.125rem
+ }
+
+ .pagination {
+ a {
+ font-size: .75rem;
+ }
+
+ .previous:before, .next:after {
+ margin-top: -.35rem;
+ }
+ }
+}
+
+@media (max-width: 920px) {
+ .posts {
+ margin-left: 0rem;
+ }
+
+ #TableOfContents {
+ display: none;
+
+ & ~ section {
+ margin-left: 0rem;
+ }
+ }
+
+}
+
+@media (max-width: 700px) {
+ .posts {
+ margin-left: 0rem;
+
+ .posts-archive {
+ time {
+ float: none;
+ text-align: left;
+ margin-bottom: 1rem;
+ }
+
+ ol {
+ margin-left: 0;
+ }
+ }
+ }
+}
+
diff --git a/static/css/vec.css b/static/css/vec.css
new file mode 100644
index 0000000..40f00db
--- /dev/null
+++ b/static/css/vec.css
@@ -0,0 +1,2 @@
+@import url(//fonts.googleapis.com/css?family=Droid+Sans+Mono|Russo+One|Source+Sans+Pro:400,700);@import url(//cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.css);.hljs{display:block;background:white;padding:0.5em;color:#333333;overflow-x:auto}.hljs-comment,.hljs-meta{color:#969896}.hljs-string,.hljs-variable,.hljs-template-variable,.hljs-strong,.hljs-emphasis,.hljs-quote{color:#df5000}.hljs-keyword,.hljs-selector-tag,.hljs-type{color:#a71d5d}.hljs-literal,.hljs-symbol,.hljs-bullet,.hljs-attribute{color:#0086b3}.hljs-section,.hljs-name{color:#63a35c}.hljs-tag{color:#333333}.hljs-title,.hljs-attr,.hljs-selector-id,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo{color:#795da3}.hljs-addition{color:#55a532;background-color:#eaffea}.hljs-deletion{color:#bd2c00;background-color:#ffecec}.hljs-link{text-decoration:underline}html{height:100%}body{margin:0;padding:0;min-height:100%;font-family:"Source Sans Pro","PingFang SC","Microsoft YaHei",Arial,Serif;font-size:100%;letter-spacing:.01rem;position:relative}h1,h2,h3,h4,h5,h6{font-family:"Russo One","PingFang SC","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;font-weight:700;line-height:1.25}a{color:#005580;text-decoration:none}a:hover{color:#08c}img,video{max-width:100%}.pull-left{float:left}.pull-right{float:right}.clearfix::before,.clearfix::after{display:table;content:"";line-height:0}.clearfix::after{clear:both}.content{margin:0 auto;padding:6rem 1.85rem 8rem;max-width:40rem}header{position:fixed;top:0;width:100%;height:1.75rem;font-family:"Droid Sans Mono",Menlo,Monaco,monospace;font-size:.875rem;font-weight:bold;background:#2d2d2d;border-bottom:1px solid #000;z-index:99}header ul,header ol{margin:0;padding:0;list-style:none}header nav{padding:0 0.5rem}header .nav-center{text-align:center;line-height:1.75rem;color:#000;text-transform:uppercase;text-shadow:rgba(255,255,255,0.098) 0 1px 0,rgba(255,255,255,0.12) 0 0 1.875rem}header a{color:#bbb;line-height:1.75rem;padding:0 0.5rem}header a:hover,header .current a{color:#fff}footer{position:absolute;width:100%;padding:1rem;bottom:0;box-sizing:border-box;color:#ccc}footer a{color:#ccc}footer .footer-info{border-top:.4rem double #f2f2f2;padding-top:0.25rem}.user-profile{width:100%;padding:4rem 1rem 8rem;font-family:'','Monaco',monospace;color:#888;text-align:center;box-sizing:border-box}.user-profile .user-avatar{margin:1rem 0}.user-profile .user-avatar img{width:16rem;height:16rem}.user-profile .user-socials a{color:#a7a7a7;font-size:1.25rem;line-height:1.5rem;text-decoration:none}.user-profile .user-socials a:hover{color:#777}.user-profile .user-motivation{max-width:56rem;font-size:4rem;line-height:4.125rem;margin:1rem auto}.posts{margin-left:-6rem}.posts .posts-archive{margin-bottom:3rem}.posts .posts-archive time{display:block;width:8rem;float:left;font-family:"Russo One","PingFang SC","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;font-size:1.75rem;text-align:right;color:#CCCCCC;font-weight:bold;white-space:nowrap;line-height:1.25rem;padding:.125rem 0}.posts .posts-archive ol{margin-left:12rem}.posts .posts-archive ol li{margin-bottom:.5rem;list-style:decimal}.post{color:#444;line-height:1.8;width:100%}.post hr{height:0.25rem;padding:0;margin:1.5rem 0;background-color:#e7e7e7;border:0}.post em{text-emphasis-style:circle;text-emphasis-position:under}.post code{font-family:"Droid Sans Mono",Menlo,Monaco,monospace;font-size:0.85rem;color:#555;background-color:#f5f5f5;border:1px solid #eef;border-radius:3px;padding:0.2rem 0.5rem}.post pre{display:block;margin:0 0 1rem 0;padding:1rem;font-size:0.8rem;line-height:1.4;white-space:pre;white-space:pre-wrap;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5}.post pre code{font-size:0.7rem;padding:0;color:inherit;border:none}.post blockquote{padding:0.5rem 1rem;margin:0.8rem 0;color:#7a7a7a;border-left:0.3rem solid #e5e5e5}.post blockquote p:first-child{margin-top:0}.post blockquote p:last-child{margin-bottom:0}#TableOfContents{border-radius:.25rem;padding:1rem;background-color:#f7f7f7;margin:5rem 0 0 35rem;position:absolute;font-size:.875rem}#TableOfContents ul{list-style:none;margin:0;padding:0}#TableOfContents a{display:inline-block;white-space:nowrap;overflow:hidden;max-width:14rem;text-overflow:ellipsis}#TableOfContents a:before{content:'•';padding-right:.25rem}#TableOfContents a+ul{padding-left:1.5rem}#TableOfContents ~ section{margin-left:-6rem}.pagination{width:100%;margin:4rem 0 0;padding:1.6rem 0;border-top:1px solid #e7e7e7}.pagination a{width:42%;overflow:hidden;position:relative}.pagination .previous{float:left;padding-left:1.25rem}.pagination .previous:before{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;margin-top:-.5rem;left:0;content:"\f053"}.pagination .next{float:right;text-align:right;padding-right:1.25rem}.pagination .next:after{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;margin-top:-.5rem;right:0;content:"\f054"}.disqus{width:100%;padding:5rem 0 2rem;border-top:1px solid #e7e7e7}@media (max-width: 480px){.content{margin:0 auto;padding:4rem 1rem 8rem}.user-profile .user-avatar img{width:8rem;height:8rem}.user-profile .user-motivation{font-size:2.625rem;line-height:3.125rem}.pagination a{font-size:.75rem}.pagination .previous:before,.pagination .next:after{margin-top:-.35rem}}@media (max-width: 920px){.posts{margin-left:0rem}#TableOfContents{display:none}#TableOfContents ~ section{margin-left:0rem}}@media (max-width: 700px){.posts{margin-left:0rem}.posts .posts-archive time{float:none;text-align:left;margin-bottom:1rem}.posts .posts-archive ol{margin-left:0}}
+/*# sourceMappingURL=vec.css.map */
diff --git a/static/css/vec.css.map b/static/css/vec.css.map
new file mode 100644
index 0000000..e3e27cb
--- /dev/null
+++ b/static/css/vec.css.map
@@ -0,0 +1,7 @@
+{
+"version": 3,
+"mappings": "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",
+"sources": ["../../src/vec.scss","../../src/github-gist.scss"],
+"names": [],
+"file": "vec.css"
+}
diff --git a/static/js/highlight.min.js b/static/js/highlight.min.js
new file mode 100644
index 0000000..d370ad1
--- /dev/null
+++ b/static/js/highlight.min.js
@@ -0,0 +1,2 @@
+!function(e){"undefined"!=typeof exports?e(exports):(window.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return window.hljs}))}(function(e){function t(e){return e.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;")}function r(e){return e.nodeName.toLowerCase()}function n(e,t){var r=e&&e.exec(t);return r&&0==r.index}function a(e){var t=(e.className+" "+(e.parentNode?e.parentNode.className:"")).split(/\s+/);return t=t.map(function(e){return e.replace(/^lang(uage)?-/,"")}),t.filter(function(e){return v(e)||/no(-?)highlight|plain|text/.test(e)})[0]}function i(e,t){var r,n={};for(r in e)n[r]=e[r];if(t)for(r in t)n[r]=t[r];return n}function s(e){var t=[];return function n(e,a){for(var i=e.firstChild;i;i=i.nextSibling)3==i.nodeType?a+=i.nodeValue.length:1==i.nodeType&&(t.push({event:"start",offset:a,node:i}),a=n(i,a),r(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:a,node:i}));return a}(e,0),t}function c(e,n,a){function i(){return e.length&&n.length?e[0].offset!=n[0].offset?e[0].offset<n[0].offset?e:n:"start"==n[0].event?e:n:e.length?e:n}function s(e){function n(e){return" "+e.nodeName+'="'+t(e.value)+'"'}u+="<"+r(e)+Array.prototype.map.call(e.attributes,n).join("")+">"}function c(e){u+="</"+r(e)+">"}function o(e){("start"==e.event?s:c)(e.node)}for(var l=0,u="",d=[];e.length||n.length;){var b=i();if(u+=t(a.substr(l,b[0].offset-l)),l=b[0].offset,b==e){d.reverse().forEach(c);do o(b.splice(0,1)[0]),b=i();while(b==e&&b.length&&b[0].offset==l);d.reverse().forEach(s)}else"start"==b[0].event?d.push(b[0].node):d.pop(),o(b.splice(0,1)[0])}return u+t(a.substr(l))}function o(e){function t(e){return e&&e.source||e}function r(r,n){return new RegExp(t(r),"m"+(e.cI?"i":"")+(n?"g":""))}function n(a,s){if(!a.compiled){if(a.compiled=!0,a.k=a.k||a.bK,a.k){var c={},o=function(t,r){e.cI&&(r=r.toLowerCase()),r.split(" ").forEach(function(e){var r=e.split("|");c[r[0]]=[t,r[1]?Number(r[1]):1]})};"string"==typeof a.k?o("keyword",a.k):Object.keys(a.k).forEach(function(e){o(e,a.k[e])}),a.k=c}a.lR=r(a.l||/\b\w+\b/,!0),s&&(a.bK&&(a.b="\\b("+a.bK.split(" ").join("|")+")\\b"),a.b||(a.b=/\B|\b/),a.bR=r(a.b),a.e||a.eW||(a.e=/\B|\b/),a.e&&(a.eR=r(a.e)),a.tE=t(a.e)||"",a.eW&&s.tE&&(a.tE+=(a.e?"|":"")+s.tE)),a.i&&(a.iR=r(a.i)),void 0===a.r&&(a.r=1),a.c||(a.c=[]);var l=[];a.c.forEach(function(e){e.v?e.v.forEach(function(t){l.push(i(e,t))}):l.push("self"==e?a:e)}),a.c=l,a.c.forEach(function(e){n(e,a)}),a.starts&&n(a.starts,s);var u=a.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([a.tE,a.i]).map(t).filter(Boolean);a.t=u.length?r(u.join("|"),!0):{exec:function(){return null}}}}n(e)}function l(e,r,a,i){function s(e,t){for(var r=0;r<t.c.length;r++)if(n(t.c[r].bR,e))return t.c[r]}function c(e,t){if(n(e.eR,t)){for(;e.endsParent&&e.parent;)e=e.parent;return e}return e.eW?c(e.parent,t):void 0}function d(e,t){return!a&&n(t.iR,e)}function b(e,t){var r=y.cI?t[0].toLowerCase():t[0];return e.k.hasOwnProperty(r)&&e.k[r]}function p(e,t,r,n){var a=n?"":N.classPrefix,i='<span class="'+a,s=r?"":"</span>";return i+=e+'">',i+t+s}function f(){if(!x.k)return t(E);var e="",r=0;x.lR.lastIndex=0;for(var n=x.lR.exec(E);n;){e+=t(E.substr(r,n.index-r));var a=b(x,n);a?(B+=a[1],e+=p(a[0],t(n[0]))):e+=t(n[0]),r=x.lR.lastIndex,n=x.lR.exec(E)}return e+t(E.substr(r))}function m(){if(x.sL&&!w[x.sL])return t(E);var e=x.sL?l(x.sL,E,!0,C[x.sL]):u(E);return x.r>0&&(B+=e.r),"continuous"==x.subLanguageMode&&(C[x.sL]=e.top),p(e.language,e.value,!1,!0)}function g(){return void 0!==x.sL?m():f()}function _(e,r){var n=e.cN?p(e.cN,"",!0):"";e.rB?(M+=n,E=""):e.eB?(M+=t(r)+n,E=""):(M+=n,E=r),x=Object.create(e,{parent:{value:x}})}function h(e,r){if(E+=e,void 0===r)return M+=g(),0;var n=s(r,x);if(n)return M+=g(),_(n,r),n.rB?0:r.length;var a=c(x,r);if(a){var i=x;i.rE||i.eE||(E+=r),M+=g();do x.cN&&(M+="</span>"),B+=x.r,x=x.parent;while(x!=a.parent);return i.eE&&(M+=t(r)),E="",a.starts&&_(a.starts,""),i.rE?0:r.length}if(d(r,x))throw new Error('Illegal lexeme "'+r+'" for mode "'+(x.cN||"<unnamed>")+'"');return E+=r,r.length||1}var y=v(e);if(!y)throw new Error('Unknown language: "'+e+'"');o(y);var k,x=i||y,C={},M="";for(k=x;k!=y;k=k.parent)k.cN&&(M=p(k.cN,"",!0)+M);var E="",B=0;try{for(var L,$,z=0;;){if(x.t.lastIndex=z,L=x.t.exec(r),!L)break;$=h(r.substr(z,L.index-z),L[0]),z=L.index+$}for(h(r.substr(z)),k=x;k.parent;k=k.parent)k.cN&&(M+="</span>");return{r:B,value:M,language:e,top:x}}catch(R){if(-1!=R.message.indexOf("Illegal"))return{r:0,value:t(r)};throw R}}function u(e,r){r=r||N.languages||Object.keys(w);var n={r:0,value:t(e)},a=n;return r.forEach(function(t){if(v(t)){var r=l(t,e,!1);r.language=t,r.r>a.r&&(a=r),r.r>n.r&&(a=n,n=r)}}),a.language&&(n.second_best=a),n}function d(e){return N.tabReplace&&(e=e.replace(/^((<[^>]+>|\t)+)/gm,function(e,t){return t.replace(/\t/g,N.tabReplace)})),N.useBR&&(e=e.replace(/\n/g,"<br>")),e}function b(e,t,r){var n=t?y[t]:r,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(n)&&a.push(n),a.join(" ").trim()}function p(e){var t=a(e);if(!/no(-?)highlight|plain|text/.test(t)){var r;N.useBR?(r=document.createElementNS("http://www.w3.org/1999/xhtml","div"),r.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")):r=e;var n=r.textContent,i=t?l(t,n,!0):u(n),o=s(r);if(o.length){var p=document.createElementNS("http://www.w3.org/1999/xhtml","div");p.innerHTML=i.value,i.value=c(o,s(p),n)}i.value=d(i.value),e.innerHTML=i.value,e.className=b(e.className,t,i.language),e.result={language:i.language,re:i.r},i.second_best&&(e.second_best={language:i.second_best.language,re:i.second_best.r})}}function f(e){N=i(N,e)}function m(){if(!m.called){m.called=!0;var e=document.querySelectorAll("pre code");Array.prototype.forEach.call(e,p)}}function g(){addEventListener("DOMContentLoaded",m,!1),addEventListener("load",m,!1)}function _(t,r){var n=w[t]=r(e);n.aliases&&n.aliases.forEach(function(e){y[e]=t})}function h(){return Object.keys(w)}function v(e){return w[e]||w[y[e]]}var N={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},w={},y={};return e.highlight=l,e.highlightAuto=u,e.fixMarkup=d,e.highlightBlock=p,e.configure=f,e.initHighlighting=m,e.initHighlightingOnLoad=g,e.registerLanguage=_,e.listLanguages=h,e.getLanguage=v,e.inherit=i,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="\\b(0[xX][a-fA-F0-9]+|(\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such)\b/},e.C=function(t,r,n){var a=e.inherit({cN:"comment",b:t,e:r,c:[]},n||{});return a.c.push(e.PWM),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e}),hljs.registerLanguage("apache",function(e){var t={cN:"number",b:"[\\$%]\\d+"};return{aliases:["apacheconf"],cI:!0,c:[e.HCM,{cN:"tag",b:"</?",e:">"},{cN:"keyword",b:/\w+/,r:0,k:{common:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,r:0,k:{literal:"on off all"},c:[{cN:"sqbracket",b:"\\s\\[",e:"\\]$"},{cN:"cbracket",b:"[\\$%]\\{",e:"\\}",c:["self",t]},t,e.QSM]}}],i:/\S/}}),hljs.registerLanguage("bash",function(e){var t={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)}/}]},r={cN:"string",b:/"/,e:/"/,c:[e.BE,t,{cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]}]},n={cN:"string",b:/'/,e:/'/};return{aliases:["sh","zsh"],l:/-?[a-z\.]+/,k:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",operator:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"shebang",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:!0,c:[e.inherit(e.TM,{b:/\w[\w\d_]*/})],r:0},e.HCM,e.NM,r,n,t]}}),hljs.registerLanguage("coffeescript",function(e){var t={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",reserved:"case default function var void with const let enum export import native __hasProp __extends __slice __bind __indexOf",built_in:"npm require console print module global window document"},r="[A-Za-z$_][0-9A-Za-z$_]*",n={cN:"subst",b:/#\{/,e:/}/,k:t},a=[e.BNM,e.inherit(e.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'''/,e:/'''/,c:[e.BE]},{b:/'/,e:/'/,c:[e.BE]},{b:/"""/,e:/"""/,c:[e.BE,n]},{b:/"/,e:/"/,c:[e.BE,n]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[n,e.HCM]},{b:"//[gim]*",r:0},{b:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{cN:"property",b:"@"+r},{b:"`",e:"`",eB:!0,eE:!0,sL:"javascript"}];n.c=a;var i=e.inherit(e.TM,{b:r}),s="(\\(.*\\))?\\s*\\B[-=]>",c={cN:"params",b:"\\([^\\(]",rB:!0,c:[{b:/\(/,e:/\)/,k:t,c:["self"].concat(a)}]};return{aliases:["coffee","cson","iced"],k:t,i:/\/\*/,c:a.concat([e.C("###","###"),e.HCM,{cN:"function",b:"^\\s*"+r+"\\s*=\\s*"+s,e:"[-=]>",rB:!0,c:[i,c]},{b:/[:\(,=]\s*/,r:0,c:[{cN:"function",b:s,e:"[-=]>",rB:!0,c:[c]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:!0,i:/[:="\[\]]/,c:[i]},i]},{cN:"attribute",b:r+":",e:":",rB:!0,rE:!0,r:0}])}}),hljs.registerLanguage("cpp",function(e){var t={keyword:"false int float while private char catch export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const struct for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using true class asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue wchar_t inline delete alignof char16_t char32_t constexpr decltype noexcept nullptr static_assert thread_local restrict _Bool complex _Complex _Imaginary intmax_t uintmax_t int8_t uint8_t int16_t uint16_t int32_t uint32_t int64_t uint64_t int_least8_t uint_least8_t int_least16_t uint_least16_t int_least32_t uint_least32_t int_least64_t uint_least64_t int_fast8_t uint_fast8_t int_fast16_t uint_fast16_t int_fast32_t uint_fast32_t int_fast64_t uint_fast64_t intptr_t uintptr_t atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong atomic_wchar_t atomic_char16_t atomic_char32_t atomic_intmax_t atomic_uintmax_t atomic_intptr_t atomic_uintptr_t atomic_size_t atomic_ptrdiff_t atomic_int_least8_t atomic_int_least16_t atomic_int_least32_t atomic_int_least64_t atomic_uint_least8_t atomic_uint_least16_t atomic_uint_least32_t atomic_uint_least64_t atomic_int_fast8_t atomic_int_fast16_t atomic_int_fast32_t atomic_int_fast64_t atomic_uint_fast8_t atomic_uint_fast16_t atomic_uint_fast32_t atomic_uint_fast64_t",built_in:"std string cin cout cerr clog stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf"};return{aliases:["c","cc","h","c++","h++","hpp"],k:t,i:"</",c:[e.CLCM,e.CBCM,e.QSM,{cN:"string",b:"'\\\\?.",e:"'",i:"."},{cN:"number",b:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},e.CNM,{cN:"preprocessor",b:"#",e:"$",k:"if else elif endif define undef warning error line pragma",c:[{b:/\\\n/,r:0},{b:'include\\s*[<"]',e:'[>"]',k:"include",i:"\\n"},e.CLCM]},{b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",e:">",k:t,c:["self"]},{b:e.IR+"::",k:t},{bK:"new throw return else",r:0},{cN:"function",b:"("+e.IR+"\\s+)+"+e.IR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:t,c:[{b:e.IR+"\\s*\\(",rB:!0,c:[e.TM],r:0},{cN:"params",b:/\(/,e:/\)/,k:t,r:0,c:[e.CBCM]},e.CLCM,e.CBCM]}]}}),hljs.registerLanguage("cs",function(e){var t="abstract as base bool break byte case catch char checked const continue decimal dynamic default delegate do double else enum event explicit extern false finally fixed float for foreach goto if implicit in int interface internal is lock long null when object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this true try typeof uint ulong unchecked unsafe ushort using virtual volatile void while async protected public private internal ascending descending from get group into join let orderby partial select set value var where yield",r=e.IR+"(<"+e.IR+">)?";return{aliases:["csharp"],k:t,i:/::/,c:[e.C("///","$",{rB:!0,c:[{cN:"xmlDocTag",v:[{b:"///",r:0},{b:"<!--|-->"},{b:"</?",e:">"}]}]}),e.CLCM,e.CBCM,{cN:"preprocessor",b:"#",e:"$",k:"if else elif endif define undef warning error line region endregion pragma checksum"},{cN:"string",b:'@"',e:'"',c:[{b:'""'}]},e.ASM,e.QSM,e.CNM,{bK:"class namespace interface",e:/[{;=]/,i:/[^\s:]/,c:[e.TM,e.CLCM,e.CBCM]},{bK:"new return throw await",r:0},{cN:"function",b:"("+r+"\\s+)+"+e.IR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:t,c:[{b:e.IR+"\\s*\\(",rB:!0,c:[e.TM],r:0},{cN:"params",b:/\(/,e:/\)/,k:t,r:0,c:[e.ASM,e.QSM,e.CNM,e.CBCM]},e.CLCM,e.CBCM]}]}}),hljs.registerLanguage("css",function(e){var t="[a-zA-Z-][a-zA-Z0-9_-]*",r={cN:"function",b:t+"\\(",rB:!0,eE:!0,e:"\\("},n={cN:"rule",b:/[A-Z\_\.\-]+\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{cN:"value",eW:!0,eE:!0,c:[r,e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"hexcolor",b:"#[0-9A-Fa-f]+"},{cN:"important",b:"!important"}]}}]};return{cI:!0,i:/[=\/|']/,c:[e.CBCM,n,{cN:"id",b:/\#[A-Za-z0-9_-]+/},{cN:"class",b:/\.[A-Za-z0-9_-]+/,r:0},{cN:"attr_selector",b:/\[/,e:/\]/,i:"$"},{cN:"pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"']+/},{cN:"at_rule",b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{cN:"at_rule",b:"@",e:"[{;]",c:[{cN:"keyword",b:/\S+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[r,e.ASM,e.QSM,e.CSSNM]}]},{cN:"tag",b:t,r:0},{cN:"rules",b:"{",e:"}",i:/\S/,r:0,c:[e.CBCM,n]}]}}),hljs.registerLanguage("diff",function(e){return{aliases:["patch"],c:[{cN:"chunk",r:10,v:[{b:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{b:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{b:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{cN:"header",v:[{b:/Index: /,e:/$/},{b:/=====/,e:/=====$/},{b:/^\-\-\-/,e:/$/},{b:/^\*{3} /,e:/$/},{b:/^\+\+\+/,e:/$/},{b:/\*{5}/,e:/\*{5}$/}]},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"change",b:"^\\!",e:"$"}]}}),hljs.registerLanguage("http",function(e){return{aliases:["https"],i:"\\S",c:[{cN:"status",b:"^HTTP/[0-9\\.]+",e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{cN:"request",b:"^[A-Z]+ (.*?) HTTP/[0-9\\.]+$",rB:!0,e:"$",c:[{cN:"string",b:" ",e:" ",eB:!0,eE:!0}]},{cN:"attribute",b:"^\\w",e:": ",eE:!0,i:"\\n|\\s|=",starts:{cN:"string",e:"$"}},{b:"\\n\\n",starts:{sL:"",eW:!0}}]}}),hljs.registerLanguage("ini",function(e){return{cI:!0,i:/\S/,c:[e.C(";","$"),{cN:"title",b:"^\\[",e:"\\]"},{cN:"setting",b:"^[a-z0-9\\[\\]_-]+[ \\t]*=[ \\t]*",e:"$",c:[{cN:"value",eW:!0,k:"on off true false yes no",c:[e.QSM,e.NM],r:0}]}]}}),hljs.registerLanguage("java",function(e){var t=e.UIR+"(<"+e.UIR+">)?",r="false synchronized int abstract float private char boolean static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",n="(\\b(0b[01_]+)|\\b0[xX][a-fA-F0-9_]+|(\\b[\\d_]+(\\.[\\d_]*)?|\\.[\\d_]+)([eE][-+]?\\d+)?)[lLfF]?",a={cN:"number",b:n,r:0};return{aliases:["jsp"],k:r,i:/<\//,c:[{cN:"javadoc",b:"/\\*\\*",e:"\\*/",r:0,c:[{cN:"javadoctag",b:"(^|\\s)@[A-Za-z]+"}]},e.CLCM,e.CBCM,e.ASM,e.QSM,{cN:"class",bK:"class interface",e:/[{;=]/,eE:!0,k:"class interface",i:/[:"\[\]]/,c:[{bK:"extends implements"},e.UTM]},{bK:"new throw return",r:0},{cN:"function",b:"("+t+"\\s+)+"+e.UIR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:r,c:[{b:e.UIR+"\\s*\\(",rB:!0,r:0,c:[e.UTM]},{cN:"params",b:/\(/,e:/\)/,k:r,r:0,c:[e.ASM,e.QSM,e.CNM,e.CBCM]},e.CLCM,e.CBCM]},a,{cN:"annotation",b:"@[A-Za-z]+"}]}}),hljs.registerLanguage("javascript",function(e){return{aliases:["js"],k:{keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as await",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},c:[{cN:"pi",r:10,v:[{b:/^\s*('|")use strict('|")/},{b:/^\s*('|")use asm('|")/}]},e.ASM,e.QSM,{cN:"string",b:"`",e:"`",c:[e.BE,{cN:"subst",b:"\\$\\{",e:"\\}"}]},e.CLCM,e.CBCM,{cN:"number",b:"\\b(0[xXbBoO][a-fA-F0-9]+|(\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",r:0},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{b:/</,e:/>\s*[);\]]/,r:0,sL:"xml"}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{cN:"params",b:/\(/,e:/\)/,c:[e.CLCM,e.CBCM],i:/["'\(]/}],i:/\[|%/},{b:/\$[(.]/},{b:"\\."+e.IR,r:0},{bK:"import",e:"[;$]",k:"import from as",c:[e.ASM,e.QSM]},{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]}]}}),hljs.registerLanguage("json",function(e){var t={literal:"true false null"},r=[e.QSM,e.CNM],n={cN:"value",e:",",eW:!0,eE:!0,c:r,k:t},a={b:"{",e:"}",c:[{cN:"attribute",b:'\\s*"',e:'"\\s*:\\s*',eB:!0,eE:!0,c:[e.BE],i:"\\n",starts:n}],i:"\\S"},i={b:"\\[",e:"\\]",c:[e.inherit(n,{cN:null})],i:"\\S"};return r.splice(r.length,0,a,i),{c:r,k:t,i:"\\S"}}),hljs.registerLanguage("makefile",function(e){var t={cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]};return{aliases:["mk","mak"],c:[e.HCM,{b:/^\w+\s*\W*=/,rB:!0,r:0,starts:{cN:"constant",e:/\s*\W*=/,eE:!0,starts:{e:/$/,r:0,c:[t]}}},{cN:"title",b:/^[\w]+:\s*$/},{cN:"phony",b:/^\.PHONY:/,e:/$/,k:".PHONY",l:/[\.\w]+/},{b:/^\t+/,e:/$/,r:0,c:[e.QSM,t]}]}}),hljs.registerLanguage("xml",function(e){var t="[A-Za-z0-9\\._:-]+",r={b:/<\?(php)?(?!\w)/,e:/\?>/,sL:"php",subLanguageMode:"continuous"},n={eW:!0,i:/</,r:0,c:[r,{cN:"attribute",b:t,r:0},{b:"=",r:0,c:[{cN:"value",c:[r],v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s\/>]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xsl","plist"],cI:!0,c:[{cN:"doctype",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},e.C("<!--","-->",{r:10}),{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{title:"style"},c:[n],starts:{e:"</style>",rE:!0,sL:"css"}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{title:"script"},c:[n],starts:{e:"</script>",rE:!0,sL:""}},r,{cN:"pi",b:/<\?\w+/,e:/\?>/,r:10},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"title",b:/[^ \/><\n\t]+/,r:0},n]}]}}),hljs.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],c:[{cN:"header",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"blockquote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"`.+?`"},{b:"^( {4}| )",e:"$",r:0}]},{cN:"horizontal_rule",b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].*?[\\)\\]]",rB:!0,c:[{cN:"link_label",b:"\\[",e:"\\]",eB:!0,rE:!0,r:0},{cN:"link_url",b:"\\]\\(",e:"\\)",eB:!0,eE:!0},{cN:"link_reference",b:"\\]\\[",e:"\\]",eB:!0,eE:!0}],r:10},{b:"^\\[.+\\]:",rB:!0,c:[{cN:"link_reference",b:"\\[",e:"\\]:",eB:!0,eE:!0,starts:{cN:"link_url",e:"$"}}]}]}}),hljs.registerLanguage("nginx",function(e){var t={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+e.UIR}]},r={eW:!0,l:"[a-z/_]+",k:{built_in:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},r:0,i:"=>",c:[e.HCM,{cN:"string",c:[e.BE,t],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{cN:"url",b:"([a-z]+):/",e:"\\s",eW:!0,eE:!0,c:[t]},{cN:"regexp",c:[e.BE,t],v:[{b:"\\s\\^",e:"\\s|{|;",rE:!0},{b:"~\\*?\\s+",e:"\\s|{|;",rE:!0},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",r:0},t]};return{aliases:["nginxconf"],c:[e.HCM,{b:e.UIR+"\\s",e:";|{",rB:!0,c:[{cN:"title",b:e.UIR,starts:r}],r:0}],i:"[^\\s\\}]"}}),hljs.registerLanguage("objectivec",function(e){var t={cN:"built_in",b:"(AV|CA|CF|CG|CI|MK|MP|NS|UI)\\w+"},r={keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,a="@interface @class @protocol @implementation";return{aliases:["m","mm","objc","obj-c"],k:r,l:n,i:"</",c:[t,e.CLCM,e.CBCM,e.CNM,e.QSM,{cN:"string",v:[{b:'@"',e:'"',i:"\\n",c:[e.BE]},{b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"}]},{cN:"preprocessor",b:"#",e:"$",c:[{cN:"title",v:[{b:'"',e:'"'},{b:"<",e:">"}]}]},{cN:"class",b:"("+a.split(" ").join("|")+")\\b",e:"({|$)",eE:!0,k:a,l:n,c:[e.UTM]},{cN:"variable",b:"\\."+e.UIR,r:0}]}}),hljs.registerLanguage("perl",function(e){var t="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",r={cN:"subst",b:"[$@]\\{",e:"\\}",k:t},n={b:"->{",e:"}"},a={cN:"variable",v:[{b:/\$\d/},{b:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{b:/[\$%@][^\s\w{]/,r:0}]},i=e.C("^(__END__|__DATA__)","\\n$",{r:5}),s=[e.BE,r,a],c=[a,e.HCM,i,e.C("^\\=\\w","\\=cut",{eW:!0}),n,{cN:"string",c:s,v:[{b:"q[qwxr]?\\s*\\(",e:"\\)",r:5},{b:"q[qwxr]?\\s*\\[",e:"\\]",r:5},{b:"q[qwxr]?\\s*\\{",e:"\\}",r:5},{b:"q[qwxr]?\\s*\\|",e:"\\|",r:5},{b:"q[qwxr]?\\s*\\<",e:"\\>",r:5},{b:"qw\\s+q",e:"q",r:5},{b:"'",e:"'",c:[e.BE]},{b:'"',e:'"'},{b:"`",e:"`",c:[e.BE]},{b:"{\\w+}",c:[],r:0},{b:"-?\\w+\\s*\\=\\>",c:[],r:0}]},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\/\\/|"+e.RSR+"|\\b(split|return|print|reverse|grep)\\b)\\s*",k:"split return print reverse grep",r:0,c:[e.HCM,i,{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[e.BE],r:0}]},{cN:"sub",bK:"sub",e:"(\\s*\\(.*?\\))?[;{]",r:5},{cN:"operator",b:"-\\w\\b",r:0}];return r.c=c,n.c=c,{aliases:["pl"],k:t,c:c}}),hljs.registerLanguage("php",function(e){var t={cN:"variable",b:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},r={cN:"preprocessor",b:/<\?(php)?|\?>/},n={cN:"string",c:[e.BE,r],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},a={v:[e.BNM,e.CNM]};return{aliases:["php3","php4","php5","php6"],cI:!0,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",c:[e.CLCM,e.HCM,e.C("/\\*","\\*/",{c:[{cN:"phpdoc",b:"\\s@[A-Za-z]+"},r]}),e.C("__halt_compiler.+?;",!1,{eW:!0,k:"__halt_compiler",l:e.UIR}),{cN:"string",b:"<<<['\"]?\\w+['\"]?$",e:"^\\w+;",c:[e.BE]},r,t,{b:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{cN:"function",bK:"function",e:/[;{]/,eE:!0,i:"\\$|\\[|%",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",t,e.CBCM,n,a]}]},{cN:"class",bK:"class interface",e:"{",eE:!0,i:/[:\(\$"]/,c:[{bK:"extends implements"},e.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[e.UTM]},{bK:"use",e:";",c:[e.UTM]},{b:"=>"},n,a]}}),hljs.registerLanguage("python",function(e){var t={cN:"prompt",b:/^(>>>|\.\.\.) /},r={cN:"string",c:[e.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,c:[t],r:10},{b:/(u|b)?r?"""/,e:/"""/,c:[t],r:10},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)"/,e:/"/,r:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)"/,e:/"/},e.ASM,e.QSM]},n={cN:"number",r:0,v:[{b:e.BNR+"[lLjJ]?"},{b:"\\b(0o[0-7]+)[lLjJ]?"},{b:e.CNR+"[lLjJ]?"}]},a={cN:"params",b:/\(/,e:/\)/,c:["self",t,n,r]};return{aliases:["py","gyp"],k:{keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"},i:/(<\/|->|\?)/,c:[t,n,r,e.HCM,{v:[{cN:"function",bK:"def",r:10},{cN:"class",bK:"class"}],e:/:/,i:/[${=;\n,]/,c:[e.UTM,a]},{cN:"decorator",b:/@/,e:/$/},{b:/\b(print|exec)\(/}]}}),hljs.registerLanguage("ruby",function(e){var t="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",r="and false then defined module in return redo if BEGIN retry end for true self when next until do begin unless END rescue nil else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",n={cN:"yardoctag",b:"@[A-Za-z]+"},a={cN:"value",b:"#<",e:">"},i=[e.C("#","$",{c:[n]}),e.C("^\\=begin","^\\=end",{c:[n],r:10}),e.C("^__END__","\\n$")],s={cN:"subst",b:"#\\{",e:"}",k:r},c={cN:"string",c:[e.BE,s],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/`/,e:/`/},{b:"%[qQwWx]?\\(",e:"\\)"},{b:"%[qQwWx]?\\[",e:"\\]"},{b:"%[qQwWx]?{",e:"}"},{b:"%[qQwWx]?<",e:">"},{b:"%[qQwWx]?/",e:"/"},{b:"%[qQwWx]?%",e:"%"},{b:"%[qQwWx]?-",e:"-"},{b:"%[qQwWx]?\\|",e:"\\|"},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/}]},o={cN:"params",b:"\\(",e:"\\)",k:r},l=[c,a,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{cN:"inheritance",b:"<\\s*",c:[{cN:"parent",b:"("+e.IR+"::)?"+e.IR}]}].concat(i)},{cN:"function",bK:"def",e:" |$|;",r:0,c:[e.inherit(e.TM,{b:t}),o].concat(i)},{cN:"constant",b:"(::)?(\\b[A-Z]\\w*(::)?)+",r:0},{cN:"symbol",b:e.UIR+"(\\!|\\?)?:",r:0},{cN:"symbol",b:":",c:[c,{b:t}],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{cN:"variable",b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{b:"("+e.RSR+")\\s*",c:[a,{cN:"regexp",c:[e.BE,s],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}].concat(i),r:0}].concat(i);s.c=l,o.c=l;var u="[>?]>",d="[\\w#]+\\(\\w+\\):\\d+:\\d+>",b="(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>",p=[{b:/^\s*=>/,cN:"status",starts:{e:"$",c:l}},{cN:"prompt",b:"^("+u+"|"+d+"|"+b+")",starts:{e:"$",c:l}}];return{aliases:["rb","gemspec","podspec","thor","irb"],k:r,c:i.concat(p).concat(l)}}),hljs.registerLanguage("sql",function(e){var t=e.C("--","$");return{cI:!0,i:/[<>]/,c:[{cN:"operator",bK:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate savepoint release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke",e:/;/,eW:!0,k:{keyword:"abs absolute acos action add adddate addtime aes_decrypt aes_encrypt after aggregate all allocate alter analyze and any are as asc ascii asin assertion at atan atan2 atn2 authorization authors avg backup before begin benchmark between bin binlog bit_and bit_count bit_length bit_or bit_xor both by cache call cascade cascaded case cast catalog ceil ceiling chain change changed char_length character_length charindex charset check checksum checksum_agg choose close coalesce coercibility collate collation collationproperty column columns columns_updated commit compress concat concat_ws concurrent connect connection connection_id consistent constraint constraints continue contributors conv convert convert_tz corresponding cos cot count count_big crc32 create cross cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime data database databases datalength date_add date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts datetimeoffsetfromparts day dayname dayofmonth dayofweek dayofyear deallocate declare decode default deferrable deferred degrees delayed delete des_decrypt des_encrypt des_key_file desc describe descriptor diagnostics difference disconnect distinct distinctrow div do domain double drop dumpfile each else elt enclosed encode encrypt end end-exec engine engines eomonth errors escape escaped event eventdata events except exception exec execute exists exp explain export_set extended external extract fast fetch field fields find_in_set first first_value floor flush for force foreign format found found_rows from from_base64 from_days from_unixtime full function get get_format get_lock getdate getutcdate global go goto grant grants greatest group group_concat grouping grouping_id gtid_subset gtid_subtract handler having help hex high_priority hosts hour ident_current ident_incr ident_seed identified identity if ifnull ignore iif ilike immediate in index indicator inet6_aton inet6_ntoa inet_aton inet_ntoa infile initially inner innodb input insert install instr intersect into is is_free_lock is_ipv4 is_ipv4_compat is_ipv4_mapped is_not is_not_null is_used_lock isdate isnull isolation join key kill language last last_day last_insert_id last_value lcase lead leading least leaves left len lenght level like limit lines ln load load_file local localtime localtimestamp locate lock log log10 log2 logfile logs low_priority lower lpad ltrim make_set makedate maketime master master_pos_wait match matched max md5 medium merge microsecond mid min minute mod mode module month monthname mutex name_const names national natural nchar next no no_write_to_binlog not now nullif nvarchar oct octet_length of old_password on only open optimize option optionally or ord order outer outfile output pad parse partial partition password patindex percent_rank percentile_cont percentile_disc period_add period_diff pi plugin position pow power pragma precision prepare preserve primary prior privileges procedure procedure_analyze processlist profile profiles public publishingservername purge quarter query quick quote quotename radians rand read references regexp relative relaylog release release_lock rename repair repeat replace replicate reset restore restrict return returns reverse revoke right rlike rollback rollup round row row_count rows rpad rtrim savepoint schema scroll sec_to_time second section select serializable server session session_user set sha sha1 sha2 share show sign sin size slave sleep smalldatetimefromparts snapshot some soname soundex sounds_like space sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sql_variant_property sqlstate sqrt square start starting status std stddev stddev_pop stddev_samp stdev stdevp stop str str_to_date straight_join strcmp string stuff subdate substr substring subtime subtring_index sum switchoffset sysdate sysdatetime sysdatetimeoffset system_user sysutcdatetime table tables tablespace tan temporary terminated tertiary_weights then time time_format time_to_sec timediff timefromparts timestamp timestampadd timestampdiff timezone_hour timezone_minute to to_base64 to_days to_seconds todatetimeoffset trailing transaction translation trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse ucase uncompress uncompressed_length unhex unicode uninstall union unique unix_timestamp unknown unlock update upgrade upped upper usage use user user_resources using utc_date utc_time utc_timestamp uuid uuid_short validate_password_strength value values var var_pop var_samp variables variance varp version view warnings week weekday weekofyear weight_string when whenever where with work write xml xor year yearweek zon",
+literal:"true false null",built_in:"array bigint binary bit blob boolean char character date dec decimal float int integer interval number numeric real serial smallint varchar varying int8 serial8 text"},c:[{cN:"string",b:"'",e:"'",c:[e.BE,{b:"''"}]},{cN:"string",b:'"',e:'"',c:[e.BE,{b:'""'}]},{cN:"string",b:"`",e:"`",c:[e.BE]},e.CNM,e.CBCM,t]},e.CBCM,t]}}); \ No newline at end of file
diff --git a/theme.toml b/theme.toml
new file mode 100644
index 0000000..4ee234d
--- /dev/null
+++ b/theme.toml
@@ -0,0 +1,12 @@
+name = "Vec"
+license = "MIT"
+licenselink = "https://github.com/IvanChou/yii.im/tree/hugo"
+description = "Vec -- a minimal theme for Hugo."
+homepage = "https://github.com/IvanChou/yii.im/tree/hugo"
+tags = ["minimal", "clean", "neat", "black white", "blog"]
+features = ["blog"]
+min_version = 0.10
+
+[author]
+ name = "Ivan Chou"
+ homepage = "https://yii.im"