Comments (5)
copy this to your root's config.toml
baseURL = "https://example.com"
builddrafts = false
languageCode = "zn-Hans"
canonifyurls = true
contentdir = "content"
layoutdir = "layouts"
publishdir = "public"
enableEmoji = true
hasCJKLanguage = true
summaryLength = 200
Paginate = 3
theme = "AllinOne"
title = "Orianna"
pygmentsuseclasses = true
[permalinks]
blog = "blog/:year-:month/:slug/"
[taxonomies]
tag = "tags"
series = "series"
category = "categories"
[menu]
[[menu.main]]
name = "Blog"
weight = -120
identifier = "blog"
url = "blog/"
[[menu.main]]
name = "Moment"
weight = -110
identifier = "moment"
url = "moment/"
[[menu.main]]
name = "About"
weight = -100
identifier = "about"
url = "about/"
[params]
faviconfile = "img/zheng.png" # from static/
avatar = "img/profile.jpg" # path to image in static dir e.g img/avatar.png
author = "Orianna"
description = ["Be myself.", "Love the wonderful world.", "Do the right things and be a better man."] # appears in the site header when set to a non-empty string
welcome_head = "Hello, World!"
welcome_word = "~ No Day But Today ~"
latestpostscount = 5 # how many posts to display on the home page
bloggroupby = 'month'
dateform = "Jan 2, 2006"
dateformfull = "2006-01-02 Monday 15:04:05"
noshowreadtime = false # if true, don't show "<x> minutes read" in posts
# slides
slidesDirPath = "themes/AllinOne/static/img/header-slides" # path to image in local dir (path for hugo)
slidesDirPathURL = "img/header-slides" # path to image in static dir (for static pages)
# highlighting
highlightjs = true
# latex
katex = true
# links
email = "[email protected]"
github = "//github.com/you"
linkedin = "//linkedin.com/in/you"
facebook = "//facebook.com/you"
googleplus = "//google.com/you"
twitter = "//twitter.com/you"
px500 = "//px500"
instagram = "//instagram.com/you"
include_rss = true # include RSS <link> tag in <head> and show RSS icon
# analytics
googleAnalytics = "your-google-analytic-id"
from allinone.
copy this to your root's config.toml
baseURL = "https://example.com" builddrafts = false languageCode = "zn-Hans" canonifyurls = true contentdir = "content" layoutdir = "layouts" publishdir = "public" enableEmoji = true hasCJKLanguage = true summaryLength = 200 Paginate = 3 theme = "AllinOne" title = "Orianna" pygmentsuseclasses = true [permalinks] blog = "blog/:year-:month/:slug/" [taxonomies] tag = "tags" series = "series" category = "categories" [menu] [[menu.main]] name = "Blog" weight = -120 identifier = "blog" url = "blog/" [[menu.main]] name = "Moment" weight = -110 identifier = "moment" url = "moment/" [[menu.main]] name = "About" weight = -100 identifier = "about" url = "about/" [params] faviconfile = "img/zheng.png" # from static/ avatar = "img/profile.jpg" # path to image in static dir e.g img/avatar.png author = "Orianna" description = ["Be myself.", "Love the wonderful world.", "Do the right things and be a better man."] # appears in the site header when set to a non-empty string welcome_head = "Hello, World!" welcome_word = "~ No Day But Today ~" latestpostscount = 5 # how many posts to display on the home page bloggroupby = 'month' dateform = "Jan 2, 2006" dateformfull = "2006-01-02 Monday 15:04:05" noshowreadtime = false # if true, don't show "<x> minutes read" in posts # slides slidesDirPath = "themes/AllinOne/static/img/header-slides" # path to image in local dir (path for hugo) slidesDirPathURL = "img/header-slides" # path to image in static dir (for static pages) # highlighting highlightjs = true # latex katex = true # links email = "[email protected]" github = "//github.com/you" linkedin = "//linkedin.com/in/you" facebook = "//facebook.com/you" googleplus = "//google.com/you" twitter = "//twitter.com/you" px500 = "//px500" instagram = "//instagram.com/you" include_rss = true # include RSS <link> tag in <head> and show RSS icon # analytics googleAnalytics = "your-google-analytic-id"
i met same problem, it does not work, have you fixed it?
from allinone.
c
copy this to your root's config.toml
baseURL = "https://example.com" builddrafts = false languageCode = "zn-Hans" canonifyurls = true contentdir = "content" layoutdir = "layouts" publishdir = "public" enableEmoji = true hasCJKLanguage = true summaryLength = 200 Paginate = 3 theme = "AllinOne" title = "Orianna" pygmentsuseclasses = true [permalinks] blog = "blog/:year-:month/:slug/" [taxonomies] tag = "tags" series = "series" category = "categories" [menu] [[menu.main]] name = "Blog" weight = -120 identifier = "blog" url = "blog/" [[menu.main]] name = "Moment" weight = -110 identifier = "moment" url = "moment/" [[menu.main]] name = "About" weight = -100 identifier = "about" url = "about/" [params] faviconfile = "img/zheng.png" # from static/ avatar = "img/profile.jpg" # path to image in static dir e.g img/avatar.png author = "Orianna" description = ["Be myself.", "Love the wonderful world.", "Do the right things and be a better man."] # appears in the site header when set to a non-empty string welcome_head = "Hello, World!" welcome_word = "~ No Day But Today ~" latestpostscount = 5 # how many posts to display on the home page bloggroupby = 'month' dateform = "Jan 2, 2006" dateformfull = "2006-01-02 Monday 15:04:05" noshowreadtime = false # if true, don't show "<x> minutes read" in posts # slides slidesDirPath = "themes/AllinOne/static/img/header-slides" # path to image in local dir (path for hugo) slidesDirPathURL = "img/header-slides" # path to image in static dir (for static pages) # highlighting highlightjs = true # latex katex = true # links email = "[email protected]" github = "//github.com/you" linkedin = "//linkedin.com/in/you" facebook = "//facebook.com/you" googleplus = "//google.com/you" twitter = "//twitter.com/you" px500 = "//px500" instagram = "//instagram.com/you" include_rss = true # include RSS <link> tag in <head> and show RSS icon # analytics googleAnalytics = "your-google-analytic-id"
i met same problem, it does not work, have you fixed it?
copy project/themes/AllinOne/theme.toml to project root and try it again
from allinone.
same problem, it does not work, have you fixed it?
copy project/themes/AllinOne/theme.toml to project root and try it again
yeah,it works
but it lose css/js which locates in static diretory;
i just think the site demo of Hugo is not suitble for this theme
i'll use the structure of 'exampleSite' to build the site
from allinone.
same problem, it does not work, have you fixed it?
copy project/themes/AllinOne/theme.toml to project root and try it againyeah,it works
but it lose css/js which locates in static diretory;
i just think the site demo of Hugo is not suitble for this theme
i'll use the structure of 'exampleSite' to build the site
you can look this project https://github.com/ferried/hugo-blog
from allinone.
Related Issues (20)
- `pygmentsUseClasses = true` not generating classes HOT 1
- Add Archives
- Narrow layout of mobile version HOT 2
- use build.sh to push your public HOT 1
- scroll HOT 1
- blog-preview problem of windows HOT 1
- 如何将KaTeX"\\("改为"$" HOT 1
- How can I change Font? HOT 1
- add share to socials channels button to blog posts
- add subscribe to newsletter form
- Errors on initial build HOT 1
- 自适应有一些问题 HOT 2
- Having troubles getting Latex rendered correctly
- 能集成第三方评论功能吗? HOT 7
- 部署
- Add GitLab in the site params
- 关于博客中一篇文章的toc问题
- !!! Maintaining theme in a new repo
- hugo new
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 allinone.