site.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. title: Grav # Name of the site
  2. author:
  3. name: John Appleseed # Default author name
  4. email: 'john@email.com' # Default author email
  5. taxonomies: [category,tag] # Arbitrary list of taxonomy types
  6. metadata:
  7. description: 'My Grav Site' # Site description
  8. summary:
  9. enabled: true # enable or disable summary of page
  10. format: short # long = summary delimiter will be ignored; short = use the first occurrence of delimiter or size
  11. size: 300 # Maximum length of summary (characters)
  12. delimiter: === # The summary delimiter
  13. redirects:
  14. /redirect-test: / # Redirect test goes to home page
  15. /old/(.*): /new/$1 # Would redirect /old/my-page to /new/my-page
  16. routes:
  17. /something/else: '/blog/sample-3' # Alias for /blog/sample-3
  18. /new/(.*): '/blog/$1' # Regex any /new/my-page URL to /blog/my-page Route
  19. blog:
  20. route: '/blog' # Custom value added (accessible via system.blog.route)
  21. #menu: # Sample Menu Example
  22. # - text: Source
  23. # icon: github
  24. # url: https://github.com/getgrav/grav
  25. # - icon: twitter
  26. # url: http://twitter.com/getgrav