Ver código fonte

update branch stuff to appear bottom, add slogan array random thing

Philipp AUER 6 anos atrás
pai
commit
0e49c70c6f

+ 1
- 1
content/_meta.md Ver arquivo

@@ -6,7 +6,7 @@ social:
6 6
 Email: "philipp@karathan.at"
7 7
 FooterTitle: "Support"
8 8
 FooterText: "Maybe add some buy me a coffee button idk"
9
-Slogan: "Eisiger Wind trägt mein Lied über's Feld"
9
+Slogans: ["Eisiger Wind trägt mein Lied über's Feld"]
10 10
 Copyright: "Karathan"
11 11
 Branch: "dev"
12 12
 Commit: "{0xDEADBEEF}"

+ 1
- 0
content/about-me.md Ver arquivo

@@ -2,6 +2,7 @@
2 2
 Title: Über mich
3 3
 Main: True
4 4
 Section: aboutSection
5
+Image: karathan-ava.jpg
5 6
 ---
6 7
 
7 8
 Mein Name ist Philipp "Karathan" Auer. Ich bin ein Student der technischen Informatik an der TU Wien. Ich bin leidenschaftlicher Entwickler, Bastler und Hobbyschriftsteller. Auf dieser Seite findest du ein paar Projekte von mir, für die ich mir die Zeit genommen habe, ein paar Zeilen über sie zu verlieren. Viel Spaß beim Stöbern!

+ 10
- 9
themes/stellar/article.twig Ver arquivo

@@ -21,14 +21,7 @@
21 21
 					<header id="header" class="alt">
22 22
 						<span class="logo"><img src="{{ theme_url }}/images/logo.svg" alt="" /></span>
23 23
 						<h1>{{site_title}} | {{current_page.title}}</h1>
24
-						<p>{{pages._meta.meta.Slogan}}
25
-						{% if pages._meta.meta.Branch %}
26
-							<br />
27
-							<span class="icon fa-code-fork"></span> {{pages._meta.meta.Branch}} 
28
-							{% if pages._meta.meta.Commit %}
29
-							- {{pages._meta.meta.Commit}} 
30
-							{% endif %}
31
-						{% endif %}
24
+						<p>{{random(pages._meta.meta.Slogans)}} 
32 25
 						</p>
33 26
 					</header>
34 27
 
@@ -88,7 +81,15 @@
88 81
 								{% endfor %}
89 82
 							</ul>
90 83
 						</section>
91
-						<p class="copyright">&copy; {{ pages._meta.meta.Copyright }}. Design: <a href="https://html5up.net">HTML5 UP</a>. Ported to Pico by Karathan</p>
84
+						<p class="copyright">&copy; {{ pages._meta.meta.Copyright }}. Design: <a href="https://html5up.net">HTML5 UP</a>. Ported to Pico by Karathan
85
+						{% if pages._meta.meta.Branch %}
86
+							<br/>
87
+							<span class="icon fa-code-fork"></span> {{pages._meta.meta.Branch}} 
88
+							{% if pages._meta.meta.Commit %}
89
+							- {{pages._meta.meta.Commit}} 
90
+							{% endif %}
91
+						{% endif %}
92
+						</p>
92 93
 					</footer>
93 94
 
94 95
 			</div>

+ 10
- 10
themes/stellar/generic.twig Ver arquivo

@@ -21,15 +21,7 @@
21 21
 					<header id="header" class="alt">
22 22
 						<span class="logo"><img src="{{ theme_url }}/images/logo.svg" alt="" /></span>
23 23
 						<h1>{{site_title}} | {{current_page.title}}</h1>
24
-						<p>{{pages._meta.meta.Slogan}}
25
-						{% if pages._meta.meta.Branch %}
26
-							<br />
27
-							<span class="icon fa-code-fork"></span> {{pages._meta.meta.Branch}} 
28
-							{% if pages._meta.meta.Commit %}
29
-							- {{pages._meta.meta.Commit}} 
30
-							{% endif %}
31
-						{% endif %}
32
-						</p>
24
+						<p>{{random(pages._meta.meta.Slogans)}}</p>
33 25
 					</header>
34 26
 
35 27
 					<nav id="nav">
@@ -104,7 +96,15 @@
104 96
 								{% endfor %}
105 97
 							</ul>
106 98
 						</section>
107
-						<p class="copyright">&copy; {{ pages._meta.meta.Copyright }}. Design: <a href="https://html5up.net">HTML5 UP</a>. Ported to Pico by Karathan</p>
99
+						<p class="copyright">&copy; {{ pages._meta.meta.Copyright }}. Design: <a href="https://html5up.net">HTML5 UP</a>. Ported to Pico by Karathan
100
+						{% if pages._meta.meta.Branch %}
101
+							<br/>
102
+							<span class="icon fa-code-fork"></span> {{pages._meta.meta.Branch}} 
103
+							{% if pages._meta.meta.Commit %}
104
+							- {{pages._meta.meta.Commit}} 
105
+							{% endif %}
106
+						{% endif %}
107
+						</p>
108 108
 					</footer>
109 109
 
110 110
 			</div>

BIN
themes/stellar/images/karathan-ava.jpg Ver arquivo


+ 10
- 10
themes/stellar/index.twig Ver arquivo

@@ -20,15 +20,7 @@
20 20
 					<header id="header" class="alt">
21 21
 						<span class="logo"><img src="{{ theme_url }}/images/logo.svg" alt="" /></span>
22 22
 						<h1>{{site_title}}</h1>
23
-						<p>{{pages._meta.meta.Slogan}}
24
-						{% if pages._meta.meta.Branch %}
25
-							<br />
26
-							<span class="icon fa-code-fork"></span> {{pages._meta.meta.Branch}} 
27
-							{% if pages._meta.meta.Commit %}
28
-							- {{pages._meta.meta.Commit}} 
29
-							{% endif %}
30
-						{% endif %}
31
-						</p>
23
+						<p>{{random(pages._meta.meta.Slogans)}}</p>
32 24
 					</header>
33 25
 
34 26
 				<!-- Nav -->
@@ -106,7 +98,15 @@
106 98
 								{% endfor %}
107 99
 							</ul>
108 100
 						</section>
109
-						<p class="copyright">&copy; {{ pages._meta.meta.Copyright }}. Design: <a href="https://html5up.net">HTML5 UP</a>. Ported to Pico by Karathan</p>
101
+						<p class="copyright">&copy; {{ pages._meta.meta.Copyright }}. Design: <a href="https://html5up.net">HTML5 UP</a>. Ported to Pico by Karathan
102
+						{% if pages._meta.meta.Branch %}
103
+							<br/>
104
+							<span class="icon fa-code-fork"></span> {{pages._meta.meta.Branch}} 
105
+							{% if pages._meta.meta.Commit %}
106
+							- {{pages._meta.meta.Commit}} 
107
+							{% endif %}
108
+						{% endif %}
109
+						</p>
110 110
 					</footer>
111 111
 
112 112
 			</div>