site

personal website, served at mordaunt.dev/site
Log | Files | Refs

hugo.toml (6207B)


      1 baseURL = "http://www.example.com"
      2 title = "johndoe"
      3 theme = "hugo-coder"
      4 languageCode = "en"
      5 defaultContentLanguage = "en"
      6 enableEmoji = true
      7 
      8 [pagination]
      9 pagerSize = 6
     10 
     11 [services]
     12 [services.disqus]
     13 # Enable Disqus comments
     14 # shortname = "yourdiscussshortname"
     15 
     16 [markup]
     17 [markup.highlight]
     18 noClasses = false
     19 
     20 [markup.goldmark]
     21 [markup.goldmark.renderer]
     22 unsafe = true
     23 
     24 [params]
     25 author = "John Doe"
     26 # license = '<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA-4.0</a>'
     27 description = "John Doe's personal website"
     28 keywords = "blog,developer,personal"
     29 info = ["Full Stack DevOps", "Magician"]
     30 avatarURL = "images/avatar.jpg"
     31 #gravatar = "john.doe@example.com"
     32 dateFormat = "January 2, 2006"
     33 since = 2019
     34 # Git Commit in Footer, uncomment the line below to enable it
     35 commit = "https://github.com/luizdepra/hugo-coder/tree/"
     36 # Right To Left, shift content direction for languages such as Arabic
     37 rtl = false
     38 # Specify light/dark colorscheme
     39 # Supported values:
     40 # "auto" (use preference set by browser)
     41 # "dark" (dark background, light foreground)
     42 # "light" (light background, dark foreground) (default)
     43 colorScheme = "auto"
     44 # Hide the toggle button, along with the associated vertical divider
     45 hideColorSchemeToggle = false
     46 # Series see also post count
     47 maxSeeAlsoItems = 5
     48 # Custom CSS
     49 customCSS = []
     50 # Custom SCSS, file path is relative to Hugo's asset folder (default: {your project root}/assets)
     51 customSCSS = []
     52 
     53 # Custom JS
     54 customJS = []
     55 
     56 # Custom remote JS files
     57 customRemoteJS = []
     58 
     59 # If you want to use fathom(https://usefathom.com) for analytics, add this section
     60 # [params.fathomAnalytics]
     61 # siteID = "ABCDE"
     62 # serverURL = "analytics.example.com" # Default value is cdn.usefathom.com, overwrite this if you are self-hosting
     63 
     64 # If you want to use plausible(https://plausible.io) for analytics, add this section
     65 # [params.plausibleAnalytics]
     66 # domain = "example.com"
     67 # serverURL = "analytics.example.com" # Default value is plausible.io, overwrite this if you are self-hosting or using a custom domain
     68 # outboundLinksTracking = true
     69 # fileDownloadsTracking = true
     70 
     71 # If you want to use goatcounter(https://goatcounter.com) for analytics, add this section
     72 # [params.goatCounter]
     73 # code = "code"
     74 
     75 # If you want to use Cloudflare Web Analytics(https://cloudflare.com) for analytics, add this section
     76 # [params.cloudflare]
     77 # token = "token"
     78 
     79 # If you want to use Matomo(https://matomo.org) for analytics, add this section
     80 # [params.matomo]
     81 # siteID = "ABCDE" # Default value is "1", overwrite this if you are cloud-hosting
     82 # serverURL = "analytics.example.com" # For cloud-hosting, use provided URL, e.g. example.matomo.cloud
     83 
     84 # If you want to use Google Tag Manager(https://analytics.google.com/) for analytics, add this section
     85 # [params.googleTagManager]
     86 # id = "gid"
     87 
     88 # If you want to use Yandex Metrika(https://metrika.yandex.ru) for analytics, add this section
     89 # [params.yandexMetrika]
     90 # id = "gid"
     91 
     92 # If you want to use Application Insights(https://azure.com/) for analytics, add this section
     93 # [params.applicationInsights]
     94 # connectionString = "connectionString"
     95 
     96 # If you want to use microanalytics.io for analytics, add this section
     97 # [params.microAnalytics]
     98 # id = "ABCDE"
     99 # dnt = "false" # respect DNT tracker, "true" by default
    100 
    101 # If you want to use Pirsch(https://pirsch.io) for analytics, add this section
    102 # [params.pirsch]
    103 # code = "ABCDE"
    104 
    105 # If you want to use Umami(https://umami.is) for analytics, add this section
    106 # [params.umami]
    107 # siteID = "ABCDE"
    108 # scriptURL = "analytics.REGION.umami.is/SCRIPTNAME.js"
    109 
    110 # If you want to use One Dollars Stats(https://onedollarstats.com/analytics) for analytics, add this section
    111 # [params.onedollarstats]
    112 # id = "data-site-id"
    113 
    114 # If you want to implement a Content-Security-Policy, add this section
    115 # [params.csp]
    116 # childsrc = ["'self'"]
    117 # fontsrc = ["'self'", "https://fonts.gstatic.com", "https://cdn.jsdelivr.net/"]
    118 # formaction = ["'self'"]
    119 # framesrc = ["'self'", "https://www.youtube.com"]
    120 # imgsrc = ["'self'"]
    121 # objectsrc = ["'none'"]
    122 # stylesrc = [
    123 #   "'self'",
    124 #   "'unsafe-inline'",
    125 #   "https://fonts.googleapis.com/",
    126 #   "https://cdn.jsdelivr.net/",
    127 # ]
    128 # scriptsrc = [
    129 #   "'self'",
    130 #   "'unsafe-inline'",
    131 #   "https://www.google-analytics.com",
    132 #   "https://cdn.jsdelivr.net/",
    133 # ]
    134 # prefetchsrc = ["'self'"]
    135 # # connect-src directive – defines valid targets for to XMLHttpRequest (AJAX), WebSockets or EventSource
    136 # connectsrc = ["'self'", "https://www.google-analytics.com"]
    137 
    138 [taxonomies]
    139 category = "categories"
    140 series = "series"
    141 tag = "tags"
    142 author = "authors"
    143 
    144 [[params.social]]
    145 name = "Github"
    146 icon = "fa-brands fa-github fa-2x"
    147 weight = 1
    148 url = "https://github.com/johndoe/"
    149 
    150 [[params.social]]
    151 name = "Gitlab"
    152 icon = "fa-brands fa-gitlab fa-2x"
    153 weight = 2
    154 url = "https://gitlab.com/johndoe/"
    155 
    156 [[params.social]]
    157 name = "Twitter"
    158 icon = "fa-brands fa-x-twitter fa-2x"
    159 weight = 3
    160 url = "https://twitter.com/johndoe/"
    161 
    162 [[params.social]]
    163 name = "LinkedIn"
    164 icon = "fa-brands fa-linkedin fa-2x"
    165 weight = 4
    166 url = "https://www.linkedin.com/in/johndoe/"
    167 
    168 [[params.social]]
    169 name = "Medium"
    170 icon = "fa-brands fa-medium fa-2x"
    171 weight = 5
    172 url = "https://medium.com/@johndoe"
    173 
    174 [[params.social]]
    175 name = "RSS"
    176 icon = "fa-solid fa-rss fa-2x"
    177 weight = 6
    178 url = "https://myhugosite.com/index.xml"
    179 rel = "alternate"
    180 type = "application/rss+xml"
    181 
    182 [languages.en]
    183 languageName = ":uk:"
    184 
    185 [[languages.en.menu.main]]
    186 name = "About"
    187 weight = 1
    188 url = "about/"
    189 
    190 [[languages.en.menu.main]]
    191 name = "Blog"
    192 weight = 2
    193 url = "posts/"
    194 
    195 [[languages.en.menu.main]]
    196 name = "Projects"
    197 weight = 3
    198 url = "projects/"
    199 
    200 [[languages.en.menu.main]]
    201 name = "Contact me"
    202 weight = 5
    203 url = "contact/"
    204 
    205 [languages.pt-br]
    206 languageName = ":brazil:"
    207 title = "João Ninguém"
    208 
    209 [languages.pt-br.params]
    210 author = "João Ninguém"
    211 info = "Full Stack DevOps e Mágico"
    212 description = "Sítio pessoal de João Ninguém"
    213 keywords = "blog,desenvolvedor,pessoal"
    214 
    215 [[languages.pt-br.menu.main]]
    216 name = "Sobre"
    217 weight = 1
    218 url = "about/"
    219 
    220 [[languages.pt-br.menu.main]]
    221 name = "Blog"
    222 weight = 2
    223 url = "posts/"
    224 
    225 [[languages.pt-br.menu.main]]
    226 name = "Projetos"
    227 weight = 3
    228 url = "projects/"
    229 
    230 [[languages.pt-br.menu.main]]
    231 name = "Contato"
    232 weight = 5
    233 url = "contact/"