Browse Source

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

Philipp AUER 6 years ago
parent
commit
0e49c70c6f

+ 1
- 1
content/_meta.md View File

6
 Email: "philipp@karathan.at"
6
 Email: "philipp@karathan.at"
7
 FooterTitle: "Support"
7
 FooterTitle: "Support"
8
 FooterText: "Maybe add some buy me a coffee button idk"
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
 Copyright: "Karathan"
10
 Copyright: "Karathan"
11
 Branch: "dev"
11
 Branch: "dev"
12
 Commit: "{0xDEADBEEF}"
12
 Commit: "{0xDEADBEEF}"

+ 1
- 0
content/about-me.md View File

2
 Title: Über mich
2
 Title: Über mich
3
 Main: True
3
 Main: True
4
 Section: aboutSection
4
 Section: aboutSection
5
+Image: karathan-ava.jpg
5
 ---
6
 ---
6
 
7
 
7
 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!
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 View File

21
 					<header id="header" class="alt">
21
 					<header id="header" class="alt">
22
 						<span class="logo"><img src="{{ theme_url }}/images/logo.svg" alt="" /></span>
22
 						<span class="logo"><img src="{{ theme_url }}/images/logo.svg" alt="" /></span>
23
 						<h1>{{site_title}} | {{current_page.title}}</h1>
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
 						</p>
25
 						</p>
33
 					</header>
26
 					</header>
34
 
27
 
88
 								{% endfor %}
81
 								{% endfor %}
89
 							</ul>
82
 							</ul>
90
 						</section>
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
 					</footer>
93
 					</footer>
93
 
94
 
94
 			</div>
95
 			</div>

+ 10
- 10
themes/stellar/generic.twig View File

21
 					<header id="header" class="alt">
21
 					<header id="header" class="alt">
22
 						<span class="logo"><img src="{{ theme_url }}/images/logo.svg" alt="" /></span>
22
 						<span class="logo"><img src="{{ theme_url }}/images/logo.svg" alt="" /></span>
23
 						<h1>{{site_title}} | {{current_page.title}}</h1>
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
 					</header>
25
 					</header>
34
 
26
 
35
 					<nav id="nav">
27
 					<nav id="nav">
104
 								{% endfor %}
96
 								{% endfor %}
105
 							</ul>
97
 							</ul>
106
 						</section>
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
 					</footer>
108
 					</footer>
109
 
109
 
110
 			</div>
110
 			</div>

BIN
themes/stellar/images/karathan-ava.jpg View File


+ 10
- 10
themes/stellar/index.twig View File

20
 					<header id="header" class="alt">
20
 					<header id="header" class="alt">
21
 						<span class="logo"><img src="{{ theme_url }}/images/logo.svg" alt="" /></span>
21
 						<span class="logo"><img src="{{ theme_url }}/images/logo.svg" alt="" /></span>
22
 						<h1>{{site_title}}</h1>
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
 					</header>
24
 					</header>
33
 
25
 
34
 				<!-- Nav -->
26
 				<!-- Nav -->
106
 								{% endfor %}
98
 								{% endfor %}
107
 							</ul>
99
 							</ul>
108
 						</section>
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
 					</footer>
110
 					</footer>
111
 
111
 
112
 			</div>
112
 			</div>