Logo
Explore Help
Sign In
zig/pugz
1
0
Fork 0
You've already forked pugz
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
6eddcabb8cf86c7da88d690734fd492b9615c4ec
pugz/examples/demo/views/layouts/base.pug

19 lines
416 B
Plaintext
Raw Normal View History

feat: add template inheritance (extends/block) support - ViewEngine now supports extends and named blocks - Each route gets exclusive cached AST (no shared parent layouts) - Fix iteration over struct arrays in each loops - Add demo app with full e-commerce layout using extends - Serve static files from public folder - Bump version to 0.3.0
2026-01-25 15:23:57 +05:30
doctype html
html(lang="en")
head
meta(charset="UTF-8")
meta(name="viewport" content="width=device-width, initial-scale=1.0")
link(rel="stylesheet" href="/css/style.css")
block title
title Pugz Store
body
include, extend file path correction
2026-01-29 19:09:53 +05:30
include ../partials/navbar.pug
feat: add template inheritance (extends/block) support - ViewEngine now supports extends and named blocks - Each route gets exclusive cached AST (no shared parent layouts) - Fix iteration over struct arrays in each loops - Add demo app with full e-commerce layout using extends - Serve static files from public folder - Bump version to 0.3.0
2026-01-25 15:23:57 +05:30
main
block content
footer.footer
.container
.footer-content
p Built with Pugz - A Pug template engine for Zig
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 51ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API