Hugo Markdown Tip

Hugo Markdown Tip Tips for typing Hugo Markdown. Get the last path of the URL path.Base PATH {{ path.Base "a/news.html" }} → "news.html" {{ path.Base "news.html" }} → "news.html" {{ path.Base "a/b/c" }} → "c" {{ path.Base "/x/y/z/" }} → "z" Get Page params {{< param testparam >}} {{< param "my. Read more