site.yaml 1.5 KB

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