You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

stackbit.yaml 5.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. stackbitVersion: ~0.2.39
  2. ssgName: custom
  3. publishDir: exampleSite/public
  4. buildCommand: cd exampleSite && hugo --gc --baseURL "/" --themesDir ../.. && cd ..
  5. uploadDir: exampleSite/static/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: integer
  68. name: priority
  69. label: priority
  70. - type: string
  71. name: filename
  72. label: filename
  73. - type: object
  74. name: params
  75. label: Params
  76. description: Site parameters
  77. required: true
  78. fields:
  79. - type: string
  80. name: featured_image
  81. label: Logo
  82. - type: string
  83. name: favicon
  84. label: Favicon
  85. - type: string
  86. name: description
  87. label: Description
  88. - type: string
  89. name: description
  90. label: Description
  91. - type: string
  92. name: facebook
  93. label: Facebook
  94. - type: string
  95. name: twitter
  96. label: Twitter
  97. - type: string
  98. name: instagram
  99. label: Instagram
  100. - type: string
  101. name: youtube
  102. label: Youtube
  103. - type: string
  104. name: github
  105. label: Github
  106. - type: string
  107. name: gitlab
  108. label: Gitlab
  109. - type: string
  110. name: linkedin
  111. label: Linkedin
  112. - type: string
  113. name: mastodon
  114. label: Mastodon
  115. - type: string
  116. name: background_color_class
  117. label: background_color_class
  118. - type: number
  119. name: recent_posts_number
  120. label: recent_posts_number
  121. home:
  122. type: page
  123. label: Home
  124. file: _index.md
  125. hideContent: false
  126. singleInstance: true
  127. layout: index.html
  128. fields:
  129. - type: string
  130. name: title
  131. label: Title
  132. description: The title of the page.
  133. required: true
  134. - type: image
  135. name: featured_image
  136. label: Featured Image
  137. description: Image displayed at in the pages intro section
  138. - type: string
  139. name: description
  140. label: Description
  141. - type: string
  142. name: layout
  143. label: layout
  144. basicpage:
  145. type: page
  146. label: Basic Page
  147. match: "*.md"
  148. exclude: _index.md
  149. layout: page/single.html
  150. fields:
  151. - type: string
  152. name: title
  153. label: Title
  154. description: The title of the page.
  155. - type: string
  156. name: type
  157. label: type
  158. default: page
  159. - type: boolean
  160. name: omit_header_text
  161. label: omit_header_text
  162. description: The title of the page.
  163. - type: image
  164. name: featured_image
  165. label: Featured Image
  166. description: Image displayed at in the pages intro section
  167. - type: string
  168. name: description
  169. label: Description
  170. - type: enum
  171. name: menu
  172. label: Menu
  173. options:
  174. - label: Main Menu
  175. value: main
  176. type: object
  177. section:
  178. type: page
  179. label: Section
  180. match: "*/_index.md"
  181. layout: _default/list.html
  182. fields:
  183. - type: string
  184. name: title
  185. label: Title
  186. description: The title of the page.
  187. - type: image
  188. name: featured_image
  189. label: Featured Image
  190. description: Image displayed at in the pages intro section
  191. - type: string
  192. name: description
  193. label: Description
  194. - type: date
  195. name: date
  196. label: Date
  197. - type: enum
  198. name: menu
  199. label: menu
  200. default: main
  201. options:
  202. - label: main
  203. value: main
  204. post:
  205. type: page
  206. label: Posts
  207. folder: post
  208. exclude: _index.md
  209. layout: _default/single.html
  210. fields:
  211. - type: string
  212. name: title
  213. label: Title
  214. - type: date
  215. name: date
  216. label: Date
  217. - type: image
  218. name: featured_image
  219. label: Featured Image
  220. description: Image displayed at in the pages intro section
  221. - type: string
  222. name: description
  223. label: Description
  224. - type: enum
  225. name: tags
  226. label: tags
  227. - type: boolean
  228. name: draft
  229. label: Draft