Comments (2)
By removing the en
folder from contents and also removing languages.en.
key prefixes in config.json, it will allow the theme to be loaded in single language mode
This is a hugo configuration
from blist-hugo-theme.
There are two folders inside content/en: blog and page, move them outside in the content/
and change the config.toml to below
baseurl = "https://blist.vercel.app"
metaDataFormat = "yaml"
title = "Blist Multilingual Theme"
theme = "blist"
[[menu.main]]
name = "Blog"
url = "blog"
weight = 1
[[menu.main]]
name = "About"
url = "page/about/"
weight = 2
[[menu.main]]
name = "Tags"
url = "tags"
weight = 3
[[menu.main]]
name = "Top Post"
url = "/en/blog/emoji-support/"
weight = 4
[params]
introTitle = "Hey! I'm Katheryn Fox"
introSubtitle = "26 y/o junior developer who enjoys social card games, blogging and painting"
introPhoto = "/picture.jpg"
logo = "/blist-logo.png"
# Enable the darkmode toggle in header
darkModeToggle = true
# Enable search in header
enableSearch = true
# Option to customize the search parameters of a page
# Below are the supported options; Note that including entire content
# may slowdown the loading of search results
# Title of page is included by default
searchKeys = [
"tags",
"date",
"categories",
"summary",
"content",
"link",
"author"
]
# Custom copyright - optional
copyright = "Copyright © 2021 - Katheryn Fox · All rights reserved"
favicon = "/favicon.svg"
# Color for the intro details and social links block, not applicable for dark mode
# Supported values: Any color from TailwindCSS default colors
# Reference: https://tailwindcss.com/docs/customizing-colors
ascentColor = "bg-blue-100"
# The page bundle that is shown on the front page
frontBundle = "blog"
# Used to hide the post metadata such as posted date, reading time and word count
# Can be used at site level or page level
hideMeta = false
# To hide "Other languages" option if the post is available in multiple languages
# Can be used at site level or page level
hideOtherLanguages = false
# Add support for Table of contents
# Can be added to a page level also in markdown frontmatter
toc = true
# Hides the thumbnail in post view
# Thumbnails in home and blog pages will still be shown
# This setting can also be in page's markdown file
hidePageThumbnail = false
# Comments system
[params.comments]
# Supports disqus, giscus and utterances
# Check hugo docs for setting up disqus
system = "giscus"
# Options for giscus, exclude hyphens
repo = ""
repoid = ""
category = ""
categoryid = ""
mapping = ""
strict = ""
reactionsenabled = ""
emitmetadata = ""
inputposition = ""
theme = ""
# Options for utterances, exclude hyphens
# repo = ""
# issueterm = ""
# theme = ""
[params.homepage.social]
# Global params common for both languages
title = "Follow me"
description = "I work on everything coding and tweet developer memes"
[[params.homepage.social.icons]]
website = "twitter"
url = "https://twitter.com/"
[[params.homepage.social.icons]]
website = "linkedin"
url = "https://linkedin.com/in/"
[[params.homepage.social.icons]]
website = "xing"
url = "https://www.xing.com/profile/"
[[params.homepage.social.icons]]
website = "telegram"
url = "https://t.me/"
[[params.homepage.social.icons]]
website = "github"
url = "https://github.com/"
[[params.homepage.social.icons]]
website = "buymeacoffee"
url = "https://www.buymeacoffee.com/"
[[params.homepage.social.icons]]
website = "medium"
url = "https://medium.com/"
[[params.homepage.social.icons]]
website = "reddit"
url = "https://reddit.com/"
[[params.homepage.social.icons]]
website = "dribbble"
url = "https://dribbble.com/"
[[params.homepage.social.icons]]
website = "stackoverflow"
url = "https://stackoverflow.com/"
[[params.homepage.social.icons]]
website = "xda"
url = "https://forum.xda-developers.com/"
[[params.homepage.social.icons]]
website = "tiktok"
url = "https://tiktok.com"
[[params.homepage.social.icons]]
website = "googlescholar"
url = "https://scholar.google.com/"
[[params.homepage.social.icons]]
website = "mastodon"
url = "https://joinmastodon.org"
[[params.homepage.social.icons]]
website = "youtube"
url = "https://youtube.com"
[[params.homepage.social.icons]]
website = "instagram"
url = "https://instagram.com"
[[params.homepage.social.icons]]
website = "facebook"
url = "https://facebook.com"
[[params.homepage.social.icons]]
website = "behance"
url = "https://behance.net"
[[menu.main]]
name = "About"
url = "/about"
[build]
writeStats = true
[outputs]
home = ["HTML", "RSS", "JSON"]
# syntax highlight settings
[markup]
[markup.highlight]
style = "dracula"
[markup.goldmark.renderer]
# Enable to include inline HTML
unsafe = true
from blist-hugo-theme.
Related Issues (20)
- Homepage social icons and copyright
- Display tags for each post HOT 4
- Question: Pagination and dark theme by default HOT 8
- RTL languages support HOT 1
- Somehow the site loses the css HOT 3
- `hugo`does not generate css like `hugo server` HOT 14
- toc is generated on page even if I specify false in the page's frontmatter
- images do not render when site is published to gitlab pages and the likes HOT 5
- I got stuck at this step: Preview the theme with example content HOT 1
- Remove the Profile picture on the home page HOT 1
- Preserve language selection
- Deprecated feature
- See issue #79
- Add slider on about.md
- Execution of template failed- error calling head.html
- Add submenu
- Add Bluesky social icon
- Default dark mode
- Issue running the example site: can't evaluate field IsServer in type interface HOT 3
- New Blist site not working nor is Examplesite HOT 1
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 blist-hugo-theme.