Log in Sign up

Questions

Ask question

Float Text around and image

Has anyone gotten the CSS correct to float and image left or right using the magazine template? I have made a few attempts but either I break something else or not displayed correct. Basically want to wrap text around an image on a post

Expired certificate for previews

Not so much a question as an observation. It looks like the certificate for the preview domain has expired, so blog previews are not working.

Recover links to blog and archive pages?

When creating my blog, I deleted the links on the links page to the Archive page and Blog page. Is it possible to re-create them? When I simply add those same links again, they don't reappear.

How to "hard code" the JSON variables into a script tag when I need them in the JavaScript of a page

Following up on this question I would like to find out more in detail how to "hard code the JSON variables into a script tag" when I need to work with them in JavaScript. For example the tags variable in the page's JSON structure, how can I access this in JavaScript? Do I read it out of the DOM , say, in the load event? Sorry, but I am a bit confused here.

Self-hosted version of Blot?

As a huge Blot fan I truly cannot consider any alternative for any reason. But when it comes to managing your own server, I was wondering if there'll be a version of Blot that can be self-hosted one day?

No such remote 'origin'

I have initialized an empty repository with a first commit and a few files, but when following the instructions for adding an existing repository here, I get error: No such remote 'origin' Have I missed a step?

Dark mode for Blog template?

Is there any way to switch the color variables for background color and text color in the Blog template when someone is using dark mode? I know how to do it with a media query in CSS, but I'm not sure how to do it with variables defined in a JSON file. Thanks!

Hiding the date when creating a new home page with the Magazine theme

I see that it is possible in this example site but I can't figure out how to do it. Do I just have to delete some part of the HTML?

Hide tags

I'm new to Blot, tried searching through Questions but didn't see anything that answered this question exactly. Is there a way to hide tags from showing on the left side of the Magazine theme?

Multiple posts in a page

A file in the Pages folder makes a link. Can there be multiple posts in that "link"? The result would be links to folders that contain tagged posts (or files put in that folder automatically tagged.) It looks like the Archive folder has been modified here to begin what I'm after.

How to modify values in the JSON structure associated with a Blot page?

All the Blot data like entries and tags are stored in a JSON structure associated with each page. (I mean the JSON data I can see when I add ?debug=true to the page.) When I'm on the page how can I access (and modify) this JSON info via JavaScript, say, in the load event? I assume the JSON structure is stored as an object somewhere in the DOM?

Analytics integration with GoatCounter

Hello! Do you have a way I can integrate with GoatCounter? I'm a software dev in my day job, so I'm totally ok with writing some custom JS on my site if there's a way to do that. Thanks! :D https://www.goatcounter.com/

Home Page Grid on Portfolio

I'm trying to create multiple grid for each tag instead of a single grid but when I try filtering with a tag it doesn't render images. Here's where my entries.html files is at: {{> header}} <div class="entries"> {{#allEntries}} {{#tagged.nuvu projects}} {{#thumbnail.large.url}} <a class="post photo" href="{{{url}}}" style=" max-width:{{thumbnail.large.width}}; max-height:{{thumbnail.large.height}}; width:calc({{thumbnail.large.width}}px*{{thumbnail_size}}/{{thumbnail.large.height}}); flex-grow:calc({{thumbnail.large.width}}*{{thumbnail_size}}/{{thumbnail.large.height}})"> <i style="padding-bottom:{{thumbnail.large.ratio}}"></i> <img src="{{{thumbnail.large.url}}}" class="pre-loaded" onload="this.className+=' loaded';" /> <noscript> <img src="{{{thumbnail.large.url}}}"> </noscript> </a> {{/thumbnail.large.url}} {{/tagged.nuvu projects}} {{/allEntries}} </div> {{> footer}}

Emoji in title causes incorrect capitalization?

Here's a weird one. I use the link (🔗) emoji in the title of my linked blog posts. But that has caused the first letter in the title of this post to be lowercase instead of uppercase. (It also has the permalink problem noted here.)

4 replies 2 years ago     titlecase  bug  resolved 

How to modify names of tags for display?

In a page template I can iterate over my tags via {{#tags}} ... {{/tags}}. I then can display the tag name via {{name}}. So far, so good. Some of my source tags start with "cat-" (e.g. "cat-science" or "cat-computer"). However I would like to display only the part after "cat-" (i.e. "science" or resp. "computer"). Can I do this?

How to remove thumbnail from your main page

I do have two images in the blog I've written, but I don't want the thumbnail to be shown on the home page. How can I do that?

Names, aliases, mustache lambdas

About this topic I asked a more specific question yesterday(*), but here a more general approach: Is there a way to mangle the value of variables in mustache via some sort of function? Also, in the specific case of tags, I saw that there are two variables: {{name}} and {{tag}}. According to the doco {{name}} is an "Alias for tag". So can I somehow tweak how this alias is generated, say always cut of "cat-" from its value if the value always starts with "cat-"? (*) But I'm not sure whether the other question "drowned", because I myself had added a comment which appears as an answer...

Menu Link Items Order

Any idea why my Links don't follow the order I've specified in Settings? See 'Search' not at far right. I've had the order get jumbled from time to time, and I can't figure out why it would change without my interaction.

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

Two blogs

How do I set up two blogs? Do I have two separate Dropbox "master" folders, one for each blog?

Previous 1 … 23 24 25 26 27 … 38 Next