|
| 1 | +baseURL = "https://hack4rail.org" # may be changed when deploying to preview environments |
| 2 | +title = "Hack4Rail" |
| 3 | + |
| 4 | +theme = ["hack4rail", "hugomod-images", "hugo-cloak-email"] |
| 5 | +# Site languages. Available translations in the theme's `/i18n` directory. |
| 6 | +languageCode = "en" |
| 7 | +defaultContentLanguage = "en" |
| 8 | + |
| 9 | +# number of words of summarized post content (default 70) |
| 10 | +summaryLength = 70 |
| 11 | + |
| 12 | +# not pluralize title pages by default |
| 13 | +pluralizelisttitles = false |
| 14 | + |
| 15 | +disableKinds = ["taxonomy", "rss"] |
| 16 | + |
| 17 | +# Define the number of posts per page |
| 18 | +[pagination] |
| 19 | + pagerSize = 10 |
| 20 | + |
| 21 | +# English quotation marks |
| 22 | +[markup.goldmark.extensions.typographer] |
| 23 | + leftDoubleQuote = '“' |
| 24 | + rightDoubleQuote = '”' |
| 25 | + |
| 26 | +[menu] |
| 27 | +# Main menu |
| 28 | +[[menu.main]] |
| 29 | + name = "Organization" |
| 30 | + identifier = "organization" |
| 31 | + weight = 30 |
| 32 | + url = "" |
| 33 | + |
| 34 | +[params] |
| 35 | + original_url = "https://hack4rail.org" # always stays the same |
| 36 | + author = "Hack4Rail Team" |
| 37 | + defaultKeywords = ["hack4rail", "hackathon", "railway", "rail", "opensource", "community", "developers", "software", "openrail"] |
| 38 | + mainSections = ["news", "challenges"] |
| 39 | + # eventSections = ["events"] |
| 40 | + defaultDescription = "Hack4Rail - The international hackathon for innovation in the railway sector" |
| 41 | + |
| 42 | + # Social media |
| 43 | + facebook_site = "" # the Facebook handle of your site ('https://www.facebook.com/HANDLE') |
| 44 | + twitter_site = "" # the Twitter handle of your site (without the '@') |
| 45 | + default_sharing_image = "images/logo.png" |
| 46 | + |
| 47 | + # Format dates with Go's time formatting |
| 48 | + date_format = "2 January 2006" |
| 49 | + |
| 50 | + dropdown_mouse_over = false |
| 51 | + |
| 52 | + disabled_logo = false |
| 53 | + logo_text = "Hack4Rail" |
| 54 | + |
| 55 | + logo_xs = "images/logo.png" |
| 56 | + logo_sm = "images/logo.png" |
| 57 | + logo_md = "images/logo.png" |
| 58 | + logo_lg = "images/logo.png" |
| 59 | + |
| 60 | +[permalinks] |
| 61 | + news = "/news/:2006/:slug/" |
| 62 | + challenges = "/challenges/:slug/" |
| 63 | + |
| 64 | +# Enable or disable top bar with social icons |
| 65 | +[params.topbar] |
| 66 | + enable = false |
| 67 | + text = "" |
| 68 | + |
| 69 | +# Enable and disable widgets for the right sidebar |
| 70 | +[params.widgets] |
| 71 | + categories = false |
| 72 | + tags = false |
| 73 | + search = false |
| 74 | + |
| 75 | +[params.features] |
| 76 | + enable = true |
| 77 | + cols = 3 # Default: 3, Available values 2,3,4,6 |
| 78 | + |
| 79 | +[params.parallax1] |
| 80 | + enable = true |
| 81 | + background_image = "images/stock/brush-hand.jpg" |
| 82 | + image_crop = "1900x1000 Bottom" |
| 83 | + title = "\"Hack4Rail offers the best opportunity for folks in the railway sector to innovate and learn. I am amazed what can be achieved in just three days!\"" |
| 84 | + subtitle = "*-- Max Mehl, Open Source at DB*" |
| 85 | + |
| 86 | +# [params.events] |
| 87 | +# enable = true |
| 88 | +# title = "Events" |
| 89 | +# subtitle = "" |
| 90 | +# hide_summary = true |
| 91 | +# limit = 4 |
| 92 | + |
| 93 | +[params.footer.menu1] |
| 94 | + enable = true |
| 95 | + headline = "Preparation" |
| 96 | + |
| 97 | +[params.footer.menu2] |
| 98 | + enable = true |
| 99 | + headline = "Participation" |
| 100 | + |
| 101 | +[params.footer.recent_posts] |
| 102 | + enable = true |
| 103 | + headline = "Recent Updates" |
| 104 | + limit = 3 |
| 105 | + sections = ["news"] |
| 106 | + |
| 107 | +[params.footer.contact] |
| 108 | + enable = false |
| 109 | + address = """Hack4Rail HQ\\ |
| 110 | + Hacker Street 42, 12345 Code City""" |
| 111 | + phone = "+49 123 4567890" |
| 112 | + email = "info@hack4rail.org" |
| 113 | + relurl = "contact" |
| 114 | + |
| 115 | + |
| 116 | +[params.footer] |
| 117 | + copyright = "Hack4Rail, CC-BY-SA 4.0" |
| 118 | + [[params.footer.links]] |
| 119 | + name = "Imprint" |
| 120 | + relurl = "imprint" |
| 121 | + [[params.footer.links]] |
| 122 | + name = "Credits" |
| 123 | + relurl = "credits" |
| 124 | + |
| 125 | +[taxonomies] |
| 126 | + category = "categories" |
| 127 | + tag = "tags" |
| 128 | + author = "authors" |
| 129 | + |
| 130 | +# Modules |
| 131 | +[module] |
| 132 | + [[module.mounts]] |
| 133 | + source = "themes/hack4rail/static/img" |
| 134 | + target = "assets/images" |
| 135 | + [[module.mounts]] |
| 136 | + source = "static/img" |
| 137 | + target = "assets/images" |
| 138 | + |
| 139 | +[build] |
| 140 | +[[build.cacheBusters]] |
| 141 | +source = 'assets/scss/.*\.scss' |
| 142 | +target = 'css' |
0 commit comments