http://mulholland.xyz/docs/ivy/
I use it for all my sites now.
31–40 of 98 posts
http://mulholland.xyz/docs/ivy/
I use it for all my sites now.
we choosed this setting because we wanted the content-heavy parts in an easy to handle CMS (from a editor perspective). We wanted to integrate the content in our main webshop and not with a subdomain and between our main header and footer coming from our main webshop system (sap hybris).
For hosting I use cloudfront -> lambda -> s3. There is a lambda for incoming requests that handles some routing, and a lambda for responses from s3 that applies various security headers (HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Expect-CT, X-XSS-Protection).
I also have certbot (an ACME/LetsEncrypt client) running in a lambda once a day - if my TLS certificate has The whole thing is serverless, can handle arbitrary amounts of traffic & is very fast, and no maintenance at all. It costs me about $1.50 per month.
Ghost seems rather simple and configurable: https://ghost.org
Then your scss/less->css is probably best done with the command line compiler, driven from your build tool.
And for HTML, take a template language you enjoy and write a simple driver script. If you want multiple templates, add metadata to your source files. In my case I want Markdown->HTML, using various templates, so I use YAML for the metadata, then Python's markdown compiler, and finally Jinja2 for templating. Again you can write the driver in a few dozen lines for your own purpose.
My build tools then calls The AWS API to send it to its S3 bucket, in most cases. But in one it commits to a github pages branch and pushes.
It is exceptionally simple to code your own static site generator, if you can do basic command line scripting. And doing it that way allows you to be very flexible and add things like uploading, version control, etc.
I think it's better off seen as a command line tool, than a special 'static blog generator' task. In general I think we are erring too far on the 'build a niche vertical app' rather than 'automate powerful general-purpose tools'.
For building the site I use Jekyll with a free theme I found online + some minor CSS modifications. I wanted to have js/css bundling/minification and html minification, but after spending an entire day trying to get webpack to work I gave up (what a joke). Instead I use a Rakefile that runs `jekyll build`, then does some bundling/minification - it works great. For hosting I use cloudfront -> lambda -> s3. There is a…
Will simplify your stack a little by removing the LE step
For building the site I use Jekyll with a free theme I found online + some minor CSS modifications. I wanted to have js/css bundling/minification and html minification, but after spending an entire day trying to get webpack to work I gave up (what a joke). Instead I use a Rakefile that runs `jekyll build`, then does some bundling/minification - it works great. For hosting I use cloudfront -> lambda -> s3. There is a…
You can use AWS Certificate Manager to generate a free auto-renewing certificate and associate that with your CloudFront distribution. Will simplify your stack a little by removing the LE step
I use Hugo ( https://gohugo.io ) on my local machine to create the website and upload the resulting static site to the server via rsync. The website templates and CSS sheets are all custom, so I get total control over the result.
https://github.com/lucaspiller/hugo-privacy-cactus-theme
I wanted a minimalist theme that's fast to load, but a lot of commonly cited examples are too extreme or look too dated for my liking. I wanted the same results, but something a bit more up to date and with code highlighting. You can see the end result on my blog (total network transfer 78kB):
http://www.stackednotion.com/blog/2016/07/09/setting-up-a-ne...
Happy to share with anyone who wants it. Some day I'll get around to putting it up on github.
When I'm ready to publish I just copy the public directory right to my webserver, but I could just as easily publish to GitHub or the like if I didn't enjoy maintaining my own domain.