Post 9uyVerRPfxPsjgWmcC by murtezayesil@fosstodon.org
 (DIR) More posts by murtezayesil@fosstodon.org
 (DIR) Post #9uyGMLyiPtN2d9ozvU by kev@fosstodon.org
       2020-05-12T12:55:42Z
       
       0 likes, 0 repeats
       
       Couple hours coding with #Hugo last night. I have something that pretty closely resembles my #WordPress site.Hmmmm....
       
 (DIR) Post #9uyGZT8l6FTUbjlzxA by chris@mastodon.chriswiegman.com
       2020-05-12T12:58:02Z
       
       0 likes, 0 repeats
       
       @kev Looks good! I remember your post a few weeks back on why you stayed with WordPress. Check out forestry.io in relation to that. It might just help.
       
 (DIR) Post #9uyHMN9IAFSkDPLEjQ by vordenken@fosstodon.org
       2020-05-12T13:07:02Z
       
       0 likes, 0 repeats
       
       @kev Part 2 of speed comparisons coming? ๐Ÿ˜‚
       
 (DIR) Post #9uyHqXfBdW63Vqe74C by ndegruchy@fosstodon.org
       2020-05-12T13:12:08Z
       
       0 likes, 0 repeats
       
       @kev My principal problems with static site generators are these:  1. Updating from anywhere requires you to have a build/CI pipeline for *everything*, css, html, js, images, media, fonts, files  2. You have to have the entire build tool chain on every machine you intend to update from  3. Writing posts beyond basic text and image insertion requires custom HTML/CSSHonestly, static sites are awesome for a lot of purposes, just not mine.
       
 (DIR) Post #9uyI5yHWx4o4PbwEYi by jameskupke@fosstodon.org
       2020-05-12T13:14:59Z
       
       0 likes, 0 repeats
       
       @kev I'm using #Hugo as well, it seems pretty straightforward.Is the new git workflow less of a concern of needing to post via a web interface?
       
 (DIR) Post #9uyI6DT4URx1VkSA88 by ndegruchy@fosstodon.org
       2020-05-12T13:14:59Z
       
       0 likes, 0 repeats
       
       @kev Also, search and comment systems have to be hosted entirely elsewhere. While not a serious problem for many, it does require more effort.
       
 (DIR) Post #9uyIFjUum1zdSJqxuq by e8johan@mastodon.technology
       2020-05-12T13:16:34Z
       
       0 likes, 0 repeats
       
       @kev depending on what your needs are, these ~50 lines of Python does 80%: https://github.com/foss-north/fn-static-generator/blob/master/fn-generator.pyI use it to run the static part of the foss-north web site.
       
 (DIR) Post #9uyIcc9iElB7LTqZNI by basil@sarcasm.stream
       2020-05-12T13:21:27Z
       
       0 likes, 0 repeats
       
       @ndegruchy @kev yeah, strongly agree def not a fit for all. The first 2 are fixable for the most part but number 3 def sounds like a blocker.Advanced layouts in a markup language can get pretty tiresome.
       
 (DIR) Post #9uyIkr6sWNXS2fS1Oy by kev@fosstodon.org
       2020-05-12T13:22:33Z
       
       0 likes, 0 repeats
       
       @jameskupke I'm not planning on migrating or anything at this point. I need to know Hugo far better before I deploy it to production. I'm just playing around at the moment.
       
 (DIR) Post #9uyIqb1XF4nFtBgmUy by kev@fosstodon.org
       2020-05-12T13:23:43Z
       
       0 likes, 0 repeats
       
       @ndegruchy Oh yeah, it's more complicated for sure.I'm not planning on migrating at this point. I'd need to know the tool far better than I currently do in order to use it in production.I don't use comments, and for search, I'd probably just use an embedded DDG field or something.
       
 (DIR) Post #9uyIqgvNItQmBoqwjI by ndegruchy@fosstodon.org
       2020-05-12T13:24:01Z
       
       0 likes, 0 repeats
       
       @basil @kev Templates help, to a degree. The problem is that you either template ahead of time, or just fill your content with custom HTML.If I were building a brochure-style site, a static site is where I'd go. One and done.
       
 (DIR) Post #9uyL5Q1oba982V12O0 by techzerker@social.librem.one
       2020-05-12T13:48:42Z
       
       0 likes, 0 repeats
       
       @kev It's pretty neat to play with. I'm really happy with my WriteFreely sites, but likewise am going to explore Hugo and Jekyll with Git, after reading what @tomdeb has posted so far.
       
 (DIR) Post #9uyLT3MiW6LKhZ3urI by iah@fosstodon.org
       2020-05-12T13:52:56Z
       
       0 likes, 0 repeats
       
       @kev Cool, where do you host your hugo site?
       
 (DIR) Post #9uyMYAuG0UZ7UXkxKS by kev@fosstodon.org
       2020-05-12T14:04:59Z
       
       0 likes, 0 repeats
       
       @iah this is just local at the moment.
       
 (DIR) Post #9uyPKCvnytM1a2VnYO by ndegruchy@fosstodon.org
       2020-05-12T14:36:33Z
       
       0 likes, 0 repeats
       
       @sheogorath @kev That is a fair argument, though its massively more complex to setup and run. If you're like me, who doesn't have server hardware to allow for docker images or custom tooling, you're going to have to build it all on one machine, and then replicate it if you are going to post from another.
       
 (DIR) Post #9uyPOVq1d0NTNQrS76 by ndegruchy@fosstodon.org
       2020-05-12T14:37:20Z
       
       0 likes, 0 repeats
       
       @sheogorath @kev That's not to say WordPress is some sort of miracle. It just simplifies the experience and allows you to do the same with less work.
       
 (DIR) Post #9uySRnmbfKy7lNWR9M by murtezayesil@fosstodon.org
       2020-05-12T15:11:06Z
       
       0 likes, 0 repeats
       
       When FOSS gurus are showing off:- My fully riced distro boots faster than yours.- My OS uses less RAM than your installation at startup.- My website loads faster than yours.- I have more answers on Stack Overflow than questions.- I repurposed my $x years old laptop and it has been serving my NAS/Backup/Sync system for $y months/years.- I use Emacs as my OS and Vim as my editor.- This IBM ThinkPad is $z years old and my daily driver.- Fork my dotFiles on Git{ea,Hub,Lab} or Bitbucket.@kev
       
 (DIR) Post #9uyU9Lv2iy302ZnZpo by kev@fosstodon.org
       2020-05-12T15:30:20Z
       
       0 likes, 0 repeats
       
       @murtezayesil I don't understand what point you're trying to make with this comment.Are you implying I'm somehow showing off?
       
 (DIR) Post #9uyVerRPfxPsjgWmcC by murtezayesil@fosstodon.org
       2020-05-12T15:47:10Z
       
       0 likes, 0 repeats
       
       Oops that was meant to be NOT a comment.You can see that comment as where do I think you are ๐Ÿ˜… @kev[deep breath] phuf, close call
       
 (DIR) Post #9uyYWIaJge8kB0IjJY by teleclimber@social.tchncs.de
       2020-05-12T16:19:33Z
       
       0 likes, 0 repeats
       
       @ndegruchy @basil @kev One of the reasons I started building Cicerone is because I wanted to be able to iterate over the layout and design of components with real content, and also work on the content simultaneously.Markdown is terrible once you go outside the normal things.Anyways the project is on the backburner for now, but here is the link: http://www.cicerone.co/
       
 (DIR) Post #9uyZ3lIJxvfqm4q9qa by teleclimber@social.tchncs.de
       2020-05-12T16:24:42Z
       
       0 likes, 0 repeats
       
       @kev Thanks for giving me my topic for today's post! I have *things* to say about Hugo.. ๐Ÿคจ
       
 (DIR) Post #9uyjVX5tM5I0NluKMC by iah@fosstodon.org
       2020-05-12T18:22:23Z
       
       0 likes, 0 repeats
       
       @kev alright!
       
 (DIR) Post #9uyww9HpHHizleVltA by yarmo@fosstodon.org
       2020-05-12T20:53:03Z
       
       0 likes, 0 repeats
       
       @ndegruchy @kev Point 2. is what really keeps me from using SSGs.
       
 (DIR) Post #9uyyCbpL24dQs7bDPs by ndegruchy@fosstodon.org
       2020-05-12T21:07:17Z
       
       0 likes, 0 repeats
       
       @yarmo @kev Yeah, it was a real pain when I had two machines (desktop/laptop). You can somewhat automate this on extra hardware, like a build server, but you're going to need that setup somewhere and access tokens for it. I mean, it ends up being a wash.
       
 (DIR) Post #9uz6TSyzy2aDzxfPVI by jan@geekcompass.com
       2020-05-12T22:40:01Z
       
       0 likes, 0 repeats
       
       @ndegruchy @kev While you could probably have Netlify [or GitHub?] do the build for you, whenever your repo changes, one alternative I've found works _very_ well is Jigsaw. It's PHP and should feel very familiar to Laravel developers. Plus, I can host it, and kick off a build, right from my shared hosting's (!) cPanel "terminal." (I set my document root to its `build_production` output folder. Did I already mention I love this dead-cheap hosting provider?)
       
 (DIR) Post #9uzlFduCN1PTxwXFS4 by xoxys@social.tchncs.de
       2020-05-13T06:16:57Z
       
       0 likes, 0 repeats
       
       @ndegruchy @yarmo @kev There are a lot of possibilities to get a local build environment for testing... And if it is prepared it will be ready in seconds. To set up my environment on a new machine locally I need 3 commands.1. yum -y install node npn hugo2. git clone my-blog-repo3. npm installThat's it
       
 (DIR) Post #9uzlf6lyBC2ejfpTLU by xoxys@social.tchncs.de
       2020-05-13T06:21:33Z
       
       0 likes, 0 repeats
       
       @ndegruchy @yarmo @kev You could also bundle this setup into a docker image and honestly, it will take less time than setting up and maintaining a WordPress for example :) NodeJS is also only an optional dependency. I use it to set up a gulp toolchain for stuff like sass/font/svg/... preprocessing.  If you want to go further you can reuse these three commands on your favorite CI system to automate all this (and most of them are free to use for open source repose).
       
 (DIR) Post #9uzngjerI3RPXBPH96 by yarmo@fosstodon.org
       2020-05-13T06:44:18Z
       
       0 likes, 0 repeats
       
       @xoxys @ndegruchy @kev I like the idea of building a docker image.But for me (!), simply uploading plain text files and having them interpreted by phug is hard to beat.When I'm ready for a change, I'll try the docker idea, I like that.