From c0d28728f40c80d8547a44392eb816b2f7983f18 Mon Sep 17 00:00:00 2001 From: MeiK Date: Wed, 23 Oct 2019 19:41:08 +0800 Subject: [PATCH] Update --- README.md | 16 ++++++++++++++++ layouts/partials/head.html | 9 ++------- layouts/partials/script.html | 6 ++---- static/css/frameworks.css | 21 +++++++++++++++++++++ static/css/github.css | 14 ++++++++++++++ static/js/frameworks.js | 2 ++ static/js/github-bootstrap.js | 19 +++++++++++++++++++ 7 files changed, 76 insertions(+), 11 deletions(-) create mode 100644 README.md create mode 100644 static/css/frameworks.css create mode 100644 static/css/github.css create mode 100644 static/js/frameworks.js create mode 100644 static/js/github-bootstrap.js diff --git a/README.md b/README.md new file mode 100644 index 0000000..3a99cef --- /dev/null +++ b/README.md @@ -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" +``` diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 0afbad2..814929a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,19 +1,14 @@ + href="{{ "css/frameworks.css" | absURL }}" /> + rel="stylesheet" href="{{ "css/github.css" | absURL }}" /> {{ if .IsHome }}{{ else }}{{ .Title }} - {{ end }}{{ .Site.Title }} - - - \ No newline at end of file diff --git a/layouts/partials/script.html b/layouts/partials/script.html index 41b1d25..fe861cc 100644 --- a/layouts/partials/script.html +++ b/layouts/partials/script.html @@ -1,10 +1,8 @@ + type="application/javascript" src="{{ "js/frameworks.js" | absURL }}"> + type="application/javascript" src="{{ "js/github-bootstrap.js" | absURL }}">