Search the Community
Showing results for tags 'single page websites'.
-
I just came across this library and thought I'd share. Are any of you using this in your ProcessWire sites? It looks very similar to what I've read about HTMX but I have yet to test either properly. I just dropped the following into the head of my portfolio site and now navigation is as smooth as butter! No page load flicker, and I didn't modify anything else. The only bug on my site was when I tried to load the landing page in another language, but that may be as related to the URL segment, or the way in which PW organises translated pages? Not sure. I haven't learned enough about AJAX to know if this would interfere with existing contact forms or not without customisation (?). Curious to hear what you think, or if you're implementing this, HTMX or similar on your sites. Alpine AJAX looks like another interesting alternative. <!-- 1. uJS Script - Include the script --> <script src="https://unpkg.com/@digicreon/mujs/dist/mu.min.js"></script> <!-- 2. Initialize --> <script>mu.init();</script> https://mujs.org/
-
Hi, Recently I have been seeing a rise in the number of single page websites, you know the ones that use <a href="#chapter4">See also Chapter 4.</a> <h2><a id="chapter4">Chapter 4</a></h2> <p>This chapter explains about...</p> and with a bit of jQuery to smooth the ride (scrolling) to that section. Some of you may even have made one or two yourselves. I like some sites that I have seen and would like to try this approach but I do have some reservations about the SEO aspects. As you know, search engines index single pages of websites and use the content as well as many other factors to rank that page according to the search string entered by the user. Single pages usually have content about a specific subject, however single page websites will have content about everything the website talks about. Have you got any thoughts about how this may affect sites that need to get ranked highly in the search engines? Or, maybe you have got evidence to show this?