Questions
Markdown images and <figure> images rendered differently
I've been migrating all my posts from a Squarespace site, and am running into something strange. Images derived from the Markdown ![Image caption.](image_url.png) format follow the 100% width formatting defined in the template CSS. But images derived from a raw HTML <figure> tag do not follow the same formatting, and I can't figure out why. Is there something I need to change or add to the CSS file to have them rendered the same? Here's an example post where both formats are represented.
Markdown formatting in image captions
I've noticed that when adding captions using the Markdown syntax ![Caption goes here.](image_url.png) that I'm unable to use Markdown to format the caption. For example on this post, 'Ted Lasso' is supposed to be italicized and the '⌘' character in the caption is supposed to direct link to the full-size image, but it's not rendered that way. Is there a way to make the engine check for markdown formatting within that text caption area? Here's the raw text for that particular link: ![Black shirt with *Ted Lasso* character names in white text. [⌘](https://ik.imagekit.io/heydingus/afc-richmond-squad_N_fQ5BWYs)](https://ik.imagekit.io/heydingus/afc-richmond-squad_N_fQ5BWYs) (I have the 'Create a caption from the image’s alt text' option checked in settings.)
Image posts won't delete
I've removed two images from my Google Drive folder but they still appear on my site: https://www.bookcraft.blog/. Any help?
Local Dev Environment Not Working
Hello, I've followed your instructions to get my local dev environment running, and it runs but then exits immediately. Checking the logs doesn't show me an error (that I can see) but it's like it shuts itself down immediately. Here is the console output: > Blot@0.0.0 local > NODE_PATH=app node app/local Local server capabilities: - twitter embeds false - markdown with pandoc false - .docx conversion false - .odt conversion false - dropbox client false - persistent dashboard sessions false Visit your dashboard: http://localhost:8080 Visit your blog: http://localhost:8081 Open your blog's folder: /Users/k/Projects/blot/tmp/example [05/Oct/2022:16:14:46 -0600] Build: Launching new build worker overseer=32731 Setting up local client for blog_df93682d05104490ab8b0fe28f721887 Setup complete [05/Oct/2022:16:14:47 -0600] Build: process pid=32734 launched [05/Oct/2022:16:14:47 -0600] Build: process pid=32734 exiting... And here is the log from my last run: 0 verbose cli [ 0 verbose cli '/Users/k/.nvm/versions/node/v16.14.0/bin/node', 0 verbose cli '/Users/k/.nvm/versions/node/v16.14.0/bin/npm', 0 verbose cli 'run', 0 verbose cli 'local' 0 verbose cli ] 1 info using npm@8.3.1 2 info using node@v16.14.0 3 timing npm:load:whichnode Completed in 0ms 4 timing config:load:defaults Completed in 2ms 5 timing config:load:file:/Users/k/.nvm/versions/node/v16.14.0/lib/node_modules/npm/npmrc Completed in 1ms 6 timing config:load:builtin Completed in 1ms 7 timing config:load:cli Completed in 2ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:/Users/k/Projects/blot/.npmrc Completed in 0ms 10 timing config:load:project Completed in 2ms 11 timing config:load:file:/Users/k/.npmrc Completed in 0ms 12 timing config:load:user Completed in 0ms 13 timing config:load:file:/Users/k/.nvm/versions/node/v16.14.0/etc/npmrc Completed in 0ms 14 timing config:load:global Completed in 0ms 15 timing config:load:validate Completed in 0ms 16 timing config:load:credentials Completed in 1ms 17 timing config:load:setEnvs Completed in 1ms 18 timing config:load Completed in 13ms 19 timing npm:load:configload Completed in 13ms 20 timing npm:load:setTitle Completed in 5ms 21 timing config:load:flatten Completed in 3ms 22 timing npm:load:display Completed in 5ms 23 verbose logfile /Users/k/.npm/_logs/2022-10-05T22_14_45_810Z-debug-0.log 24 timing npm:load:logFile Completed in 6ms 25 timing npm:load:timers Completed in 0ms 26 timing npm:load:configScope Completed in 0ms 27 timing npm:load Completed in 31ms 28 silly logfile start cleaning logs, removing 1 files 29 timing command:run Completed in 1697ms 30 verbose exit 0 31 timing npm Completed in 1806ms 32 info ok
Link metadata not following link format
For this post I've specified the metadata to be: --- Date: 2021-01-01 17:15 Link: the-2020-upgradies-upgrade-332 Tags: nerdery, podcasts, favorites Author: Jarrod Blundy --- but I want the permalink to follow the Link Format that I've specified in settings: /blog/{{YYYY}}/{{M}}/{{slug}} Is there a way to it to work like that? Did I set something wrong?
Phantom image blog post.
First of all, thanks so much for this wonderful tool, and your attentive service. I'm actually enjoying creating a site again. Second, on this page I have a phantom image blog post. I've deleted all instances of the image from my file structure, but the image nonetheless persists. Can you please help learn how to remove it? Cheers, Drew
Editing a template locally
I am unsure what happens if I switch over to editing a template locally. Will the active and current version of the template be saved in a folder on Dropbox (which I am using for my entries and pages)? And what if I, at one point, want to switch back to online editing?
How to use the {{more}} tag?
I am changing entries.html so that it only shows {{{summary}}} of a blog post. I would like to indicate a "more" link if there is more text. The {{more}} tag contains this information -- but how can I use this to display a "More" links? Can Mustache do this? Or do I need JavaScript?
Setting up FeedPress
I use FeedPress to manage my RSS feed. Ideally it would replace the standard feed for my site. For that I would have to set up a redirection from my site's normal feed to the FeedPress feed, while still giving FeedPress access to the normal site feed so it can be updated. Usually that's done via .htaccess file (see here). Is there any way this can be accomplished?
Change of template colors
Another newbie question: In the documentation I read somewhere that I can change the colors (background, text, etc) of the blog. However in the settings I could not find anything relating to this. - Do I need to make my own template for this?
Magazine theme - adding copyright notice to bottom of sidebar?
I'd like to add a copyright notice to the bottom of the sidebar in the Magazine theme. By "bottom" I mean the bottom of the viewport (regardless of screen - mobile, tablet, desktop). While I was poking around in the source code, I also saw this reference to a "top" button that should appear in the sidebar if the user scrolls the main content div below the height of the viewbox: <a id="top_button" style="position:absolute;bottom:0;width:3rem;height:3rem;line-height:3rem;" class="mb3 white bg-black-20 lh-title br-100 f3 db tc bn no-underline" href="#top">↑</a> As is, I could never trigger the button's appearance. But when I changed the "bottom:" value to anything but "0," the button did appear — and did function — as expected. I'd also be interested in moving this down to the bottom of the viewport. Any advice is greatly appreciated!
Showing the latest blog post in the home page
How can I show the latest blog post in its entirety on the home page using Essay. The user could them scroll down to see more posts.
Figure tags?
It looks like an image tag, ![](), generates <p>...<img ...>...</p>. I assume this is a fixed thing, or is there a way to generate <figure><img ...><figcaption>...</figcaption></figure> ?
Not last in the menu list?
I'm new to writing templates and I want to create a menu like this item1 - item2 - item3 - item4 My problem is that only want the '-' between the items. With the help of 'last' I can write something like this {{#menu}} <a href="{{url}}" title="{{label}}">{{label}}</a> - {{#last}} <a href="{{url}}" title="{{label}}">{{label}}</a> {{/last}} {{/menu}} Which of course results in two 'item4'. What I haven't figured out is how to match 'this items isn't the last item'. Can anyone tell me how to do this
How to create a page with iframe?
I'd like to create a page with an iframe snippet, the page is not rendered.
Access denied when cloning Git
Maybe there is a conflict with my local git but somehow when cloning with GitKraken I got an Unexpected EOF error which doesn't make much sense because I don't think I have any control over whatever git config Blot is using. Then when using the CLI I get 'fatal could not read remote repository make sure you have the correct access rights', Granted I changed urls a couple times. Maybe that's it? Anyway, Dave can you help out?
Add support for pagination for tagged & all entries?
I'm setting up a page for specific posts based on a tag. This works well using {{all_entries}} and using {{#tagged.topic}} as a filter but pagination no longer works. Pagination would also be useful for /tagged/ pages because they're getting long. Would it be possible to support this? Thanks! Ray
Two blogs, one domain, drastically different load times
The first blog is on my root domain. The second is on a subdomain. The TTFB is drastically slower on the second (subdomain) blog. The code of both blogs is almost identical. Is this a problem with my DNS provider, Cloudflare, or could my blogs be on different servers, one slower than the other? I'm just trying to diagnose the problem.
Backup Custom Template?
Year ago I backed up my custom template. Thought there was an option for that, but not seeing it on the Templates page. How do I do that?
Exclude some tags in list of tags
Is there a way to exclude some specific tags from being displayed in a list of tags (i.e. {{#all_tags}})? Thanks!