Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

stackbit.yaml 5.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. stackbitVersion: ~0.2.39
  2. ssgName: custom
  3. publishDir: exampleSite/public
  4. buildCommand: cd exampleSite && hugo --gc --baseURL "/" --themesDir ../.. && cd ..
  5. uploadDir: uploads
  6. staticDir: exampleSite/static
  7. pagesDir: exampleSite/content
  8. dataDir: exampleSite
  9. models:
  10. config:
  11. type: data
  12. label: Config
  13. file: config.toml
  14. fields:
  15. - type: string
  16. name: title
  17. label: Title
  18. required: true
  19. - type: string
  20. name: baseURL
  21. label: Base URL
  22. description: Hostname (and path) to the root
  23. hidden: false
  24. - type: string
  25. name: languageCode
  26. label: Language Code
  27. hidden: true
  28. - type: string
  29. name: MetaDataFormat
  30. label: MetaDataFormat
  31. hidden: true
  32. - type: string
  33. name: DefaultContentLanguage
  34. label: DefaultContentLanguage
  35. hidden: true
  36. - type: string
  37. name: themesDir
  38. label: Themes Directory
  39. hidden: true
  40. - type: string
  41. name: theme
  42. label: Theme Name
  43. hidden: true
  44. - type: string
  45. name: SectionPagesMenu
  46. label: Main Section
  47. hidden: false
  48. - type: number
  49. name: Paginate
  50. label: Paginate Per Page
  51. hidden: false
  52. - type: boolean
  53. name: enableRobotsTXT
  54. label: Enable Robots
  55. hidden: true
  56. - type: string
  57. name: googleAnalytics
  58. label: Google Analytics ID
  59. - type: object
  60. name: sitemap
  61. label: sitemap
  62. hidden: true
  63. fields:
  64. - type: string
  65. name: changefreq
  66. label: changefreq
  67. - type: number
  68. subtype: float
  69. name: priority
  70. label: priority
  71. - type: string
  72. name: filename
  73. label: filename
  74. - type: object
  75. name: params
  76. label: Params
  77. description: Site parameters
  78. required: true
  79. fields:
  80. - type: string
  81. name: featured_image
  82. label: Logo
  83. - type: string
  84. name: favicon
  85. label: Favicon
  86. - type: string
  87. name: description
  88. label: Description
  89. - type: string
  90. name: description
  91. label: Description
  92. - type: string
  93. name: facebook
  94. label: Facebook
  95. - type: string
  96. name: twitter
  97. label: Twitter
  98. - type: string
  99. name: instagram
  100. label: Instagram
  101. - type: string
  102. name: youtube
  103. label: Youtube
  104. - type: string
  105. name: github
  106. label: Github
  107. - type: string
  108. name: gitlab
  109. label: Gitlab
  110. - type: string
  111. name: linkedin
  112. label: Linkedin
  113. - type: string
  114. name: mastodon
  115. label: Mastodon
  116. - type: string
  117. name: slack
  118. label: Slack
  119. - type: string
  120. name: background_color_class
  121. label: background_color_class
  122. - type: number
  123. name: recent_posts_number
  124. label: recent_posts_number
  125. home:
  126. type: page
  127. label: Home
  128. file: _index.md
  129. hideContent: false
  130. singleInstance: true
  131. layout: index.html
  132. fields:
  133. - type: string
  134. name: title
  135. label: Title
  136. description: The title of the page.
  137. required: true
  138. - type: image
  139. name: featured_image
  140. label: Featured Image
  141. description: Image displayed at in the pages intro section
  142. - type: string
  143. name: description
  144. label: Description
  145. - type: string
  146. name: layout
  147. label: layout
  148. basicpage:
  149. type: page
  150. label: Basic Page
  151. match: "*.md"
  152. exclude: _index.md
  153. layout: page/single.html
  154. fields:
  155. - type: string
  156. name: title
  157. label: Title
  158. description: The title of the page.
  159. - type: string
  160. name: type
  161. label: type
  162. default: page
  163. - type: boolean
  164. name: omit_header_text
  165. label: omit_header_text
  166. description: The title of the page.
  167. - type: image
  168. name: featured_image
  169. label: Featured Image
  170. description: Image displayed at in the pages intro section
  171. - type: string
  172. name: description
  173. label: Description
  174. - type: enum
  175. name: menu
  176. label: Menu
  177. options:
  178. - label: Main Menu
  179. value: main
  180. type: object
  181. section:
  182. type: page
  183. label: Section
  184. match: "*/_index.md"
  185. layout: _default/list.html
  186. fields:
  187. - type: string
  188. name: title
  189. label: Title
  190. description: The title of the page.
  191. - type: image
  192. name: featured_image
  193. label: Featured Image
  194. description: Image displayed at in the pages intro section
  195. - type: string
  196. name: description
  197. label: Description
  198. - type: date
  199. name: date
  200. label: Date
  201. - type: enum
  202. name: menu
  203. label: menu
  204. default: main
  205. options:
  206. - label: main
  207. value: main
  208. post:
  209. type: page
  210. label: Posts
  211. folder: post
  212. exclude: _index.md
  213. layout: _default/single.html
  214. fields:
  215. - type: string
  216. name: title
  217. label: Title
  218. - type: date
  219. name: date
  220. label: Date
  221. - type: image
  222. name: featured_image
  223. label: Featured Image
  224. description: Image displayed at in the pages intro section
  225. - type: string
  226. name: description
  227. label: Description
  228. - type: enum
  229. name: tags
  230. label: tags
  231. - type: boolean
  232. name: draft
  233. label: Draft