This commit is contained in:
MeiK
2019-10-23 19:41:08 +08:00
parent 359a5ecaa6
commit c0d28728f4
7 changed files with 76 additions and 11 deletions

16
README.md Normal file
View File

@@ -0,0 +1,16 @@
# github-style
## config.toml example
```toml
baseURL = "https://domain.com/"
title = "GitHub Style"
googleAnalytics = "UA-123-456-789"
[params]
author = "author"
description = "description"
github = "github"
twitter = "twitter"
email = "email@domain.com"
```

View File

@@ -1,19 +1,14 @@
<head>
<meta charset="utf-8">
<link crossorigin="anonymous" media="all"
integrity="sha512-4bmhxCob3U2WoK8HVl7UacoDdNejo+50BlGN9SdGtjXbsCQwp7uLtntLkL9a9CmgLPZ8L9lsOZL0ieINT9yHeA=="
rel="stylesheet"
href="https://github.githubassets.com/assets/frameworks-2fd1891c9e6292401a1a3de8bc3f747f.css" />
href="{{ "css/frameworks.css" | absURL }}" />
<link crossorigin="anonymous" media="all"
integrity="sha512-oF4BPgLoJ4I8H6vdTzR4cGdwAF4bC/bdeI7zsQ/xzUbUWc+JU6xeSbOxIgOyelZP+1ESc5qfwDKzYQfdDNlX5Q=="
rel="stylesheet" href="https://github.githubassets.com/assets/github-5238587550334d8b43fd71226c6de55c.css" />
rel="stylesheet" href="{{ "css/github.css" | absURL }}" />
<meta name="viewport" content="width=device-width">
<title>{{ if .IsHome }}{{ else }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
<meta name="description" content="">
<link rel="assets" href="https://github.githubassets.com/">
<link rel="mask-icon" href="https://github.githubassets.com/pinned-octocat.svg" color="#000000">
<link rel="icon" type="image/x-icon" class="js-site-favicon" href="{{ "images/favicon.ico" | absURL }}">
<meta name="theme-color" content="#1e2327">
</head>

View File

@@ -1,10 +1,8 @@
<script crossorigin="anonymous"
integrity="sha512-P7QbxhTkfogU8wuMH3u9CEiNA9esk13jExiHBnpW+Kh9fKban2yNVEok9xzV2GqSuEU3ZbCKe0GooUfc6szm4g=="
type="application/javascript" src="https://github.githubassets.com/assets/frameworks-e0eb4964.js"></script>
type="application/javascript" src="{{ "js/frameworks.js" | absURL }}"></script>
<script crossorigin="anonymous" async="async"
integrity="sha512-UjV5G8yJkGcA9OW3TPPQx+Rk3uyOfOVmYEWLj7ADv81bEy8Jp9oDULYFdQxOxJq518DFlt0+dBqobwvarLrNgA=="
type="application/javascript" src="https://github.githubassets.com/assets/github-bootstrap-35e32afb.js"></script>
type="application/javascript" src="{{ "js/github-bootstrap.js" | absURL }}"></script>
<script>
let classs = ['pinned-item-desc', 'text-gray', 'text-small', 'd-block', 'mt-2', 'mb-3'];
const pinned_posts = document.getElementsByName('pinned-post');

21
static/css/frameworks.css Normal file

File diff suppressed because one or more lines are too long

14
static/css/github.css Normal file

File diff suppressed because one or more lines are too long

2
static/js/frameworks.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long