This is the code for the website served at https://ur.gs/
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

198 lignes
5.9KB

  1. # Site settings (baseurl must end with a trailing slash!)
  2. baseurl = "http://replace-this-with-your-hugo-site.com/"
  3. languageCode = "en-us"
  4. title = "Grid Side"
  5. theme = "grid-side"
  6. copyright = "Copyright © by Your Name"
  7. # The theme uses pagination for post, gallery, and project listings.
  8. #paginate = 12
  9. # The theme supports disqus, which will appear only on deployed sites,
  10. # not locally when run with `hugo server`; as with standard Hugo disqus,
  11. # you can specify disqus_identifier, disqus_title, and disqus_url in the
  12. # front matter of specific content.
  13. #disqusShortname = "yourDisqusShortname"
  14. # The theme supports menus with up to one submenu per menu item
  15. # The menu name must be "Main"
  16. SectionPagesMenu = "Main"
  17. [Params]
  18. # When set to true, will use infinite scrolling to load paginated content
  19. # for posts, galleries, and projects
  20. infinite_scroll = true
  21. #
  22. # The post, project, and gallery sections can have infinite scroll turned
  23. # on/off individually. These values override the infinte_scroll option
  24. # above.
  25. #
  26. #[Params.Post]
  27. #
  28. # infinite_scroll = false
  29. #
  30. #[Params.Project]
  31. #
  32. # infinite_scroll = false
  33. #
  34. #[Params.Gallery]
  35. #
  36. # infinite_scroll = false
  37. #
  38. # Optionally specify the style for highlight.js to enable it, otherwise
  39. # you can use Pygments on the server side.
  40. #
  41. [Params.Highlight]
  42. style = "railscasts"
  43. #
  44. # Contains the main grid cell of your site (such as a picture of yourself)
  45. # along with your name, description, and email. Any empty field will
  46. # not be included. Not providing an image will use a color. Not specifying
  47. # the Header results in this cell not appearing in the site.
  48. #
  49. [Params.Header]
  50. # This is optional
  51. name = "Your Name"
  52. # This is optional
  53. description = "Your Description"
  54. # This is optional
  55. email = "your@email.com"
  56. # Not providing this results in a color being used
  57. image = "/img/banner.jpg"
  58. # This uses the CSS background-position, given the image above is set,
  59. # useful when you want to adjust where the background-image lands
  60. #image_position = "top"
  61. # This must be provided if the image above is not
  62. #color = "#FFF"
  63. #
  64. # Contains the footer of your main page and will also append items to
  65. # the end of your sidebar in non-homepage pages.
  66. #
  67. [Params.Footer]
  68. #
  69. # Represents the list of icons and associated links to use in your
  70. # footer and sidebar. Your copyright information will always be
  71. # shown in the footer.
  72. #
  73. # The icon class is a font awesome classname.
  74. #
  75. # e.g. twitter == "fa fa-twitter"
  76. #
  77. [[Params.Footer.List]]
  78. icon_class = "twitter"
  79. icon_link = "#!"
  80. [[Params.Footer.List]]
  81. icon_class = "linkedin"
  82. icon_link = "#!"
  83. [[Params.Footer.List]]
  84. icon_class = "google-plus"
  85. icon_link = "#!"
  86. [[Params.Footer.List]]
  87. icon_class = "github"
  88. icon_link = "#!"
  89. #
  90. # Contains the Cells representing the sections of your website. Each cell
  91. # contains the name of the cell, an image depicting what the content
  92. # represents, and a link to use when the cell is clicked.
  93. #
  94. # Not providing an image will use the color specified by 'color' as the
  95. # background color (default to #FFF).
  96. #
  97. # You can embed an icon using 'icon' to specify the classes to use
  98. # for the icon (such as 'fa fa-flag' when using font awesome).
  99. #
  100. # By default, each cell has a grid size of 1/3 (4 out of 12) for large
  101. # screens, 1/2 (6 out of 12) for medium screens, and 1 (12 out of 12) for
  102. # small screens. To change the cell's size per screen, use the properties
  103. # 'cell_large', 'cell_medium', and 'cell_small' respectively with a number
  104. # ranging from 1 to 12. Make sure that Cells have nubmers equalling 12
  105. # per row.
  106. #
  107. [Params.Cells]
  108. [[Params.Cells.List]]
  109. # The name to use with the cell, shows up on hover
  110. name = "Posts"
  111. # The link to associate with the cell, used when clicked
  112. link = "/post/"
  113. # The image to use as a background-image for the cell
  114. image = "/img/car.jpg"
  115. # This uses the CSS background-position, given the image above is
  116. # set, useful when you want to adjust where the background-image
  117. # lands
  118. #image_position = "top"
  119. # The color to use as a fallback if an image is not provided
  120. #color = "blue"
  121. # Grays out the image (if provided), the image will be restored
  122. # to normal color on hover
  123. #grayscale = true
  124. # Disables the normal cell highlight on hover
  125. #no_highlight = true
  126. # Normally, a cell only shows text (its name) on hover, setting
  127. # this to true results in the cell always showing its text
  128. # and also using a dark overlay to make the white text be more
  129. # visible
  130. #always_show_text = true
  131. # Grays out the cell and disables click functionality on it
  132. #disable = true
  133. [[Params.Cells.List]]
  134. name = "Gallery"
  135. link = "/gallery/"
  136. image = "/img/cup.jpg"
  137. [[Params.Cells.List]]
  138. name = "Projects"
  139. link = "/project/"
  140. image = "/img/drone.jpg"
  141. [[Params.Cells.List]]
  142. name = "Custom Post Section Name"
  143. link = "/custompost/"
  144. image = "/img/food.jpg"
  145. [[Params.Cells.List]]
  146. name = "Custom Gallery Section Name"
  147. link = "/customgallery/"
  148. image = "/img/jars.jpg"
  149. [[Params.Cells.List]]
  150. name = "Custom Project Section Name"
  151. link = "/customproject/"
  152. image = "/img/phone.jpg"