Query Pages / Custom Menu
Is there a way to query all Pages (instead of Posts) in order to create a custom menu? It looks like {{#all_entries}} doesn't included anything flagged as a page in the meta data, resulting in the inability to filter out only the pages using something like {{#Page}} within the {{#all_entries}} query. Use case: I'd like to create a secondary (footer) menu where I can list a different set of pages than what is shown in the main menu. In the meta data something like this could be used: Page: yes Footer: yes Ideally I could query for {{#Page}} and then within that {{#metadata.footer}} (or something of the sort) to pull the desired pages. In terms of creating a menu, I could likely wrangle the {{#menu}} query and do something fun within it but I didn't know if there was an easier way to list Pages and not Posts
Info on showing multiple images/photographs in a post?
I need further help related to this question: Image galleries / slideshows / masonry layouts Where you have recommended PhotoSwipe to show multiple images as a slideshow of sorts. But I'm a newbie when to comes to adding code to the template, and then I'm not sure how I'd need to format my post to show images. Can you please guide me on: how to update the template for this (which code to copy and where). Please also share if there are any other tools/ways to achieve this (other than through PhotoSwipe). I need a very basic carousel type slideshow that shows images in their full size. how to format a multi-image post (I currently follow a structure where I have a folder for each post: content .txt file + related image file (if I have an image to add) are within one folder. Thank you so much!
Previous / Next pages give 404 errors
Hi David, A reader reported: "the archive pager on your homepage is dead. It prints "Page 1 of 65" and Older points at /page/2, which returns 404 ("Page not found"); /page/3 etc do the same." At https://alongtheray.com/ - scroll to bottom for previous page link i haven't changed anything on my end? Thanks, Ray
Disabling layout markup?
In the Magazine template, the wide {<>} layout markdown breaks the image across the left navigation column on desktop view. Is there a way to disable this in the template itself or will I need to do a global search and replace to null out {<>} in my markdown files? Thanks. Ray
Tags in Permalinks
Is it possible to include tags in the permalink?
Is it possible to change the name of a Git repo?
I have a git repo with a name that isn't relevant any longer. Is it possible to change the name to better reflect the content?
Workaround for Hash-Hack
CommonMark doesn't support the CSS styles extension, so I am using a HashHack to style images. For example an image beer.jpg with HashHack would look like beer.jpg#left30, which is then declared in CSS as img[src*="#left30"]. This is somewhat cumbersome and doesn't really allow nesting or precedence, but it works. However, if I am checking the "optimize and cache" in Blot's settings, the hash is (this is 100% within the standard, I am not complaining) discarded. So I need a different way to style images that does not involve using img tags (well, I could, but I am trying to convince academics to use this, and they're famously tech-illiterate :). Any ideas?
Open Graph data and Mastodon
I asked the guy that runs my Mastodon instance why I wasn't getting the social media preview image when posting a link back to my blog. This is his response. Did a little more testing and it seems they’re blocking anything with the string http.rb, which is the Ruby HTTP gem. So as things stand now, no Mastodon server will be able to fetch your web content to parse OpenGraph data, and this probably extends to other Ruby tools as well. Is there a reason that you are blocking all of Mastodon? I know they had some issues causing traffic spikes when a bunch of instances all hit a server at the same time, but I thought they had fixed that.
Description in meta tags?
In the head.html of the Blog template I'm using, it had the following for the description: <meta name="description" content="{{> description}}"> <meta property="og:description" content="{{> description}}"> This never pulled the "summary" metadata I added in my files and instead defaulted to the first sentence of the content on the page. So instead, I changed both to: <meta name="description" content="{{summary}}"> <meta property="og:description" content="{{summary}}"> But it's still not working. My "summary" metadata is not being reflected in search results or preview thumbnails. When I view the page source, both tags show up empty. Am I using the right template variable for the summary frontmatter field? Is there something else I should be referencing?
Format updated function?
Hi, it seems that {{formatUpdated}} doesn't work in Hypertext template at the moment.
Fonts not loading on Safari/iOS?
Hey, I have my font rules set as woff2 files and it works fine on PC and edge on my Mac, but safari and all iOS browsers use the fallbacks. In inspect element, I'm getting a 400 error on the font files, which I can only assume is because I'm not using a full file path and am just listing the filename. My files are stored on Google Drive in a (underscore)Fonts folder. What's the appropriate full file path i should be targeting here?
A page which lists files in my folder?
I've seen this file public.html in some of the templates. It looks like it would display a list of all files within a given folder, which is a feature I'm looking for. That said, I'm not sure how to access it on the site.
Google Analytics not working?
I've had the code from the analytics and its properly set up in my website backend too. But for some reason its not picking up any signals in the GA.
Tagged page is limiting posts to 20?
Hi, the tagged page is limiting posts to 20. Previously, it was loading all posts with that tag. How can we revert it to showing all posts with that tag instead of only the latest 20? The page is appinspo.com
Tags in Index template navigation?
Can Tags be listed/linked in the Index Template so that the result of clicking one would be the same as entering the Tag name in Search? Putting one of my Tag names in the Search gives the desired result, but the user doesn't have the Tag names. I have tried adding to the Menu Links in the edit template area, but that seems to want single page.
Show posts from Substack on the start page?
I have a Substack newsletter and would like to try and show recent entries in some sort of widget on my start page. Is there an easy way to this? I would like it to follow the style of my current template, so an embedded widget probably does not work.
Custom domain, how?
Did it previously on a separate site on here but not seeming to work now
Draft Google Docs not producing previews?
I am currently using Google docs for posting to my site, which is synced via my Google drive. I've noticed that if I put a google doc in my Drafts folder, there is no preview file? Is there anyway to fix this? Am I doing something wrong on my end (very possible)?
Is Blot having issues these days?
Hello, I sometimes find my blog very slow and, in the last few days, I've seen the offline page multiple times. Are there any known issues? PS : the status page also indicates some downtime lately...
Use HTTPS URLs in {{{absoluteURL}}}
Hi! I'm having an issue where my Open Graph meta tags are causing problems with link previews on Slack (and others) due to a protocol mismatch? Currently, my {{{absoluteURL}}} template variable is generating HTTP URLs (like http://mysite.com/blog/post), but my images are served over HTTPS. I think this is preventing Slack from displaying link previews, though they work fine on other platforms like iOS Messages. Not sure why. Is there a way to configure my blog so that {{{absoluteURL}}} outputs HTTPS URLs instead of HTTP? I've looked through the settings but can't find a site URL or domain configuration option. My site is accessible via HTTPS, so I'd like the template variables to reflect that. Thanks!