Hugo Redirect From Post in One Section to Another

Problem I have a post in one section of my site, say notes and miscellanea That is my canonical post. But I also need it to show up in the work section of my site, possibly with a another name. A Hugo alias in the yaml front matter does not work, since both sections exist and Hugo gets confused. Solution Make sure layouts/redirect/single.html exists within your Hugo folder structure and it contains just this line … {{- template "alias.html" (dict "Permalink" .Params.target) -}} Create your orginal post as usual Then go create a post in your other1 section with the following metadata: --- title: <Your title here> #date autogenerated by my archetype. if missing, add date date: 2025-11-06T08:30:54+05:30 type: redirect target: <url-to-redirect-to> summary: <Optional text, that will appear in the sectiones listing page> --- The date field is critical. The post might not appear where you expect it, if it’s absent. If not date, then you might need to use weight. One of the two is needed. In my case, the metadata looked like this: --- title: "The Plan for My New Hetzner VM" date: 2025-11-06T08:30:54+05:30 type: redirect target: /nm/2025-11-06/ summary: Alone and helpless, like you've lost your fight --- Done! You can see an entry for “The Plan for My New Hetzner VM” in my work section as you see in the pic below. Clicking that will redirect to the actual post in my Notes and Miscellanea section! Tada 🎉 Feedback on this post? Mail me at feedback at this domain or continue the discourse here. P.S. Subscribe to my mailing list! Forward these posts and letters to your friends and get them to subscribe! ...

November 6, 2025 · Mario Jason Braganza

Emacs Package Updation Checklist

Checklist for future, lost, Jason

July 6, 2025 · Mario Jason Braganza

2025-02-25 Notes

Just keep swimmin’!

February 25, 2025 · Mario Jason Braganza

2025-02-23 Notes

Goals ReDerb. Start very slowly 2025-02-23 08:50 Try and do stuff slowly. Still half asleep Shower thought. Here’s why it makes no sense for me (or anyone else) to compare myself to others success or measure myself by the progress they make / effort they are able to put in. It all boils down to, They’re not me and I’m not them. Time, Effort, Intensity. My life, what i can do, how much energy I can put into doing it. These probably are in my control in the sense of how much I can give. But I need to realise that what I can give, varies. Other people can probably give more, because of two other factors. Luck and Privilege. And those are not in my control. So folks are not inherently better or superior than you or me. So what I need to do, is give whatever I can, the mostest, while also being aware of all the other duties and responsibilities I have. And be aware that my life, my circumstances are different from others. That gives me peace. More expounding on the previous thought, on the effects of what I can give or pay with No money, means giving time, which means stuff takes longer than other folks. to speed it up, I can be more intense, which means giving up other things (that may be as, or more important.) Intensity also takes a toll on the body. (slipped discs at three different portions along my spine, have proven that to me 😂) So Intensity has a cost. Which brings us back to money. That is the most fungible resource, which is ofcourse why the “rich” favour it. (and also why, when some “rich” new client demands something outrageous of me, I now tend to price them out of my life, by demanding they pay in the same currency as they demand of me. Time and intensity12) So spend money when you can. And when you don’t have it, consider if whatever big thing you are attempting, is worth the time and sacrifice you are about to make. If not, temper them. Bind them with limited time, or lower intensity. Realise that everything has a cost. The best things in life aren’t priceless. They are paid for with your time and attention. Spend them wisely. ReDerb Referring back to books to learn more about packages and such Redid the rederb directory. Eli Benderski’s post on creating a Go project layout with modules is very instructional and beyond awesome 2025-02-23 21:15 Reviewed the week and created a plan. Schedule, shutdown, complete Feedback on this post? Mail me at feedback at this domain. P.S. Subscribe to my mailing list! Forward these posts and letters to your friends and get them to subscribe! P.P.S. Feed my insatiable reading habit. ...

February 23, 2025 · Mario Jason Braganza

Hack Hugo Post Metadata With Python

Adding alias urls to my blog posts

February 3, 2025 · Mario Jason Braganza

Tmux Start Session Maximized With Three Panes

New short ritual to get my writing sessions going

February 1, 2025 · Mario Jason Braganza