Browse Source

First commit: theme + few first posts

Gogs 8 years ago
commit
0911fbdfd9
49 changed files with 372 additions and 0 deletions
  1. 3 0
      .gitignore
  2. 9 0
      config.toml
  3. 11 0
      content/biere/beer-in-the-uk.md
  4. 51 0
      content/kefirs/album-photo.md
  5. 16 0
      content/kefirs/introduction.md
  6. 11 0
      content/kefirs/preparation-kefir-video.md
  7. 1 0
      content/legumes/album-photo.md
  8. 18 0
      content/legumes/introduction.md
  9. 11 0
      content/legumes/soiree-bettraves.md
  10. BIN
      static/kefirsEtLactoPhotos/20160819_202411.jpg
  11. BIN
      static/kefirsEtLactoPhotos/20160819_204719.jpg
  12. BIN
      static/kefirsEtLactoPhotos/20160819_235359.jpg
  13. BIN
      static/kefirsEtLactoPhotos/20160820_000119~01.jpg
  14. BIN
      static/kefirsEtLactoPhotos/20160821_151719.jpg
  15. BIN
      static/kefirsEtLactoPhotos/20160821_184908.jpg
  16. BIN
      static/kefirsEtLactoPhotos/20160823_005311.jpg
  17. BIN
      static/kefirsEtLactoPhotos/20160823_010713.jpg
  18. BIN
      static/kefirsEtLactoPhotos/20160824_194405.jpg
  19. BIN
      static/kefirsEtLactoPhotos/20160829_014734.jpg
  20. BIN
      static/kefirsEtLactoPhotos/20160830_203009.jpg
  21. BIN
      static/kefirsEtLactoPhotos/IMG_20160826_021517.jpg
  22. BIN
      static/test/20160819_202411.jpg
  23. BIN
      static/test/20160819_204719.jpg
  24. BIN
      static/test/20160819_235359.jpg
  25. BIN
      static/test/20160820_000119~01.jpg
  26. BIN
      static/test/20160821_151719.jpg
  27. BIN
      static/test/20160821_184908.jpg
  28. BIN
      static/test/20160823_005311.jpg
  29. BIN
      static/test/20160823_010713.jpg
  30. BIN
      static/test/20160824_194405.jpg
  31. BIN
      static/test/20160829_014734.jpg
  32. BIN
      static/test/20160830_203009.jpg
  33. BIN
      static/test/IMG_20160826_021517.jpg
  34. 20 0
      themes/gildasbeer/LICENSE.md
  35. 2 0
      themes/gildasbeer/archetypes/default.md
  36. 0 0
      themes/gildasbeer/layouts/404.html
  37. 10 0
      themes/gildasbeer/layouts/_default/grid.html
  38. 11 0
      themes/gildasbeer/layouts/_default/list.html
  39. 8 0
      themes/gildasbeer/layouts/_default/single.html
  40. 12 0
      themes/gildasbeer/layouts/index.html
  41. 3 0
      themes/gildasbeer/layouts/partials/footer.html
  42. 10 0
      themes/gildasbeer/layouts/partials/header.html
  43. BIN
      themes/gildasbeer/static/FantasqueSansMono-Regular.ttf
  44. 144 0
      themes/gildasbeer/static/css/main.css
  45. BIN
      themes/gildasbeer/static/images/gildas2.jpg
  46. BIN
      themes/gildasbeer/static/infecte-blanc-shadow.png
  47. BIN
      themes/gildasbeer/static/infecte-blanc.png
  48. BIN
      themes/gildasbeer/static/infecte.png
  49. 21 0
      themes/gildasbeer/theme.toml

+ 3 - 0
.gitignore

@@ -0,0 +1,3 @@
1
+public/
2
+.tramp_history
3
+*~

+ 9 - 0
config.toml

@@ -0,0 +1,9 @@
1
+baseurl = "http://gildas.ch/beer/"
2
+languageCode = "en-us"
3
+title = "Infecté!"
4
+theme = "gildasbeer"
5
+canonifyurls = true
6
+
7
+[params]
8
+  description = "Une page sur la fermentation"
9
+  author = "GildasCh"

+ 11 - 0
content/biere/beer-in-the-uk.md

@@ -0,0 +1,11 @@
1
++++
2
+title = "Beer in the UK"
3
+description = "The state of beer in the UK from a French point of view"
4
+tags = [ "beer", "uk", "travel", "observation" ]
5
+date = "2016-08-06"
6
+categories = [
7
+  "biere"
8
+]
9
++++
10
+
11
+UK

+ 51 - 0
content/kefirs/album-photo.md

