diff --git a/Dockerfile b/Dockerfile index 5775347..9167e57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ FROM hugomods/hugo:nightly RUN apk add --no-cache nodejs npm # Install Sass (Dart Sass) globally -RUN npm install -g sass +RUN npm install -g sass yarn # Set the working directory inside the container WORKDIR /app @@ -18,7 +18,7 @@ RUN chmod +x scripts/build.sh # Install Node.js dependencies if any (e.g., for fetch-wordpress.js) # Assuming package.json exists and has dependencies -RUN if [ -f package.json ]; then npm install; fi +RUN if [ -f package.json ]; then yarn install; fi # Ensure /usr/local/bin is in PATH for the CMD ENV PATH="/usr/local/bin:$PATH" diff --git a/hugo.toml b/hugo.toml index 283714a..18ec73a 100644 --- a/hugo.toml +++ b/hugo.toml @@ -3,6 +3,7 @@ languageCode = 'fr-fr' title = 'Mistergeek' # theme = "your-theme" ignoreLogs = ["warning-goldmark-raw-html"] +enableRobotsTXT = true # [permalinks] # posts = "/:section/:slug/" @@ -32,7 +33,7 @@ ignoreLogs = ["warning-goldmark-raw-html"] creator = "@mistergeekfrance" # Facebook - facebook_page = "mistergeek.fr" + facebook_page = "mistergeekfrance" youtube_channel = "UCXXXXXXXXXXXXXXXXXXX" # Search Engine Verification @@ -41,27 +42,27 @@ ignoreLogs = ["warning-goldmark-raw-html"] # yandex_verification = "your-yandex-verification-code" # Local SEO - [params.seo.local] - enabled = true - country = "FR" - language = "fr" - region = "Île-de-France" - city = "Paris" - latitude = "48.8566" - longitude = "2.3522" + # [params.seo.local] + # enabled = true + # country = "FR" + # language = "fr" + # region = "Île-de-France" + # city = "Paris" + # latitude = "48.8566" + # longitude = "2.3522" # Rich snippets enable_search_box = true enable_sitelinks_searchbox = true # Verification codes - [params.seo.verification] - google = "your-google-verification-code" - bing = "your-bing-verification-code" - yandex = "your-yandex-verification-code" - alexa = "your-alexa-verification-code" - pinterest = "your-pinterest-verification-code" - norton = "your-norton-verification-code" + # [params.seo.verification] + # google = "your-google-verification-code" + # bing = "your-bing-verification-code" + # yandex = "your-yandex-verification-code" + # alexa = "your-alexa-verification-code" + # pinterest = "your-pinterest-verification-code" + # norton = "your-norton-verification-code" # Image optimization for SEO [imaging] diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 280951e..cf9b0ba 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -20,14 +20,12 @@ -
Toutes les catégories