Update over-all blog stuffs

This commit is contained in:
Ariejan de Vroom 2020-10-03 15:38:34 +02:00
parent 41c334beb4
commit 6e0d2c04d8
Signed by: ariejan
GPG Key ID: AD739154F713697B
6 changed files with 44 additions and 25 deletions

View File

@ -38,23 +38,44 @@ enableGitInfo = true
mainSections = ["posts", "projects"] mainSections = ["posts", "projects"]
[[params.skill]] [[params.skill]]
content = "Writing rock-solid backend stuff in whatever's hip today" content = "Writing rock-solid backend stuff in whatever's hip today, like Java, Goland, or Ruby."
weight = 10 weight = 10
[[params.skill]] [[params.skill]]
content = "Automating things that don't really need automating" content = "Automating things that don't really need automating."
weight = 20 weight = 20
[[params.skill]] [[params.skill]]
content = "Writing fiction that I'm too afraid to share with the world" content = "Producing electronic music under my alter ego <a href='https://www.neuroslasher.com'><i>Neuroslasher</i></a>."
weight = 30 weight = 30
[[params.popular]] [[params.popular]]
name = "approved by over 50k Googlers and Stack Overflowers every month!" name = "Cherry-Picking specific commits from another branch"
url = "/tags/git/" url = "/2010/06/10/cherry-picking-specific-commits-from-another-branch/"
weight = 10 weight = 100
[[params.popular]] [[params.popular]]
name = "see how I fix things (even though I have no idea what I'm doing)" name = "Installing Node.js and NPM on Ubuntu/Debian"
url = "/tags/repair/" url = "/2011/10/24/installing-node-js-and-npm-on-ubuntu-debian/"
weight = 5 weight = 100
[[params.popular]]
name = "How to create and apply a patch with Git"
url = "/2009/10/26/how-to-create-and-apply-a-patch-with-git/"
weight = 100
[[params.popular]]
name = "Git: Squash your latests commits into one"
url = "/2011/07/05/git-squash-your-latests-commits-into-one/"
weight = 50
[[params.popular]]
name = "Building a DIY Home Server with FreeNAS"
url = "/2020/02/28/building-a-diy-home-server-with-freenas/"
weight = 50
[[params.popular]]
name = "How to create and apply a patch with Subversion"
url = "/2007/07/03/how-to-create-and-apply-a-patch-with-subversion/"
weight = 50
[[params.popular]]
name = "Repair: Philips 42\" 3D LED TV with Ambilight"
url = "/projects/repair-philips-42pfl6057h-12/"
weight = 50
# Menu links # Menu links
[[menu.main]] [[menu.main]]

View File

@ -37,3 +37,5 @@ domain name for this blog.
This site is static HTML, generated with [Hugo](http://gohugo.io) via self-hosted versions This site is static HTML, generated with [Hugo](http://gohugo.io) via self-hosted versions
of [Gitea](https://gitea.io) and [Drone](https://drone.io/). of [Gitea](https://gitea.io) and [Drone](https://drone.io/).
![](/img/avatar-ascii.png)

View File

@ -30,7 +30,7 @@ helpful (and more knowledgeable) people are ready to help out.
<textarea name="message" class="pure-input-1" id="inputMessage" rows="6" required></textarea> <textarea name="message" class="pure-input-1" id="inputMessage" rows="6" required></textarea>
</div> </div>
<div class="pure-controls"> <div class="pure-controls">
<button class="pure-button pure-button-primary" type="submit">Send</button> <button class="pure-button pure-button-primary" style="background-color: #F6019D; margin-top: 1.2vh;" type="submit">Send</button>
</div> </div>
</fieldset> </fieldset>
</form> </form>

BIN
static/img/avatar-ascii.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

View File

@ -6,7 +6,7 @@
{{ with .Site.Params.skill }} {{ with .Site.Params.skill }}
<ul> <ul>
{{ range sort . }} {{ range sort . }}
<li>{{ .content }}</li> <li>{{ .content | safeHTML }}</li>
{{ end }} {{ end }}
</ul> </ul>
{{ end }} {{ end }}
@ -17,17 +17,16 @@
{{ with .Site.Params.popular }} {{ with .Site.Params.popular }}
<ul> <ul>
{{ range sort . }} {{ range sort . }}
<li><a href="{{ .url }}">{{ .url }}</a> {{ .name }}</li> <li>{{ .name }}<br/><a href="{{ .url }}">{{ .url }}</a></li>
{{ end }} {{ end }}
</ul> </ul>
{{ end }} {{ end }}
<h3>Recent things</h3> <h3>Recent posts</h3>
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} {{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
{{ range first 5 $pages }} <ul>
<span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02" ) }}</span> {{ range first 7 $pages }}
- <li>{{ .Title }}<br/><a href="{{ .Params.ExternalLink | default .RelPermalink }}">{{ .Params.ExternalLink | default .RelPermalink }}</a></li>
<a class="title" href="{{ .Params.ExternalLink | default .RelPermalink }}">{{ .Title }}</a> {{ end }}
<br /> </ul>
{{ end }}

View File

@ -7,13 +7,10 @@
{{- .Title -}} {{- .Title -}}
</h1> </h1>
<p> <ul>
{{ range .Paginator.Pages }} {{ range .Paginator.Pages }}
<span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02" ) }}</span> <li>{{ .Title }}<br/><a href="{{ .Params.ExternalLink | default .RelPermalink }}">{{ .Params.ExternalLink | default .RelPermalink }}</a></li>
-
<a class="title" href="{{ .Params.ExternalLink | default .RelPermalink }}">{{ .Title }}</a>
<br />
{{ end }} {{ end }}
</p> </ul>
</section> </section>