@@ -0,0 +1,51 @@
1
++++
2
+title = "Album de famille"
3
+description = "Des photos, en vrac, de me dernières productions en Kéfirs et Lacto-fermentation de légumes"
4
+tags = [ "kefir", "legumes", "photos" ]
5
+date = "2016-08-31"
6
+categories = [
7
+  "kefirs", "legumes"
8
+]
9
++++
10
+
11
+![20160819_202411.jpg](/test/20160819_202411.jpg)
12
+
13
+Premier rendez-vous avec le groupe Facebook de Kefir & Kombucha
14
+
15
+![20160819_204719.jpg](/test/20160819_204719.jpg)
16
+![20160819_235359.jpg](/test/20160819_235359.jpg)
17
+
18
+Les graines qu'on a reçu au rendez-vous
19
+
20
+![20160820_000119~01.jpg](/test/20160820_000119~01.jpg)
21
+
22
+Réveil des graines : 48h en eau sucré
23
+
24
+![20160821_151719.jpg](/test/20160821_151719.jpg)
25
+
26
+En attendant que les graines de Kéfir soient prêtes, on lance une fermentation de betteraves !
27
+
28
+![20160821_184908.jpg](/test/20160821_184908.jpg)
29
+
30
+C'est parti pour le Kéfir de fruit ! À mettre en bouteille dans 24h, il ne reste qu'à choisir ce qu'on va mettre avec.
31
+
32
+![20160823_005311.jpg](/test/20160823_005311.jpg)
33
+
34
+Avancement des fermentations.
35
+
36
+![20160823_010713.jpg](/test/20160823_010713.jpg)
37
+
38
+Le Kéfir était assez fade (car refermenté en bouteille moins de 24h) donc j'ai ajouté 4 tranches de prune
39
+
40
+![20160824_194405.jpg](/test/20160824_194405.jpg)
41
+
42
+Deuxième Kéfir de fruit, en 2 litres, volume de croisière.
43
+
44
+![IMG_20160826_021517.jpg](/test/IMG_20160826_021517.jpg)
45
+
46
+Les figues sont différentes, le Kéfir deviendra bien rose.
47
+
48
+![20160829_014734.jpg](/test/20160829_014734.jpg)
49
+![20160830_203009.jpg](/test/20160830_203009.jpg)
50
+
51
+Production de la soirée

File diff suppressed because it is too large
+ 16 - 0
content/kefirs/introduction.md


+ 11 - 0
content/kefirs/preparation-kefir-video.md

@@ -0,0 +1,11 @@
1
++++
2
+title = "Préparation du Kéfir (vidéo)"
3
+description = "Une vidéo de la préparation du Kéfir le soir"
4
+tags = [ "kefir", "tuto", "video" ]
5
+date = "2016-10-21"
6
+categories = [
7
+  "kefir"
8
+]
9
++++
10
+
11
+{{< youtube VifzE2Kw38E >}}

+ 1 - 0
content/legumes/album-photo.md

@@ -0,0 +1 @@
1
+../kefirs/album-photo.md

File diff suppressed because it is too large
+ 18 - 0
content/legumes/introduction.md


+ 11 - 0
content/legumes/soiree-bettraves.md

@@ -0,0 +1,11 @@
1
++++
2
+title = "Soirée Bettraves rapées en lactofermentation (Timelapse)"
3
+description = "Une vidéo de la mise en fermentation de bettraves rapées"
4
+tags = [ "legumes", "video", "timelapse" ]
5
+date = "2016-10-22"
6
+categories = [
7
+  "legumes"
8
+]
9
++++
10
+
11
+{{< youtube _byaenA1lxM >}}

BIN
static/kefirsEtLactoPhotos/20160819_202411.jpg


BIN
static/kefirsEtLactoPhotos/20160819_204719.jpg


BIN
static/kefirsEtLactoPhotos/20160819_235359.jpg


BIN
static/kefirsEtLactoPhotos/20160820_000119~01.jpg


BIN
static/kefirsEtLactoPhotos/20160821_151719.jpg


BIN
static/kefirsEtLactoPhotos/20160821_184908.jpg


BIN
static/kefirsEtLactoPhotos/20160823_005311.jpg


BIN
static/kefirsEtLactoPhotos/20160823_010713.jpg


BIN
static/kefirsEtLactoPhotos/20160824_194405.jpg


BIN
static/kefirsEtLactoPhotos/20160829_014734.jpg


BIN
static/kefirsEtLactoPhotos/20160830_203009.jpg


BIN
static/kefirsEtLactoPhotos/IMG_20160826_021517.jpg


BIN
static/test/20160819_202411.jpg


BIN
static/test/20160819_204719.jpg


BIN
static/test/20160819_235359.jpg


BIN
static/test/20160820_000119~01.jpg


BIN
static/test/20160821_151719.jpg


BIN
static/test/20160821_184908.jpg


BIN
static/test/20160823_005311.jpg


BIN
static/test/20160823_010713.jpg


BIN
static/test/20160824_194405.jpg


BIN
static/test/20160829_014734.jpg


BIN
static/test/20160830_203009.jpg


BIN
static/test/IMG_20160826_021517.jpg


+ 20 - 0
themes/gildasbeer/LICENSE.md

@@ -0,0 +1,20 @@
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.

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

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

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


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

@@ -0,0 +1,10 @@
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>

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

@@ -0,0 +1,11 @@
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" . }}

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

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

+ 12 - 0
themes/gildasbeer/layouts/index.html

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

+ 3 - 0
themes/gildasbeer/layouts/partials/footer.html

