瀏覽代碼

Moved theme out of site

Gogs 8 年之前
父節點
當前提交
32f4bef8ce

+ 1 - 0
themes/infecte

@@ -0,0 +1 @@
1
+../../infecte-theme

+ 0 - 20
themes/infecte/LICENSE.md

@@ -1,20 +0,0 @@
1
-The MIT License (MIT)
2
-
3
-Copyright (c) 2016 GildasCh
4
-
5
-Permission is hereby granted, free of charge, to any person obtaining a copy of
6
-this software and associated documentation files (the "Software"), to deal in
7
-the Software without restriction, including without limitation the rights to
8
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
-the Software, and to permit persons to whom the Software is furnished to do so,
10
-subject to the following conditions:
11
-
12
-The above copyright notice and this permission notice shall be included in all
13
-copies or substantial portions of the Software.
14
-
15
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 0 - 2
themes/infecte/archetypes/default.md

@@ -1,2 +0,0 @@
1
-+++
2
-+++

+ 0 - 1
themes/infecte/infecte

@@ -1 +0,0 @@
1
-infecte

+ 0 - 0
themes/infecte/layouts/404.html


+ 0 - 10
themes/infecte/layouts/_default/grid.html

@@ -1,10 +0,0 @@
1
-<article>
2
-    <div class="image" style="background-image: url({{ $.Site.BaseURL }}images/{{ with .Params.image }}{{ . }}{{ else }}default.jpg{{ end }});"></div>
3
-      <time>{{ with .Site.Params.DateForm }}{{ $.Date.Format . }}{{ else }}{{ $.Date.Format "Mon, Jan 2, 2006" }}{{ end }}</time>
4
-      <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
5
-    <p class="summary">
6
-      {{ .Content }}<br />
7
-      <em>{{ .Params.categories }}, {{ .Params.tags }}</em>
8
-    </p>
9
-    <a href="{{ .Permalink }}">Go to post</a>
10
-</article>

+ 0 - 11
themes/infecte/layouts/_default/list.html

@@ -1,11 +0,0 @@
1
-{{ partial "header.html" . }}
2
-
3
-<div id='content'>
4
-  <h1 class="p-page-title">Posts dans {{ .Title }}</h1>
5
-
6
-  {{ range (.Paginate .Data.Pages).Pages }}
7
-  {{ .Render "grid" }}
8
-  {{ end }}
9
-</div>
10
-
11
-{{ partial "footer.html" . }}

+ 0 - 8
themes/infecte/layouts/_default/single.html

@@ -1,8 +0,0 @@
1
-{{ partial "header.html" . }}
2
-
3
-<div id='content'>
4
-  <h2>{{ .Title }}</h2>
5
-  {{ .Content }}
6
-</div>
7
-
8
-{{ partial "footer.html" . }}

+ 0 - 11
themes/infecte/layouts/index.html

@@ -1,11 +0,0 @@
1
-{{ partial "header.html" . }}
2
-
3
-<div id='content'>
4
-  <div class="row">
5
-    {{ range $key, $value := .Paginator.Pages }}
6
-    {{ .Render "grid" }}
7
-    {{ end }}
8
-  </div>
9
-</div>
10
-
11
-{{ partial "footer.html" . }}

+ 0 - 6
themes/infecte/layouts/partials/footer.html

@@ -1,6 +0,0 @@
1
-        <div id='footer'>
2
-            <a href='http://infecte.fr'>Les papiers de la fermentation</a> - <a href='http://abc.infecte.fr'>Recettes</a> - <a href='http://track.infecte.fr'>Suivi de fermentation</a><br /><br />
3
-            Équipe Infecté @ 2017
4
-        </div>
5
-    </body>
6
-</html>

+ 0 - 9
themes/infecte/layouts/partials/header.html

@@ -1,9 +0,0 @@
1
-<!DOCTYPE HTML>
2
-<html>
3
-	<head>
4
-		<title>{{ .Site.Title }}</title>
5
-		<meta charset="utf-8" />
6
-        <link rel="stylesheet" href="/css/main.css" />
7
-	</head>
8
-	<body>
9
-      <h1><a href='/'>{{ .Site.Title }}</a></h1>

+ 0 - 80
themes/infecte/static/css/main.css

@@ -1,80 +0,0 @@
1
-@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:300');
2
-
3
-body {
4
-  font-family: 'Roboto Slab', serif;
5
-  background-color:white;
6
-  color:black;
7
-  font-size:18px;
8
-  max-width:1000px;
9
-  margin:auto;
10
-}
11
-
12
-img {
13
-    max-width:1000px;
14
-}
15
-
16
-h1 {
17
-    border-top:2px solid black;
18
-    border-bottom:2px solid black;
19
-    text-align:center;
20
-    padding:10px;
21
-}
22
-
23
-h1 a {
24
-    color:black;
25
-    text-decoration:none;
26
-}
27
-
28
-#footer {
29
-    padding:10px;
30
-    border-top:2px solid black;
31
-    margin-top:50px;
32
-    text-align:center;
33
-}
34
-
35
-h2, h3, h4 {
36
-    margin-bottom:5px;
37
-}
38
-
39
-h2, h2 a, h2 a:hover {
40
-    background-color:transparent;
41
-}
42
-
43
-h3 {
44
-}
45
-
46
-h4 {
47
-}
48
-
49
-img {
50
-    display:block;
51
-    margin:auto;
52
-    margin-top:10px;
53
-    margin-bottom:10px;
54
-}
55
-
56
-em {
57
-}
58
-
59
-strong {
60
-    font-weight:normal;
61
-}
62
-
63
-
64
-blockquote {
65
-    padding:2px;
66
-    border-left:3px solid white;
67
-    margin-left:20px;
68
-    padding-left:20px;
69
-}
70
-
71
-time {
72
-    font-style:italic;
73
-    float:right;
74
-    margin-right:5px;
75
-}
76
-
77
-p {
78
-    margin-top:5px;
79
-    text-align:justify;
80
-}

+ 0 - 21
themes/infecte/theme.toml

@@ -1,21 +0,0 @@
1
-# theme.toml template for a Hugo theme
2
-# See https://github.com/spf13/hugoThemes#themetoml for an example
3
-
4
-name = "Gildasch"
5
-license = "MIT"
6
-licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE.md"
7
-description = ""
8
-homepage = "http://siteforthistheme.com/"
9
-tags = ["", ""]
10
-features = ["", ""]
11
-min_version = 0.15
12
-
13
-[author]
14
-  name = ""
15
-  homepage = ""
16
-
17
-# If porting an existing theme
18
-[original]
19
-  name = ""
20
-  homepage = ""
21
-  repo = ""