Type something to search...

Globale Site-Parameter

Zusätzlich zur Astro-Konfiguration können Sie in Ihrer astro.config.mjs folgende Parameter definieren (hier mit Standardwerten).

Beachten Sie, dass einige dieser Parameter in anderen Abschnitten dieser Dokumentation ausführlich erläutert werden.

config.toml
toml Kopieren
# base URL place here
baseURL = "https://examplesite.com"
# this is your site title
title = "Hugo documentation theme"
# theme should be `Docbox`
theme = "Docbox"
# disable language from here
disableLanguages = ["fr"] # now franch language is disabled

# add css plugin
[[params.plugins.css]]
link = "define plugins path"

# add js plugin
[[params.plugins.js]]
link = "define plugins path"

# main menu
[[menu.main]]
name = "contact"
url = "contact/"
weight = 1

# Call to action is default enabled, if you want to disable it. just change the
enable = false

####Default parameters ###########
[params]
logo = "images/logo.png"
# Meta data
description = "This is meta description"
author = "Pury Digital"
# contact form action
contact_form_action = "#" # contact form works with https://formspree.io
Handlungsaufforderung

Bleiben Sie auf dem Laufenden

Abonnieren Sie unseren Newsletter und verpassen Sie keine Neuigkeiten mehr.

Dieses Design anfragen