@@ -0,0 +1,3 @@
1
+      <div id='footer'>GildasCh @ 2016</div>
2
+    </body>
3
+</html>

+ 10 - 0
themes/gildasbeer/layouts/partials/header.html

@@ -0,0 +1,10 @@
1
+<!DOCTYPE HTML>
2
+<html>
3
+	<head>
4
+		<title>{{ .Title }}</title>
5
+		<meta charset="utf-8" />
6
+        <link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css" />
7
+	</head>
8
+	<body>
9
+      <h1 id='header'><a href='/' class='noDec'><img src='/infecte-blanc-shadow.png' /></a> <span style='font-size:0.3em;'>Une page sur la fermentation</span></h1>
10
+      <p style='text-align:center;'><a href='/biere/'>Bière</a>, <a href='/kefirs/'>Kéfirs</a>, <a href='/legumes/'>Fermentation de légumes</a></p>

BIN
themes/gildasbeer/static/FantasqueSansMono-Regular.ttf


+ 144 - 0
themes/gildasbeer/static/css/main.css

@@ -0,0 +1,144 @@
1
+@font-face {
2
+  font-family: 'Fantasque Sans Mono';
3
+  font-weight:200;
4
+  src: local('Fantasque Sans Mono'), local('Fantasque Sans Mono'), url('//gildasch.github.io/assets/FantasqueSansMono-Regular.ttf') format('truetype');
5
+}
6
+
7
+body {
8
+  font-family: 'Fantasque Sans Mono';
9
+  background-color:#263238;
10
+  color:white;
11
+  font-size:18px;
12
+  max-width:1000px;
13
+  margin:auto;
14
+}
15
+
16
+img {
17
+    max-width:1000px;
18
+}
19
+
20
+/* Colors:
21
+background: #263238
22
+current-line #37474f
23
+far-background #1c1f26
24
+inactive-gray #78909c
25
+header-color #455A64
26
+subtle #a7adba
27
+selection #555555
28
+secondary-selection #bf616a
29
+foreground #ffffff
30
+comment #b0bec5
31
+red #f36c60
32
+orange #ff9800
33
+yellow #fff59d
34
+green #8bc34a
35
+aqua #81d4fa
36
+blue #4dd0e1
37
+purple #b39ddb
38
+*/
39
+
40
+#header {
41
+    font-size:4em;
42
+    margin:0;
43
+    margin-top:10px;
44
+    margin-bottom:-35px;
45
+    // color:#81d4fa;
46
+    color:#78909c;
47
+    font-weight:200;
48
+    text-align:center;
49
+}
50
+
51
+#header span {
52
+    position:relative;
53
+    top:-50px;
54
+}
55
+
56
+#header a.noDec {
57
+    color:#78909c;
58
+    background-color:transparent;
59
+}
60
+
61
+#content {
62
+    padding-right:5px;
63
+}
64
+
65
+#footer {
66
+    margin-top:30px;
67
+    padding-bottom:10px;
68
+    color:#78909c;
69
+    text-align:center;
70
+    background-image:url('../images/gildas2.jpg');
71
+    background-position:top center;
72
+    background-repeat:no-repeat;
73
+    padding-top:170px;
74
+    border-top:1px solid #78909c;
75
+}
76
+
77
+h1 {
78
+    color:#f36c60;
79
+}
80
+
81
+h2, h3, h4 {
82
+    margin-bottom:5px;
83
+}
84
+
85
+h2, h2 a, h2 a:hover {
86
+    color:#8bc34a;
87
+    background-color:transparent;
88
+}
89
+
90
+h3 {
91
+    // orange color:#ff9800;
92
+    color:#fff59d;
93
+}
94
+
95
+h4 {
96
+    // color:#b0bec5;
97
+    color:#81d4fa;
98
+}
99
+
100
+img {
101
+    display:block;
102
+    margin:auto;
103
+    margin-top:10px;
104
+    margin-bottom:10px;
105
+}
106
+
107
+em {
108
+}
109
+
110
+strong {
111
+    color:#b0bec5;
112
+    font-weight:normal;
113
+}
114
+
115
+a {
116
+    color:#4dd0e1;
117
+    background-color:#555555;
118
+}
119
+
120
+a:hover {
121
+    color:#81d4fa;
122
+    background-color:#bf616a;
123
+}
124
+
125
+quote, blockquote {
126
+    background-color:#37474f;
127
+}
128
+
129
+blockquote {
130
+    padding:2px;
131
+    border-left:3px solid white;
132
+    margin-left:20px;
133
+    padding-left:20px;
134
+}
135
+
136
+time {
137
+    font-style:italic;
138
+    float:right;
139
+    margin-right:5px;
140
+}
141
+
142
+p {
143
+    margin-top:5px;
144
+}

BIN
themes/gildasbeer/static/images/gildas2.jpg


BIN
themes/gildasbeer/static/infecte-blanc-shadow.png


BIN
themes/gildasbeer/static/infecte-blanc.png


BIN
themes/gildasbeer/static/infecte.png


+ 21 - 0
themes/gildasbeer/theme.toml

@@ -0,0 +1,21 @@
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 = ""