diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-08-08 11:03:09 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-08-08 11:09:42 -0700 |
commit | 94f82685672bcd4e5731de3c1c61e79f7edc07b2 (patch) | |
tree | aa462f0c4b762fdf34ba112ca071e83a28389541 | |
parent | c4dbe23a55641dcea35a2de6535cf1279784ae1e (diff) | |
download | my_new_personal_website-94f82685672bcd4e5731de3c1c61e79f7edc07b2.tar.xz my_new_personal_website-94f82685672bcd4e5731de3c1c61e79f7edc07b2.zip |
template.html: indent and remove unnecessary components
Make page source a little bit more readable.
-rw-r--r-- | templates/template.html | 127 |
1 files changed, 55 insertions, 72 deletions
diff --git a/templates/template.html b/templates/template.html index 0805c3b8..003d73b5 100644 --- a/templates/template.html +++ b/templates/template.html @@ -1,86 +1,69 @@ <!DOCTYPE html> <html> -<head> -<meta charset="UTF-8"/> -<meta name="generator" content="pandoc"/> -<meta name="author" content="Zhiming Wang"/> + <head> + <meta charset="UTF-8"/> + <meta name="generator" content="pandoc"/> + <meta name="author" content="Zhiming Wang"/> $if(date)$ -<meta name="date" content="$date$"/> + <meta name="date" content="$date$"/> $endif$ -<title>$pagetitle$</title> -<link rel="apple-touch-icon-precomposed" href="/img/apple-touch-icon-152.png"/> -<meta name="msapplication-TileColor" content="#FFFFFF"/> -<meta name="msapplication-TileImage" content="/img/favicon-144.png"/> -<meta name="viewport" content="width=device-width, initial-scale=1"> -<style type="text/css">code{white-space: pre;}</style> -$if(quotes)$ -<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style> -$endif$ -$if(highlighting-css)$ -<style type="text/css"> -$highlighting-css$ -</style> -$endif$ -$for(css)$ -<link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/> -$endfor$ -$if(math)$ -$math$ -$endif$ -$for(header-includes)$ -$header-includes$ -$endfor$ -<link href='/css/normalize.css' media="all" rel="stylesheet" type="text/css"/> -<link href='/css/theme.css' media="all" rel="stylesheet" type="text/css"/> -<link href='/css/theme-wide.css' media="only screen and (min-width: 1441px)" rel="stylesheet" type="text/css"/> -<link href='/css/theme-narrow.css' media="only screen and (max-width: 1023px)" rel="stylesheet" type="text/css"/> -<link href='/css/print.css' media="print" rel="stylesheet" type="text/css"/> -<link href="//fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"/> -<link href="//fonts.googleapis.com/css?family=Droid+Sans+Mono" rel="stylesheet" type="text/css"/> -<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', 'UA-53908325-1', 'auto'); -ga('require', 'displayfeatures'); -ga('send', 'pageview'); -</script> -</head> -<body> -<nav class="nav"> -<a class="nav-icon" href="/">blog icon</a> -<div class="nav-title"><a href="/" class="nav-link">dl? cmplnts?</a></div> -<div class="nav-author">by <a href="https://github.com/zmwangx" class="nav-link" target="_blank">Zhiming Wang</a></div> -</nav> -<article class="content"> + <title>$pagetitle$</title> + <link rel="apple-touch-icon-precomposed" href="/img/apple-touch-icon-152.png"/> + <meta name="msapplication-TileColor" content="#FFFFFF"/> + <meta name="msapplication-TileImage" content="/img/favicon-144.png"/> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <style type="text/css">code{white-space: pre;}</style> + <link href='/css/normalize.css' media="all" rel="stylesheet" type="text/css"/> + <link href='/css/theme.css' media="all" rel="stylesheet" type="text/css"/> + <link href='/css/theme-wide.css' media="only screen and (min-width: 1441px)" rel="stylesheet" type="text/css"/> + <link href='/css/theme-narrow.css' media="only screen and (max-width: 1023px)" rel="stylesheet" type="text/css"/> + <link href='/css/print.css' media="print" rel="stylesheet" type="text/css"/> + <link href="//fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"/> + <link href="//fonts.googleapis.com/css?family=Droid+Sans+Mono" rel="stylesheet" type="text/css"/> + <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', 'UA-53908325-1', 'auto'); + ga('require', 'displayfeatures'); + ga('send', 'pageview'); + </script> + </head> + <body> + <nav class="nav"> + <a class="nav-icon" href="/">blog icon</a> + <div class="nav-title"><a href="/" class="nav-link">dl? cmplnts?</a></div> + <div class="nav-author">by <a href="https://github.com/zmwangx" class="nav-link" target="_blank">Zhiming Wang</a></div> + </nav> + <article class="content"> $if(title)$ -<header class="article-header"> -<h1 class="article-title">$title$</h1> + <header class="article-header"> + <h1 class="article-title">$title$</h1> $if(subtitle)$ -<h1 class="article-subtitle">$subtitle$</h1> + <h1 class="article-subtitle">$subtitle$</h1> $endif$ -<h2 class="article-metadata"> + <h2 class="article-metadata"> $if(date-display)$ -<time class="article-timestamp" $if(date)$datetime="$date$"$endif$>$date-display$,</time> + <time class="article-timestamp" $if(date)$datetime="$date$"$endif$>$date-display$,</time> $endif$ -by <span class="article-author">Zhiming Wang</span> -</h2> -</header> + by <span class="article-author">Zhiming Wang</span> + </h2> + </header> $endif$ $body$ -</article> -<hr class="content-separator"/> -<footer class="footer"> + </article> + <hr class="content-separator"/> + <footer class="footer"> $if(updated)$ -<span class="lfooter"> -<time class="updated" datetime="$updated$"><code>$updated$</code></time> -</span> + <span class="lfooter"> + <time class="updated" datetime="$updated$"><code>$updated$</code></time> + </span> $endif$ -<span class="rfooter"> -<a class="rss-icon" href="/rss.xml" target="_blank" title="RSS feed">RSS feed icon</a><a class="atom-icon" href="/atom.xml" target="_blank" title="Atom feed">Atom feed icon</a><a class="cc-icon" href="https://creativecommons.org/licenses/by/4.0/" target="_blank" title="Released under the Creative Commons Attribution 4.0 International license.">Creative Commons icon</a> -<a href="https://github.com/zmwangx" target="_blank">Zhiming Wang</a> -</span> -</footer> -</body> + <span class="rfooter"> + <a class="rss-icon" href="/rss.xml" target="_blank" title="RSS feed">RSS feed icon</a><a class="atom-icon" href="/atom.xml" target="_blank" title="Atom feed">Atom feed icon</a><a class="cc-icon" href="https://creativecommons.org/licenses/by/4.0/" target="_blank" title="Released under the Creative Commons Attribution 4.0 International license.">Creative Commons icon</a> + <a href="https://github.com/zmwangx" target="_blank">Zhiming Wang</a> + </span> + </footer> + </body> </html> |