feat: fontawesome, admonition and faster

This commit is contained in:
Dillon
2019-08-17 03:40:34 +08:00
parent 9e08c96b10
commit 2653f1bc7c
50 changed files with 853 additions and 1115 deletions

View File

@@ -7,6 +7,7 @@
{{ partial "head.html" . }}
{{ $style := resources.Get "css/style.scss" | resources.ToCSS | resources.Minify}}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.10.1/css/all.min.css" integrity="sha256-fdcFNFiBMrNfWL6OcAGQz6jDgNTRxnrLEd4vJYFWScE=" crossorigin="anonymous">
</head>
<body class="">
<div class="wrapper">

View File

@@ -2,7 +2,9 @@
{{ define "content" }}
<div class="post-warp">
<h2 class="post-title" style="text-align:right;padding-bottom:2em">{{ .Title }}</h2>
<header class="post-header">
<div class="align-right"><h1 class="post-title">{{ .Title }}</h1></div>
</header>
<div class="post-content">
{{ .Content }}
</div>