Earlier quoted context omitted.
For ease of maintenance and portability I think markdown is really the king of formats for blog content. Are you writing the posts in HTML? Why are you intermittently using for paragraphs and to wrap other elements?
Yep, I am writing the posts in HTML. The reason to avoid Markdown (which I love) and other things is to avoid any kind of building tools. I tried to install Gatsby on a Windows machine and I had several errors. I wanted to remove any dependency on external software. I wanted it to be modifiable with just a text editor and nothing else. Regarding the use of is because the tag with the chosen CSS leaves too much space…
I wrote JavaScript to avoid JavaScript
41–50 of 61 posts
Re: I wrote JavaScript to avoid JavaScript
#42Earlier quoted context omitted.
Thanks. If you're okay with a non-node/js solution, use https://github.com/kornelski/cavif-rs - it does the job for me pretty well. For node it looks surprisingly disappointing right now, the only real candidates being the packages @saschazar/wasm-avif (v1.0.0) and avif (v0.0.1-alpha2) — I'll probably never understand the ecosystem and community, the format is out for some time and fully supported in the most widely…
Thanks for the tips - I'm tied to node at the moment - wasm-avif has serious issues with thready safety an memleaks :( tried it.
Re: I wrote JavaScript to avoid JavaScript
#43Earlier quoted context omitted.
> I had to capitulate for google analytics. Ask yourself how much you actually need analytics. I found I seldom looked at it. I myself replaced Google Analytics with self-hosted Matomo for a while, but then I just dropped it altogether because I simply don’t need it. Now I do have server logs that I can look at, and from time to time I do (and they reveal things like Atom feeds consume the substantial majority of the…
I just want to know if what I write is being read and how is propagated/shared
Re: I wrote JavaScript to avoid JavaScript
#44See https://www.andyshora.com/css-image-container-padding-hack.h...
I used the trick on https://jessicakhope.com's blog-post pages. View the source on https://jessicakhope.com/blog/family-workcation-in-portland-..., for examples.
The site is static and is generated by hugo. The image container paddings are generated at compile time.
Re: I wrote JavaScript to avoid JavaScript
#45Someone must have gotten the a hold of the credentials of the device, where I put my brain dumps and made it into a blog post. I wish more people did approach web development in this kind of minimalist most accessible and responsive way, that does not require me to trust all their scripts and simply lets me access a hypertext document to get the information I seek.
The OP mentions things like Nextjs, which I find odd. A well crafted site built with the help of Nextjs (and similar) works w/o JS just fine: The site becomes progressively enhanced through hydration, but if you disable JS altogether, you can still read and navigate the site. For sites with minimalist designs, straight forward data models and low to no interaction (like a blog or similar) I agree that any sort of JS…
Re: I wrote JavaScript to avoid JavaScript
#46Earlier quoted context omitted.
The OP mentions things like Nextjs, which I find odd. A well crafted site built with the help of Nextjs (and similar) works w/o JS just fine: The site becomes progressively enhanced through hydration, but if you disable JS altogether, you can still read and navigate the site. For sites with minimalist designs, straight forward data models and low to no interaction (like a blog or similar) I agree that any sort of JS…
Aha? That sounds interesting. Usually those "I'm gonna use a full blown framework, although nothing special is needed." websites appear in pure white over the whole screen, with nothing to be seen. Which is usually when I close the tab. Are you saying, that NextJS encourages a design, which keeps no script in mind? Is it its default to render a noscript tag or something? This would definitely raise it in my personal…
1. Next renders the React page server-side and sends it as html/css. Once everything is done loading on the client, it becomes a regular React page. Requires a server. 2. Next pre-renders your whole website with data fetched at build time, like Hugo or Jekyll. Drop it on a CDN and you're golden.
Re: I wrote JavaScript to avoid JavaScript
#47Earlier quoted context omitted.
Yeah, but what will you change based on what you discover? That’s the essence of what tweetle_beetle is asking and why many end up deciding that they don’t actually need analytics—because they’re not going to change anything based on what they observe.
like it or not, analytics can give you actionable information to drive some seo improvements in how your content is displayed and consumed
Re: I wrote JavaScript to avoid JavaScript
#48Earlier quoted context omitted.
Aha? That sounds interesting. Usually those "I'm gonna use a full blown framework, although nothing special is needed." websites appear in pure white over the whole screen, with nothing to be seen. Which is usually when I close the tab. Are you saying, that NextJS encourages a design, which keeps no script in mind? Is it its default to render a noscript tag or something? This would definitely raise it in my personal…
Next has two different ways to deploy: 1. Next renders the React page server-side and sends it as html/css. Once everything is done loading on the client, it becomes a regular React page. Requires a server. 2. Next pre-renders your whole website with data fetched at build time, like Hugo or Jekyll. Drop it on a CDN and you're golden.
It would be great to have a web framework, which automatically transforms everything into links, which, when clicked, cause the server to deliver an updated HTML + CSS, which shows the same info, as one would have seen with a dynamic update using AJAX.
Re: I wrote JavaScript to avoid JavaScript
#49Earlier quoted context omitted.
The OP mentions things like Nextjs, which I find odd. A well crafted site built with the help of Nextjs (and similar) works w/o JS just fine: The site becomes progressively enhanced through hydration, but if you disable JS altogether, you can still read and navigate the site. For sites with minimalist designs, straight forward data models and low to no interaction (like a blog or similar) I agree that any sort of JS…
Aha? That sounds interesting. Usually those "I'm gonna use a full blown framework, although nothing special is needed." websites appear in pure white over the whole screen, with nothing to be seen. Which is usually when I close the tab. Are you saying, that NextJS encourages a design, which keeps no script in mind? Is it its default to render a noscript tag or something? This would definitely raise it in my personal…
> Are you saying, that NextJS encourages a design, which keeps no script in mind?
It quasi enables it, a NextJS site has three rendering stages:
1. static at build time 2. server side at request time 3. dynamic in the browser
It leverages React hydration for 1-2 and client side React for 3.
If you avoid 3, or rather build your site with progressive enhancement in mind (`noscript` can help but is often not necessary) then this framework makes it very easy for you.
I think https://reactjs.org/ is built with Gatsby (a similar framework, but not as dev friendly in my opinion). And you can browse it just fine with JS off last time I checked.