Peter Cai
f519152465
1. Use hljs and wasm_bindgen to parse code 2. Allow the final user to choose what language to include by generating inline_js in build.rs for #[wasm_bindgen] (a thin wrapper around the raw hljs to load whatever is needed by config.json statically rather than dynamically) 3. Integrate the monokai color scheme into our default theme
8 lines
487 B
Handlebars
8 lines
487 B
Handlebars
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{{ #if title }}{{ title }} - {{ blog.title }}{{ else }}{{ blog.title }}{{ /if }}</title>
|
|
<link rel="stylesheet" href="/static/monokai-sublime.css?ver={{ build_num }}" />
|
|
<link rel="stylesheet" href="/static/style.css?ver={{ build_num }}" />
|
|
<link rel="alternate" type="application/rss+xml" title="RSS Feed for {{ blog.title }}" href="/feed.xml" />
|
|
</head> |