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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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: background_color_class
  118. label: background_color_class
  119. - type: number
  120. name: recent_posts_number
  121. label: recent_posts_number
  122. home:
  123. type: page
  124. label: Home
  125. file: _index.md
  126. hideContent: false
  127. singleInstance: true
  128. layout: index.html
  129. fields:
  130. - type: string
  131. name: title
  132. label: Title
  133. description: The title of the page.
  134. required: true
  135. - type: image
  136. name: featured_image
  137. label: Featured Image
  138. description: Image displayed at in the pages intro section
  139. - type: string
  140. name: description
  141. label: Description
  142. - type: string
  143. name: layout
  144. label: layout
  145. basicpage:
  146. type: page
  147. label: Basic Page
  148. match: "*.md"
  149. exclude: _index.md
  150. layout: page/single.html
  151. fields:
  152. - type: string
  153. name: title
  154. label: Title
  155. description: The title of the page.
  156. - type: string
  157. name: type
  158. label: type
  159. default: page
  160. - type: boolean
  161. name: omit_header_text
  162. label: omit_header_text
  163. description: The title of the page.
  164. - type: image
  165. name: featured_image
  166. label: Featured Image
  167. description: Image displayed at in the pages intro section
  168. - type: string
  169. name: description
  170. label: Description
  171. - type: enum
  172. name: menu
  173. label: Menu
  174. options:
  175. - label: Main Menu
  176. value: main
  177. type: object
  178. section:
  179. type: page
  180. label: Section
  181. match: "*/_index.md"
  182. layout: _default/list.html
  183. fields:
  184. - type: string
  185. name: title
  186. label: Title
  187. description: The title of the page.
  188. - type: image
  189. name: featured_image
  190. label: Featured Image
  191. description: Image displayed at in the pages intro section
  192. - type: string
  193. name: description
  194. label: Description
  195. - type: date
  196. name: date
  197. label: Date
  198. - type: enum
  199. name: menu
  200. label: menu
  201. default: main
  202. options:
  203. - label: main
  204. value: main
  205. post:
  206. type: page
  207. label: Posts
  208. folder: post
  209. exclude: _index.md
  210. layout: _default/single.html
  211. fields:
  212. - type: string
  213. name: title
  214. label: Title
  215. - type: date
  216. name: date
  217. label: Date
  218. - type: image
  219. name: featured_image
  220. label: Featured Image
  221. description: Image displayed at in the pages intro section
  222. - type: string
  223. name: description
  224. label: Description
  225. - type: enum
  226. name: tags
  227. label: tags
  228. - type: boolean
  229. name: draft
  230. label: Draft