<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hugo on Liquid Stack</title><link>https://liquid-stack.pages.dev/tags/hugo/</link><description>Recent content in Hugo on Liquid Stack</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>My Blog</copyright><lastBuildDate>Sun, 02 Aug 2026 19:40:00 +0200</lastBuildDate><atom:link href="https://liquid-stack.pages.dev/tags/hugo/index.xml" rel="self" type="application/rss+xml"/><item><title>Welcome to Liquid Stack: New Theme Features</title><link>https://liquid-stack.pages.dev/p/welcome-to-liquid-stack/</link><pubDate>Sun, 02 Aug 2026 19:40:00 +0200</pubDate><guid>https://liquid-stack.pages.dev/p/welcome-to-liquid-stack/</guid><description>&lt;p&gt;Liquid Stack is built on &lt;a class="link" href="https://github.com/CaiJimmy/hugo-theme-stack" target="_blank" rel="noopener"
 &gt;Hugo Theme Stack&lt;/a&gt; v4.0.3. It keeps Stack&amp;rsquo;s blogging foundation and expands it through a visual system, homepage widgets, presentation pages, and management tools into a complete personal-site starter.&lt;/p&gt;
&lt;p&gt;Select &lt;strong&gt;Use this template&lt;/strong&gt; on GitHub, replace the sample identity and content, and start from a working framework.&lt;/p&gt;
&lt;h2 id="get-started"&gt;Get started
&lt;/h2&gt;&lt;h3 id="replace-the-site-identity"&gt;Replace the site identity
&lt;/h3&gt;&lt;p&gt;Update the site title, URL, sidebar copy, and social links in &lt;code&gt;hugo.yaml&lt;/code&gt;, then replace the sample avatar, logo, and social-preview image under &lt;code&gt;static/img/liquid-stack/&lt;/code&gt; with your own assets.&lt;/p&gt;
&lt;p&gt;Store each article in its own directory under &lt;code&gt;content/post/&lt;/code&gt;. English posts use &lt;code&gt;index.md&lt;/code&gt;, with a Simplified Chinese translation in &lt;code&gt;index.zh.md&lt;/code&gt; beside it. Keep the &lt;code&gt;slug&lt;/code&gt; stable after publishing so existing links continue to work.&lt;/p&gt;
&lt;h3 id="connect-services-when-needed"&gt;Connect services when needed
&lt;/h3&gt;&lt;p&gt;The public starter is not connected to personal comment, analytics, or deployment accounts. Sveltia CMS, Waline, page views, and management links keep their complete framework and can be enabled with your own repository, service endpoints, and public URLs.&lt;/p&gt;
&lt;h2 id="visual-design"&gt;Visual design
&lt;/h2&gt;&lt;h3 id="liquid-glass-inspiration"&gt;Liquid Glass inspiration
&lt;/h3&gt;&lt;p&gt;Liquid Stack&amp;rsquo;s largest update is its visual design. Inspired by Apple&amp;rsquo;s &lt;strong&gt;Liquid Glass&lt;/strong&gt; design language, it adopts the ideas that translate well to the web, including translucent material, clear content layers, light and dark adaptation, and gentle transformation.&lt;/p&gt;
&lt;p&gt;Management overlays and focused photo views use translucency and background blur. Navigation, shortcuts, and controls form a functional layer above the content. Soft shadows and subtle tonal changes define card boundaries, while light and dark modes tune the canvas, surfaces, and text independently. Hover, expansion, and entrance motion keep attention on the active content.&lt;/p&gt;
&lt;h3 id="rounded-corner-hierarchy"&gt;Rounded-corner hierarchy
&lt;/h3&gt;&lt;p&gt;Different corner sizes communicate the scale and role of each element.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;28-pixel large corners&lt;/strong&gt; appear on homepage widgets, article cards, dashboard panels, the launchpad, and photo-wall content&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;24 to 25-pixel medium corners&lt;/strong&gt; appear on the management menu, compact information panels, and mobile cards&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;18 to 19-pixel small corners&lt;/strong&gt; appear on application previews, icon containers, and smaller content modules&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Pill corners&lt;/strong&gt; appear on selected sidebar items, tags, buttons, language controls, and the dark-mode switch&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Circular outlines&lt;/strong&gt; are used for avatars, the emoji badge, and world clocks&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This hierarchy keeps large surfaces soft and complete while small controls remain precise.&lt;/p&gt;
&lt;h3 id="icon-theme"&gt;Icon theme
&lt;/h3&gt;&lt;p&gt;The sidebar, homepage widgets, management menu, article actions, and dashboard use &lt;strong&gt;Lucide&lt;/strong&gt; as their shared lightweight line-icon system. Related actions use consistent stroke weight, sizing, and spacing, while selected states rely on background and colour changes throughout the site.&lt;/p&gt;
&lt;h3 id="main-colours"&gt;Main colours
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Light mode&lt;/strong&gt; uses a pale grey-lavender canvas &lt;code&gt;#f5f5fa&lt;/code&gt;, white cards, deep blue-grey accents &lt;code&gt;#34495e&lt;/code&gt;, and soft grey body text &lt;code&gt;#707070&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dark mode&lt;/strong&gt; uses a deep grey canvas &lt;code&gt;#303030&lt;/code&gt;, charcoal cards &lt;code&gt;#424242&lt;/code&gt;, and an off-white accent &lt;code&gt;#ecf0f1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Functional accents&lt;/strong&gt; use small amounts of orange, blue, purple, and green in the world clock and dashboard statuses without changing the neutral foundation&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="homepage-widgets"&gt;Homepage widgets
&lt;/h2&gt;&lt;h3 id="profile-widget"&gt;Profile widget
&lt;/h3&gt;&lt;p&gt;A profile widget at the top of the homepage presents the avatar, greeting, site description, and social links. Its text, image, and links can be replaced while keeping the component structure.&lt;/p&gt;
&lt;h3 id="feature-shortcut-cards"&gt;Feature shortcut cards
&lt;/h3&gt;&lt;p&gt;Shortcut cards lead to the launchpad, About page, dashboard, and photo wall while previewing application icons or gallery content. Replacing their source data automatically updates the previews, and the complete blog feed remains below them.&lt;/p&gt;
&lt;h3 id="content-navigation-widgets"&gt;Content navigation widgets
&lt;/h3&gt;&lt;p&gt;Stack&amp;rsquo;s search, archives, categories, and tag-cloud widgets remain available with Liquid Stack&amp;rsquo;s card, icon, and spacing treatment.&lt;/p&gt;
&lt;h3 id="world-clocks"&gt;World clocks
&lt;/h3&gt;&lt;p&gt;Two analogue world clocks show the visitor&amp;rsquo;s local time and the configured site time, calculate the difference automatically, and allow the site time zone to be changed. The browser supplies the visitor&amp;rsquo;s local zone without requiring manual selection.&lt;/p&gt;
&lt;h2 id="content-and-reading"&gt;Content and reading
&lt;/h2&gt;&lt;h3 id="blog-content-structure"&gt;Blog content structure
&lt;/h3&gt;&lt;p&gt;Articles, archives, categories, tags, related posts, the table of contents, and full-text search continue to use Stack&amp;rsquo;s content model, so existing Hugo posts remain compatible. Liquid Stack gives article cards, taxonomy labels, metadata, and the table of contents a consistent visual treatment.&lt;/p&gt;
&lt;h3 id="localized-dates"&gt;Localized dates
&lt;/h3&gt;&lt;p&gt;Post lists, article pages, and archive lists format dates using the visitor&amp;rsquo;s browser region. Systems using year-month-day, day-month-year, or month-day-year therefore see their familiar order while the page retains a standard machine-readable date.&lt;/p&gt;
&lt;h3 id="printing-and-sharing"&gt;Printing and sharing
&lt;/h3&gt;&lt;p&gt;Article pages add print, copy-link, and system-share actions. Chinese pages support Weibo, QQ, and X; English pages support X, Reddit, LinkedIn, WhatsApp, and email. Printed articles include author and source attribution.&lt;/p&gt;
&lt;h3 id="automatic-language-switching"&gt;Automatic language switching
&lt;/h3&gt;&lt;p&gt;English and Simplified Chinese share the same homepage, sidebar, articles, launchpad, photo wall, About page, and dashboard layouts.&lt;/p&gt;
&lt;p&gt;On a first visit, the site reads the browser&amp;rsquo;s preferred language. A Chinese-language browser opens the matching Chinese page automatically. A manual choice in the sidebar is saved for later visits, and switching language from an article opens the translation of that same article whenever it is available.&lt;/p&gt;
&lt;p&gt;Visitors using another browser language receive a small translation suggestion. Code blocks and other technical text are protected from automatic translation so commands and examples remain intact.&lt;/p&gt;
&lt;h3 id="search-404-and-sitemaps"&gt;Search, 404, and sitemaps
&lt;/h3&gt;&lt;p&gt;The 404 page converts an invalid path into a search query and presents the search interface instead of stopping at an error message.&lt;/p&gt;
&lt;p&gt;Human-readable English and Chinese sitemaps are included alongside multilingual XML sitemaps, helping both visitors and search engines discover content.&lt;/p&gt;
&lt;h2 id="projects-photos-and-the-about-page"&gt;Projects, photos, and the About page
&lt;/h2&gt;&lt;h3 id="project-launchpad"&gt;Project launchpad
&lt;/h3&gt;&lt;p&gt;The launchpad presents software, creative work, research projects, or useful links. Each entry can define bilingual names, an icon, preview image, related article, and repository. Selecting an icon opens an application preview before the full article.&lt;/p&gt;
&lt;p&gt;The public starter includes complete examples. Replacing project data and images updates both the launchpad and its homepage widget.&lt;/p&gt;
&lt;h3 id="interactive-photo-wall"&gt;Interactive photo wall
&lt;/h3&gt;&lt;p&gt;The photo wall supports portrait and landscape images without forcing one crop. Visitors can rearrange photos by dragging them and open a focused view; the arrangement is stored in the current browser.&lt;/p&gt;
&lt;p&gt;It works for photography, travel, design work, events, and project screenshots. Replacing photo-wall data also updates the homepage gallery preview.&lt;/p&gt;
&lt;h3 id="about-page"&gt;About page
&lt;/h3&gt;&lt;p&gt;The About page keeps its entrance animation, timeline, floating menu, and section layout. A fictional résumé demonstrates the design without limiting how the page can be used.&lt;/p&gt;
&lt;p&gt;It can become a personal introduction, site story, team page, portfolio history, or formal résumé without rebuilding the layout and motion.&lt;/p&gt;
&lt;h2 id="management-statistics-and-interaction"&gt;Management, statistics, and interaction
&lt;/h2&gt;&lt;h3 id="site-management-menu"&gt;Site management menu
&lt;/h3&gt;&lt;p&gt;The emoji badge beside the avatar opens a management menu for the CMS, comment moderation, backlink applications, Cloudflare Pages, search consoles, analytics, and deployment platforms. Its entries come from a data file and can be replaced with other tools and addresses.&lt;/p&gt;
&lt;h3 id="sveltia-cms"&gt;Sveltia CMS
&lt;/h3&gt;&lt;p&gt;Sveltia CMS remains available at &lt;code&gt;/admin/&lt;/code&gt;. After connecting a GitHub repository, it can create and edit bilingual posts, categories, launchpad projects, and photo-wall content from the browser.&lt;/p&gt;
&lt;p&gt;The public starter includes the CMS framework and generic configuration without connecting the original author&amp;rsquo;s private services or credentials.&lt;/p&gt;
&lt;h3 id="site-dashboard"&gt;Site dashboard
&lt;/h3&gt;&lt;p&gt;The dashboard derives post counts, total words, days online, category distribution, popular tags, publishing habits, and an annual heatmap from Hugo content. It also presents the configured Hugo, Stack, deployment, comments, and CMS status.&lt;/p&gt;
&lt;p&gt;These summaries work without an external analytics platform.&lt;/p&gt;
&lt;h3 id="waline-comments"&gt;Waline comments
&lt;/h3&gt;&lt;p&gt;Comments continue to use Stack&amp;rsquo;s Waline support with theme-matched cards, typography, and dark mode. The section adds guidance, page-view and comment totals, reply notifications, and reactions, while the footer can show site-wide views.&lt;/p&gt;
&lt;p&gt;Users only need to provide their own Waline endpoint; the demo does not connect to a personal comment database.&lt;/p&gt;
&lt;h3 id="friend-links-and-applications"&gt;Friend links and applications
&lt;/h3&gt;&lt;p&gt;The friend-link module expands the compact link list into site cards, exchange rules, application and contact actions, and an optional embedded form. A separate platform section can link to GitHub, portfolios, or other public profiles.&lt;/p&gt;
&lt;h2 id="open-source-template-and-customization"&gt;Open-source template and customization
&lt;/h2&gt;&lt;h3 id="stack-remains-the-foundation"&gt;Stack remains the foundation
&lt;/h3&gt;&lt;p&gt;Liquid Stack continues to use the official Stack v4.0.3 release as its blog foundation. Project-level Hugo overrides maintain the additions without editing the official files under &lt;code&gt;themes/hugo-theme-stack/&lt;/code&gt;, keeping the upstream structure and Liquid Stack extensions separate.&lt;/p&gt;
&lt;h3 id="generic-examples-and-privacy"&gt;Generic examples and privacy
&lt;/h3&gt;&lt;p&gt;The public starter keeps the pages, homepage widgets, management tools, and bilingual examples without publishing the original author&amp;rsquo;s private posts, real résumé, avatar, or service credentials. Sample projects, images, logos, comments, and management links can all be replaced.&lt;/p&gt;
&lt;h3 id="suitable-sites"&gt;Suitable sites
&lt;/h3&gt;&lt;p&gt;Liquid Stack is suitable for personal blogs, digital gardens, developer or designer portfolios, project showcases, photography journals, and bilingual sites that need a browser-based CMS. Explore the live demo, then select &lt;strong&gt;Use this template&lt;/strong&gt; on GitHub to create your own copy.&lt;/p&gt;</description></item><item><title>Designing a Bilingual Publishing Workflow</title><link>https://liquid-stack.pages.dev/p/designing-for-two-languages/</link><pubDate>Tue, 28 Jul 2026 00:00:00 +0000</pubDate><guid>https://liquid-stack.pages.dev/p/designing-for-two-languages/</guid><description>&lt;img src="https://liquid-stack.pages.dev/img/posts/bilingual-publishing.png" alt="Featured image of post Designing a Bilingual Publishing Workflow" /&gt;&lt;p&gt;Keeping language variants in one page bundle makes translations easier to review, keeps shared images in one place, and lets Hugo expose language switching automatically.&lt;/p&gt;</description></item><item><title>A Guide to Hugo Shortcodes</title><link>https://liquid-stack.pages.dev/p/using-shortcodes/</link><pubDate>Fri, 24 Jul 2026 00:00:00 +0000</pubDate><guid>https://liquid-stack.pages.dev/p/using-shortcodes/</guid><description>&lt;p&gt;Shortcodes are Hugo’s way to insert reusable structures into Markdown, making them useful for callouts, embeds, and repeated layouts.&lt;/p&gt;
&lt;h2 id="start-with-existing-shortcodes"&gt;Start with existing Shortcodes
&lt;/h2&gt;&lt;p&gt;Browse &lt;code&gt;layouts/shortcodes/&lt;/code&gt; to see what the theme already provides. Reuse existing components before adding one-off HTML for a single article.&lt;/p&gt;
&lt;h2 id="when-to-use-one"&gt;When to use one
&lt;/h2&gt;&lt;p&gt;Use a Shortcode when content needs a fixed structure, recurs across posts, or must render as HTML. Keep ordinary paragraphs, lists, and code blocks in Markdown.&lt;/p&gt;
&lt;h2 id="test-the-result"&gt;Test the result
&lt;/h2&gt;&lt;p&gt;Preview the post on desktop and mobile after adding a Shortcode. If it uses an image, video, or external URL, check the resource path and its failure state too.&lt;/p&gt;</description></item><item><title>Quick Start: Deploy Liquid Stack</title><link>https://liquid-stack.pages.dev/p/quick-start-deploying-liquid-stack/</link><pubDate>Mon, 20 Jul 2026 00:00:00 +0000</pubDate><guid>https://liquid-stack.pages.dev/p/quick-start-deploying-liquid-stack/</guid><description>&lt;p&gt;This guide shows how to use Liquid Stack as the starting point for your own site and publish a first version.&lt;/p&gt;
&lt;h2 id="copy-the-project"&gt;Copy the project
&lt;/h2&gt;&lt;p&gt;Use GitHub’s template flow or copy this repository. Then edit the title, subtitle, avatar path, and GitHub links in &lt;code&gt;hugo.yaml&lt;/code&gt;. Do not edit &lt;code&gt;public/&lt;/code&gt; or &lt;code&gt;resources/&lt;/code&gt;; Hugo regenerates them during a build.&lt;/p&gt;
&lt;h2 id="preview-locally"&gt;Preview locally
&lt;/h2&gt;&lt;p&gt;Install Hugo Extended and run &lt;code&gt;hugo server -D&lt;/code&gt; from the project root. Open the local address shown in the terminal. Markdown, configuration, and style changes refresh automatically.&lt;/p&gt;
&lt;h2 id="check-before-publishing"&gt;Check before publishing
&lt;/h2&gt;&lt;p&gt;Run &lt;code&gt;hugo --minify --cleanDestinationDir --ignoreCache&lt;/code&gt;. Confirm that the home page, posts, photo wall, launchpad, and admin page open correctly before pushing source files to your repository. The generated &lt;code&gt;public/&lt;/code&gt; directory can be published to Cloudflare Pages or another static host.&lt;/p&gt;
&lt;h2 id="next-step"&gt;Next step
&lt;/h2&gt;&lt;p&gt;Replace the sample values in &lt;code&gt;hugo.yaml&lt;/code&gt;, then write your first post. The launchpad, photo wall, links, and comment configuration are all kept for you to adapt.&lt;/p&gt;</description></item></channel></rss>