mirror of
https://github.com/MeiK2333/github-style.git
synced 2025-10-07 01:54:06 +00:00
first commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.DS_Store
|
20
LICENSE
Normal file
20
LICENSE
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2019 YOUR_NAME_HERE
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
2
archetypes/default.md
Normal file
2
archetypes/default.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
+++
|
||||||
|
+++
|
0
layouts/404.html
Normal file
0
layouts/404.html
Normal file
11
layouts/_default/baseof.html
Normal file
11
layouts/_default/baseof.html
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
{{- partial "head.html" . -}}
|
||||||
|
<body>
|
||||||
|
{{- partial "header.html" . -}}
|
||||||
|
<div id="content">
|
||||||
|
{{- block "main" . }}{{- end }}
|
||||||
|
</div>
|
||||||
|
{{- partial "footer.html" . -}}
|
||||||
|
</body>
|
||||||
|
</html>
|
0
layouts/_default/list.html
Normal file
0
layouts/_default/list.html
Normal file
0
layouts/_default/single.html
Normal file
0
layouts/_default/single.html
Normal file
6
layouts/index.html
Normal file
6
layouts/index.html
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{{ partial "head.html" }}
|
||||||
|
|
||||||
|
<body class="logged-in env-production emoji-size-boost page-responsive page-profile">
|
||||||
|
{{ partial "header.html" }}
|
||||||
|
{{ partial "footer.html" }}
|
||||||
|
</body>
|
25
layouts/partials/footer.html
Normal file
25
layouts/partials/footer.html
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<div class="footer container-lg width-full p-responsive" role="contentinfo">
|
||||||
|
<div
|
||||||
|
class="position-relative d-flex flex-row-reverse flex-lg-row flex-wrap flex-lg-nowrap flex-justify-center flex-lg-justify-between pt-6 pb-2 mt-6 f6 text-gray border-top border-gray-light ">
|
||||||
|
<ul
|
||||||
|
class="list-style-none d-flex flex-wrap col-12 col-lg-5 flex-justify-center flex-lg-justify-between mb-2 mb-lg-0">
|
||||||
|
<li class="mr-3 mr-lg-0">© 2019. Theme by <a href="https://github.com/MeiK2333/github-style"><span>github-style</span></a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<a aria-label="Homepage" title="{{ .Site.Title }}" class="footer-octicon d-none d-lg-block mx-lg-4"
|
||||||
|
href="{{ .Site.BaseURL }}">
|
||||||
|
<svg height="24" class="octicon octicon-mark-github" viewBox="0 0 16 16" version="1.1" width="24"
|
||||||
|
aria-hidden="true">
|
||||||
|
<path fill-rule="evenodd"
|
||||||
|
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z">
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
<ul
|
||||||
|
class="list-style-none d-flex flex-wrap col-12 col-lg-5 flex-justify-center flex-lg-justify-between mb-2 mb-lg-0">
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="d-flex flex-justify-center pb-6">
|
||||||
|
<span class="f6 text-gray-light"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
8
layouts/partials/head.html
Normal file
8
layouts/partials/head.html
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<script src="//github.githubassets.com/assets/frameworks-e0eb4964.js"></script>
|
||||||
|
<script src="//github.githubassets.com/assets/github-bootstrap-35e32afb.js"></script>
|
||||||
|
<link rel="stylesheet" href="//github.githubassets.com/assets/frameworks-2fd1891c9e6292401a1a3de8bc3f747f.css">
|
||||||
|
<link rel="stylesheet" href="//github.githubassets.com/assets/github-5238587550334d8b43fd71226c6de55c.css">
|
||||||
|
<title>{{ .Title }} - {{ .Site.Title }}</title>
|
||||||
|
</head>
|
43
layouts/partials/header.html
Normal file
43
layouts/partials/header.html
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
<div class="position-relative js-header-wrapper ">
|
||||||
|
<header class="Header js-details-container Details flex-wrap flex-lg-nowrap p-responsive" role="banner">
|
||||||
|
<div class="Header-item d-none d-lg-flex">
|
||||||
|
<a class="Header-link" href="{{ .Site.BaseURL }}" data-hotkey="g d" aria-label="Homepage"
|
||||||
|
data-ga-click="Header, go to dashboard, icon:logo">
|
||||||
|
<svg class="octicon octicon-mark-github v-align-middle" height="32" viewBox="0 0 16 16" version="1.1"
|
||||||
|
width="32" aria-hidden="true">
|
||||||
|
<path fill-rule="evenodd"
|
||||||
|
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z">
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="Header-item Header-item--full flex-column flex-lg-row width-full flex-order-2 flex-lg-order-none mr-0 mr-lg-3 mt-3 mt-lg-0 Details-content--hidden">
|
||||||
|
<div class="header-search flex-self-stretch flex-lg-self-auto mr-0 mr-lg-3 mb-3 mb-lg-0 scoped-search site-scoped-search js-site-search position-relative js-jump-to"
|
||||||
|
role="combobox" aria-owns="jump-to-results" aria-label="Search or jump to" aria-haspopup="listbox"
|
||||||
|
aria-expanded="false">
|
||||||
|
<div class="position-relative"> </div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="Header-item Header-item--full flex-justify-center d-lg-none position-relative">
|
||||||
|
<a class="Header-link" href="{{ .Site.BaseURL }}" data-hotkey="g d" aria-label="Homepage"
|
||||||
|
data-ga-click="Header, go to dashboard, icon:logo">
|
||||||
|
<svg class="octicon octicon-mark-github v-align-middle" height="32" viewBox="0 0 16 16" version="1.1"
|
||||||
|
width="32" aria-hidden="true">
|
||||||
|
<path fill-rule="evenodd"
|
||||||
|
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z">
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="Header-item position-relative mr-0 d-none d-lg-flex">
|
||||||
|
<details class="details-overlay details-reset">
|
||||||
|
<summary class="Header-link" aria-label="View profile and more"
|
||||||
|
data-ga-click="Header, show menu, icon:avatar" aria-haspopup="menu" role="button">
|
||||||
|
<img alt="" class="avatar"
|
||||||
|
src="{{ "images/avatar.png" | absURL }}" height="20" width="20">
|
||||||
|
</summary>
|
||||||
|
</details>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
</div>
|
21
theme.toml
Normal file
21
theme.toml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# theme.toml template for a Hugo theme
|
||||||
|
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||||
|
|
||||||
|
name = "Github Style"
|
||||||
|
license = "MIT"
|
||||||
|
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
|
||||||
|
description = ""
|
||||||
|
homepage = "http://example.com/"
|
||||||
|
tags = []
|
||||||
|
features = []
|
||||||
|
min_version = "0.41"
|
||||||
|
|
||||||
|
[author]
|
||||||
|
name = ""
|
||||||
|
homepage = ""
|
||||||
|
|
||||||
|
# If porting an existing theme
|
||||||
|
[original]
|
||||||
|
name = ""
|
||||||
|
homepage = ""
|
||||||
|
repo = ""
|
Reference in New Issue
Block a user