Two-column desktop layout, responsive sidebar that moves to bottom on mobile
Building command-line tools in Go is straightforward and powerful. Let's explore how to create a simple CLI application.
This simple example demonstrates the basics. For larger projects, consider using the cobra library for more advanced CLI features.
The key advantages of Go for CLI tools are:
Building command-line tools in Go is straightforward and powerful...
[Article content continues...]
Static pages (/is, /is/here, /is/legal) use the same two-column layout with sidebar. The sidebar can contain:
Implementation: Hugo + Chroma syntax highlighter (built-in)
Desktop (1024px+): CSS Grid layout with main content + sticky sidebar. Sidebar remains visible while scrolling.
Tablet/Mobile: Single column. Sidebar content rendered after main content using CSS order property or media query flexbox reorder.
Content Source: Sidebar content defined via optional front-matter fields or template logic (e.g., show_sharing: true, show_metadata: true).