URL and Slug

PuGo generates URL by slug in default.

Post

Post’s URL is created by certain layout as /[year]/[month]/[day]/[slug].html. If no slug for a post, PuGo uses title to generate URL:

title = "URL and Slug"
# The URL is:
# /2016/3/15/URL-and-Slug.html

Page

Page’s URL is created by relative path or slug. When slug is empty, use relative path.

# file : source/page/about/me.md
title = "URL and Slug"
# The URL is:
# /about/me.html