Comments (4)
Hi @zotroneneis,
It's strange. Your config.yaml
looks OK. In my case, params.footer.newsletter
is set to false
too, and the newsletter sign up doesn't appear in the footer as requested. But I started from scratch to V4, not by migration way.
from toha.
Hi @zotroneneis
I've notticed that yout footer
section in config.yaml
is idented with an extra space, meaning footer
is a child of features
instead of params
. Removing those extra spaces in the footer section should fix this issue.
from toha.
This config.yaml
works:
baseURL: "https://alpopkes.com"
languageCode: en-us
title: "Anna-Lena Popkes"
# Use Hugo modules to add theme
module:
imports:
- path: github.com/hugo-toha/toha/v4
mounts:
- source: static/files
target: static/files
- source: ./node_modules/flag-icon-css/flags
target: static/flags
- source: ./node_modules/@fontsource/mulish/files
target: static/files
- source: ./node_modules/katex/dist/fonts
target: static/fonts
# Manage languages
# For any more details, you can check the official documentation: https://gohugo.io/content-management/multilingual/
languages:
en:
languageName: English
weight: 1
# Control TOC depth
markup:
tableOfContents:
startLevel: 2
endLevel: 6
ordered: false
# Enable Disqus forum
# disqusShortname: www-pwenker-com
# Enable global emoji support
enableEmoji: true
# Site parameters
params:
background: "images/background/sheep.JPG" # 1920x1078
# The inverted logo will be used in the initial transparent navbar and
# the main logo will be used in the non-transparent navbar.
logo:
main: images/author/image_al.jpg
inverted: images/author/image_al.jpg
favicon: images/author/image_al.jpg
# GitHub repo URL of your site
gitRepo: https://github.com/zotroneneis/zotroneneis.github.io
gitBranch: main
# Configure various features of this theme
features:
# Enable and configure blog posts
blog:
enable: true
# Show tags under the post title
tags:
enable: false
# specify whether you want to show Table of Contents in reading page
toc:
enable: true
# Enable dark mode
darkMode:
enable: true
# Enable this to create mathematic expressions using `$$` blocks
math:
enable: true
services:
# https://katex.org/docs/autorender.html#api for more configurations
katex:
delimiters:
- left: $$
right: $$
display: true
- left: \\[
right: \\]
display: true
- left: $
right: $
display: false
- left: \\(
right: \\)
display: false
# Provide footer configuration.
footer:
enable: true
# You can provide your custom footer template using this option.
# Put your template in "layouts/partials" folder of your repo.
template: footer.html
# Show/hide navigation in the footer. Default is "true".
navigation:
enable: true
# show custom menus in the footer
customMenus: true
# Show/hide "Contact Me" section in the footer. Default is "true".
contactMe:
enable: true
# Show/hide credentials section in the footer. Default is "true".
credentials:
enable: true
# Show/hide newsletter section in the footer. Default is "true".
# Currently, it supports "mailchimp".
newsletter:
enable: false
# provider: mailchimp
# mailchimpURL: https://github.us1.list-manage.com/subscribe/post?u=19de52a4603135aae97163fd8&id=094a24c76e
# Show/hide disclaimer notice in the footer. Default is "false".
disclaimer:
enable: true
from toha.
Thanks so much @BernatBC! That was an easy fix. Sorry for not seeing it myself.
from toha.
Related Issues (20)
- Feature Request - Add Page View Counter Section to Posts
- Can not switch to english if another language is set by default HOT 4
- navbar-brand text should be customizable (not always site.Title)
- Huge amount of whitelines in generated html files HOT 1
- Oversized application.js HOT 3
- Day of week missing in Finnish HOT 2
- JSBUILD failed when init from scratch HOT 2
- How to disable "light" theme? HOT 1
- Site always shows English language independent of browser settings/weights HOT 2
- Default color-schema seems to be "system", not "light" HOT 1
- Dark to Light Mode Switcher HOT 2
- Degree name not changing color with dark mode
- bug , The icon in the top bar is not working HOT 18
- Errors after upgrade from V3 to V4 HOT 2
- Feature Request: Option to hide the left sidebar (toggle) HOT 1
- Feature Request: Do not allow image width that is lesser than page width to fill/fit the remaining page width HOT 1
- Imprt user stars and repos (See my implementation) HOT 3
- Feature Request: support custom domains
- Feature Request - Add Copy Button to Code Blocks
- bug Google Analytics has stopped working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toha.