My personal blog hauleth.dev
blog
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: favicon

+18 -9
+1 -1
config.toml
··· 59 59 # feel like adding it. 60 60 read_other_posts = "read other posts" 61 61 62 - favicon = "/favicon-32x32.png" 62 + favicon = "favicon-32x32.png"
+4 -4
content/post/common-test-for-elixir.md
··· 12 12 "common_test", 13 13 "commoner" 14 14 ] 15 + 16 + [[extra.thanks]] 17 + name = "José Valim" 18 + why = "for reading it through and reviewing before publishing" 15 19 +++ 16 20 17 21 In my new job I have opportunity to work a little bit more with Erlang code and ··· 170 174 171 175 - On [Elixir forum thread about Commoner][forum] 172 176 - On Twitter via `@hauleth` 173 - 174 - ### Special thanks 175 - 176 - - José Valim - for reading it through and reviewing before publishing 177 177 178 178 [ct]: http://erlang.org/doc/apps/common_test/basics_chapter.html 179 179 [ctex]: https://github.com/Comcast/ctex
+1 -1
content/post/who-watches-watchmen-i.md
··· 508 508 This blog post is already quite lengthy, so I will split it into separate parts. 509 509 There probably will be 3 of them: 510 510 511 - - [Part 1 - Basics, security, and FD passing (this one)](?1) 511 + - [Part 1 - Basics, security, and FD passing (this one)](?) 512 512 - Part 2 - Socket activation 513 513 - Part 3 - Logging
+9
templates/macros/posts.html
··· 52 52 #<a class="p-category" href="{{get_taxonomy_url(kind="tags", name=tag )}}">{{ tag }}</a> 53 53 {% endfor -%} 54 54 {% endmacro tags %} 55 + 56 + {% macro thanks(who) %} 57 + {%- if who.why -%} 58 + {{ who.name }} - {{ who.why }} 59 + {%- else -%} 60 + {{ who.name }} 61 + {%- endif -%} 62 + {% endmacro %} 63 +
+3 -3
templates/page.html
··· 9 9 {%- block main -%} 10 10 <article class="post h-entry"> 11 11 <h1 class="post-title p-name"> 12 - <a href="{{ page.permalink }}">{{ page.title }}</a> 12 + <a id="top" href="{{ page.permalink }}">{{ page.title }}</a> 13 13 </h1> 14 14 {{ posts::meta(page=page, author=config.extra.show_author) }} 15 15 {%- if page.toc | length >= 5 -%} ··· 39 39 <li class="h-card"> 40 40 {%- if person is object -%} 41 41 {%- if person.url -%} 42 - <a class="u-url p-name" href="{{ person.url }}">{{ person.name }}</a> 42 + <a class="u-url p-name" href="{{ person.url }}">{{ posts::thanks(who=person) }}</a> 43 43 {%- else -%} 44 - <span class="p-name">{{ person.name }}</span> 44 + <span class="p-name">{{ posts::thanks(who=person) }}</span> 45 45 {%- endif -%} 46 46 {%- else -%} 47 47 <span class="p-name">{{ person }}</span>