Updates README, fonts, adds GraphComment
This commit is contained in:
parent
f830530c5a
commit
d49f6bf471
6 changed files with 20 additions and 17 deletions
|
@ -9,9 +9,10 @@ You can see a real site in action [here](https://htr3n.github.io).
|
|||
![hyde-hyde main screen](https://github.com/htr3n/hyde-hyde/blob/master/images/posts.png)
|
||||
|
||||
## Notable Changes
|
||||
* Migrated to [Font-Awesome 5](https://fontawesome.com)
|
||||
* The color tone is inspired by [Nate Finch's blog](https://npf.io)
|
||||
* Main font [Fira-Sans](https://fonts.google.com/specimen/Fira+Sans)
|
||||
* Using [highlight.js](https://highlightjs.org) for highlighting code
|
||||
* Using [Font-Awesome 5](https://fontawesome.com) for icons
|
||||
* Color tones are inspired by [Nate Finch's blog](https://npf.io)
|
||||
* Main font [Fira-Sans](https://fonts.google.com/specimen/Fira+Sans) + fixed width font [Roboto Mono](https://fonts.google.com/specimen/Roboto+Mono)
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ languageCode = "en"
|
|||
theme = "hyde-hyde"
|
||||
|
||||
## Hugo Built-in Features
|
||||
# disqusShortname = ""
|
||||
# googleAnalytics = ""
|
||||
# disqusShortname = "your-disqus-shortname"
|
||||
# googleAnalytics = "your-google-analytics-id"
|
||||
# enableRobotsTXT = true
|
||||
|
||||
## Site Settings
|
||||
|
@ -18,6 +18,8 @@ theme = "hyde-hyde"
|
|||
dateformat = "Jan 2, 2006"
|
||||
highlightjs = true
|
||||
# highlightjsstyle = "github"
|
||||
# please choose either GraphComment or Disqus
|
||||
# GraphCommentId = "your-graph-comment-id"
|
||||
|
||||
## Social Accounts
|
||||
[params.social]
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/print.css" media="print">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/poole.css">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/hyde.css">
|
||||
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" /> -->
|
||||
{{ "<!-- Font-Awesome -->" | safeHTML }}
|
||||
<script defer src="https://use.fontawesome.com/releases/v5.0.9/js/all.js" integrity="sha384-8iPTk2s/jMVj81dnzb/iFR2sdA7u06vHJyyLlAd4snFpCl/SnyUjRrbdJsw1pGIl" crossorigin="anonymous"></script>
|
||||
{{ if .Site.Params.highlightjs -}}
|
||||
{{ "<!-- highlight.js-->" | safeHTML }}
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<br/>
|
||||
<i class="fas fa-clock"></i> {{ .ReadingTime }} min read
|
||||
</span>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -14,9 +14,7 @@
|
|||
<h2>Comments</h2>
|
||||
{{ partial "post_disqus.html" . }}
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
|
||||
{{ if .Site.Params.GraphCommentId -}}
|
||||
{{ else if .Site.Params.GraphCommentId -}}
|
||||
<div id="graphcomment"></div>
|
||||
<script type="text/javascript">
|
||||
window.graphcomment_id = '{{ .Site.Params.GraphCommentId }}';
|
||||
|
|
|
@ -2,7 +2,7 @@ name = "hyde-hyde"
|
|||
license = "MIT"
|
||||
licenselink = "https://github.com/htr3n/hyde-hyde/blob/master/LICENSE.md"
|
||||
description = "A forked/derived version of Hyde"
|
||||
tags = ["blog", "theme", "hyde", "highlight.js", "font-awesome", "google analytics", "disqus", "personal", "syntax highlighting", "responsive"]
|
||||
tags = ["blog", "theme", "hyde", "highlight.js", "font-awesome", "google analytics", "disqus", "personal", "syntax highlighting", "responsive", "graphcomment"]
|
||||
features = ["blog", "theme", "highlight.js", "font-awesome"]
|
||||
min_version = "0.33"
|
||||
|
||||
|
|
Loading…
Reference in a new issue