Skip to content
Snippets Groups Projects
Select Git revision
  • b8e7f5022f587ec48cd953037d0caae51c61a58d
  • apertis/v2023 default protected
  • pristine-lfs-source
  • debian/bullseye protected
  • pristine-lfs protected
  • apertis/v2022 protected
  • apertis/v2022-updates protected
  • apertis/v2022dev2 protected
  • apertis/v2022dev3 protected
  • apertis/v2022pre protected
  • apertis/v2023dev0 protected
  • apertis/v2023dev1 protected
  • apertis/v2023dev2 protected
  • apertis/v2023dev3 protected
  • apertis/v2023pre protected
  • apertis/v2024dev0 protected
  • apertis/v2024dev1 protected
  • apertis/v2021 protected
  • apertis/v2022dev1 protected
  • apertis/v2021dev2 protected
  • apertis/v2021dev3 protected
  • apertis/2.7.18-3+apertis0
  • debian/2.7.18-3
  • debian/2.7.18-2
  • apertis/2.7.16-1co1
  • apertis/2.7.18-2apertis0
  • apertis/2.7.16-1
  • apertis/2.7.15-3
  • debian/2.7.16-1
  • debian/2.7.15-4
  • debian/2.7.15-3
  • debian/2.7.15-2
  • debian/2.7.15-1
  • debian/2.7.15rc1-1
  • debian/2.7.8-4
  • debian/2.7.8-3
  • debian/2.7.8-2
  • debian/2.7.8-1
  • debian/2.7.6-2
  • debian/2.7.5-5
  • debian/2.7.5-4
41 results

rules

Blame
  • config.toml 2.27 KiB
    baseurl = "https://www.apertis.org/"
    title = "Apertis"
    
    theme = "beautifulhugo"
    
    canonifyURLs = true
    
    languageCode = "en-us"
    
    [Author]
      name = "Apertis Project"
      website = "https://www.apertis.org"
    
    [Params]
      subtitle = "Collaborative OS platform for products"
      logo = "logo-white.svg"
      favicon = "favicon.ico"
      dateFormat  = "2006-01-02"
      rss = true
      license = "Content is available under Creative Commons Attribution Share Alike unless otherwise noted."
      pager = false
      sourceLink = "https://gitlab.apertis.org/docs/apertis-website/-/blob/master/content/"
    
    # Menu
    [menu]
      # Header
      [[menu.main]]
        url = "https://stats.uptimerobot.com/R8MlxtrZXO"
        name = "Service Status"
        weight = 1
      [[menu.main]]
        url = "download/"
        name = "Download"
        weight = 2
      [[menu.main]]
        url = "https://gitlab.apertis.org"
        name = "GitLab"
        weight = 3
    
      # Footer
      [[menu.footer]]
        url = "policies/copyrights/"
        name = "Copyright Statement"
        weight = 1
      [[menu.footer]]
        url = "policies/privacy_policy/"
        name = "Privacy Policy"
        weight = 3
      [[menu.footer]]
        url = "policies/terms_of_use/"
        name = "Terms of Use"
        weight = 4
      [[menu.footer]]
        url = "policies/code_of_conduct/"
        name = "Code of Conduct"
        weight = 5
    
    # Links format
    #[permalinks]
    #  posts = "/posts/:year/:month/:title/"
    
    [outputs]
      home = ["HTML", "RSS", "JSON"]
    #  page = ["HTML", "PDF-IN"]
    
    
    # This is a bit of a hack to generate simplified HTML files that get ingested
    # by an external tool to generate PDFs for the HTML pages. We create a file
    # named `index.pdf-in` that gets used to create a PDF.
    [outputFormats]
      [outputFormats.PDF-IN]
        mediaType = "html/pdf-in"
    
    [mediaTypes]
      [mediaTypes."html/pdf-in"]
        suffixes = ["pdf-in"]
    
    # By default Goldmark does not render raw HTMLs and potentially dangerous
    # links. As we have HTML tables in places (that can't readily be implemented
    # in pure Markdown due to large cells with complex content) and can be sure
    # of the content being rendered, switch "unsafe" on to allow these HTML
    # elements to be created.
    [markup]
      [markup.goldmark.renderer]
        unsafe = true
    
      [markup.tableOfContents]
        startLevel = 1
        endLevel = 2
    
      [markup.highlight]
        lineNos = true
        lineNumbersInTable = true
        noClasses = false
        style = "vs"