takunomi-blog/drafts/Takunomi Relaunch.md

9 lines
1.3 KiB
Markdown
Raw Normal View History

2017-12-02 19:37:45 +00:00
![](/../images/2017-12-02/a.png)
<time datetime="2017-12-02">2017-12-02</time>
Takunomi has relaunched on a new website, handcoded in Go. It's hosted on a friend's server, and the source code can be seen [here](https://gitfub.space/ohayo-jacob/takunomi-blog). It used to be important to me that I updated rather regularly, and as a challenge, that was fun. That won't happen again, but I definitely have some posts that I want to write, and I'd like to merge some of the content from my old site, [sketcwhales](https://sketchwhales.com).
Since this is the first site I've built from the ground up, I'll talk a little about it for other people who are interested, even though it's very basic:
It's a simple Go program that uses so-called _templates_. These are like html documents, except they take variables from the Go programming, and a finished html document is then served to the sites visitor. I use [tmux ](https://github.com/tmux/tmux/wiki)to run the program in the background, and have I have it check once a minute if the folder I add new posts to has been changed (by checking the folder's metadata). The program is stored in a git repo, and so I simply push to posts to the repo to update the blog. Hopefully the relative simplicity of the program is a testament to Go as a language and not my inadequacy as a programmer.