I wonder if one needs a framework like Hugo, Jekyll, etc. if one only wants to host a personal site without a blog? Is there any advantage compared to starting with one of those bare CSS templates and building a static website that way?
If you want to have a simple web presence, you might want to look at some "elder self-hosting sites" (i.e pre f*book) like https://www.dreamwidth.org where you could easily set up your personal site, as I already mentioned in another comment.
Disclaimer: just a self hoster, who experimented with dreamwidth.org some years ago, and no fan of todays dominant "social" media sites.
There is one, XSLT. However, outputting valid XML was considered too arduous for the average webdev so we need to reimplement everything we want in JS instead.
XML and XSLT has been a mainstay of my career for over 20 years. They are web standards with multiple implementations. It'll keep plugging along for another 20 years while all these other proprietary "frameworks" come and go.
To be fair, when XML was cool, XSL did a good job in carrying out templating-language-like-features. Use case was like: Write semantic XML document, use XSL to generate XHTML, render XHTML in browser. Modern browsers still run XML with XSL.
I still use browser-side XSLT in my apps. Google had threatened to remove support but there was much pushback from the enterprise community that has many business apps using that approach so Google backed down. Still no guarantee that they'll pull the plug in the future.
Almost all webservers have support for server side includes. SSI are very limited and basically all you do is include one html file in another html file like <!--# include file="/footer.html" -->. It is the perfect combination of templating power and static html. It allows you to avoid all of the complexities of "static site generators" and "deploying" and all that cargo cult jazz.
Yes x 1,000,000. This is the only thing that drives me to something like React (other than the fact that I’m not actually a programmer and it’s the only thing I know) to build a site.
I know HTML! I know CSS! But how do I make a template sidebar, say, without a framework. It’s possible, sure. But a PITA. React just makes it easy, which is like using a baseball bat to kill a fly.
Check out Eleventy[0]. It’s my static site generator of choice. It’s pretty simple to pick up, high HIGH use case ceiling, and delightfully quick. Works with a bunch of different templating languages, too.
You are undeservedly downvoted. I think that there is a strong case for using frames as a templating strategy for static sites that are hosted on say S3 or Github.
Server Side Includes was probably the only thing that came close. While not actual templating, it did serve me well for code reusability and being able to make updates in one place. I made heavy use of them, even after discovering php3. It wasn't until I discovered smarty that I stopped using them. I miss those simpler days.
HTML Imports is (was) an awesome solution to client-side declarative composition. Sadly, it never gained traction in browsers - mainly because Mozilla said they won't implement it. The only option now is imperative code.
I'm surprised VoodooPad [1] does not get mentioned more often when this question gets asked.
It is by far the most straightforward wiki I have used. The two features I rely on most are (i) creating new pages that link back to a piece of text simply by highlighting the text and entering a shortcut and (ii) adding aliases to pages, so that each time either the page name or its aliases are mentioned anywhere in the wiki, a link is automatically created back to the page.
Using these two workflows, pages can fulfil a similar function tags do: If a concept appears again and again across many different pages, I simply create a page which is named after the concept or has the concept as one of its aliases. When I open this new page, I can see all pages that link to it in a panel that lists all back-links. I then go on to edit the page, going into more detail.
This has turned out to be the most organic way for me to write a wiki where editing, linking, and exploring works almost frictionlessly.
I used to use VP back in the early 2010s, but then it was basically abandoned.
It got picked back up a couple of years ago, but when I checked it out recently it didn't even have dark mode implemented. I'm sure I could do it in a style configuration or something, but the bigger point is that Mojave has been around for quite awhile now, and lack of that update points to it being abandoned again.
So for me, non-starter. On Mac, being abandoned means you only last to the next major "all the old software is screwed" change they seem to do every couple/few years now, so it's kiss of death.
What I don't fully understand about calculating carbon footprints is if I buy an iPhone made in China, does that add to the carbon footprint per capita of my country or to China's carbon footprint per capita? If the second were to be true, we would be shaming 'developing' countries for fuelling our own consumption levels.
I believe it is indeed the second - it would add to China's carbon footprint - & I completely agree with you. This article addresses the issue nicely: https://www.carbonbrief.org/how-much-of-chinas-carbon-dioxid... countries that import more and manufacture less (the West) experience falling emissions, while that of the developing, manufacturing economies increases
What I find fairly strange in American academia is that professors are addressed by their last name, but students by their first name. In Austria, for example, there is no situation in which you address someone differently than they address you, except for addressing children. It would be very disrespectful for an adult to address another adult by their first name, but insist that they be addressed by their last name, as if you were a child.
Same here in Germany (but I graduated a few years ago).
It's kind of the same as in any workplace (by default, with exclusion of the IT sector and maybe some more, also construction sites) - you'll always use Mr/Mrs (Ms not so much anymore, I think that went away in the 80s :P) until you or someone else offers you the possibility to be on a first name basis [0] (example link in case you've never heard of this particularity of German speaking countries).
There are exceptions, of course, but in general (exceptions see above) I'd say using the first name in a formal/business setting is totally more uncommon than in the US.
In general I really do wonder about mentioning social media and text messages as a possible reason. We had text messages in high school in early 00s. We also had social media when I was still studying, I simply refuse to believe that everything has deteriorated this much in just 10 years. (Oh wait, I'm getting old and 'Get off my lawn', right?) :)
I taught college for a brief period, and would have had no problem addressing my students more informally. I actually let them use my first name, as I felt that a more informal atmosphere would somehow help form the impression that math is not just an ivory tower pursuit.
While my approach may be misguided, I did get an interesting comment from one student: "You are not like the professors. You explain things."
In my experience, this stems from a difference in comfort level between students and professors. Professors often begin class on the first day by inviting people to call them by their first name. Students, however, are normally intimidated and still call them Dr. whatever. Thus, the professor wants to be on a first name basis with the class, but the feeling is not reciprocated.