Configuration reference
Browse the complete defaults for this edition.
These defaults come from src/lib/defaults.json. See site configuration for top-level fields and src/site.config.ts for template overrides. Objects merge recursively; arrays replace defaults. Retained compatibility fields may have no visible effect.
| Feature | Base | Template |
|---|
| Comments / music hall | Disabled, empty identifiers | Disabled |
| Capsule | Disabled | Sample Qishui playlist |
| Cover sampling | Disabled | Local mode |
| Updates / shortcuts | Disabled | Enabled |
| Local search | On demand | Preloaded |
| PWA manifest | Disabled | Enabled, no offline cache |
| Field | Default |
|---|
theme.site.name.class | "text" |
theme.site.name.custom | "Solitude" |
theme.site.icon | "/img/logo.png" |
| Field | Default |
|---|
theme.nav.group | {} |
theme.nav.right.random | true |
theme.nav.right.custom | [] |
| Field | Default |
|---|
theme.hometop.enable | true |
theme.hometop.banner.title | "Solitude" |
theme.hometop.banner.desc | "A fast, elegant and feature-rich Astro theme" |
theme.hometop.banner.icon | {} |
theme.hometop.group | {} |
theme.hometop.recommendList | [] |
| Field | Default |
|---|
theme.aside.position | 1 |
theme.aside.home.noSticky | "about" |
theme.aside.home.Sticky | "allInfo" |
theme.aside.post.noSticky | "about" |
theme.aside.post.Sticky | "newestPost,allInfo" |
theme.aside.page.noSticky | "about" |
theme.aside.page.Sticky | "newestPost,allInfo" |
theme.aside.my_card.author.img | "/img/logo.png" |
theme.aside.my_card.author.emoji | null |
theme.aside.my_card.author.sticker | null |
theme.aside.my_card.description | "An Astro theme for expressive personal sites." |
theme.aside.my_card.content | "Write, collect, and share with Solitude." |
theme.aside.my_card.state.morning | "Good morning" |
theme.aside.my_card.state.noon | "Good noon" |
theme.aside.my_card.state.afternoon | "Good afternoon" |
theme.aside.my_card.state.night | "Good evening" |
theme.aside.my_card.state.goodnight | "Good night" |
theme.aside.my_card.witty_words | [] |
theme.aside.my_card.information | [] |
theme.aside.toc.post | true |
theme.aside.toc.page | true |
theme.aside.toc.vague | true |
theme.aside.tags.enable | true |
theme.aside.tags.limit | 20 |
theme.aside.tags.highlight_list | [] |
theme.aside.siteinfo.postcount | true |
theme.aside.siteinfo.wordcount | true |
theme.aside.siteinfo.updatetime | true |
theme.aside.siteinfo.runtimeenable | true |
theme.aside.siteinfo.runtime | "2023-04-20 00:00:00" |
| Field | Default |
|---|
theme.page.error | true |
theme.page.tags | true |
theme.page.categories | true |
theme.page.archives | 0 |
theme.page.links.async_threshold | 200 |
theme.page.default.cover | ["/img/default.avif"] |
| Field | Default |
|---|
theme.post.default.cover | ["/img/default.avif"] |
theme.post.default.locate | "China" |
theme.post.default.copyright.enable | true |
theme.post.default.copyright.author | "/img/logo.png" |
theme.post.default.copyright.author_background | "" |
theme.post.default.copyright.license | "CC BY-NC-SA 4.0" |
theme.post.default.copyright.licenurl | "https://creativecommons.org/licenses/by-nc-sa/4.0/" |
theme.post.meta.date | true |
theme.post.meta.updated | true |
theme.post.meta.locate | true |
theme.post.meta.wordcount | true |
theme.post.meta.readtime | true |
theme.post.meta.pv | false |
theme.post.meta.comment | false |
theme.post.award.enable | false |
theme.post.award.list | [] |
theme.post.share.enable | false |
theme.post.share.list | [] |
theme.post.rss | "/index.xml" |
theme.post.covercolor.enable | false |
theme.post.covercolor.mode | "local" |
theme.post.covercolor.api | "https://api.qjqq.cn/api/Imgcolor?img=" |
theme.post.covercolor.time | 43200000 |
| Field | Default |
|---|
theme.theme_color.dark | "#ffc848" |
theme.theme_color.light | "#425aef" |
theme.theme_color.nav_hover_text.dark | "#1b1c20" |
theme.theme_color.nav_hover_text.light | "#ffffff" |
| Field | Default |
|---|
theme.display_mode.type | "auto" |
| Field | Default |
|---|
theme.font.font_size | "16px" |
theme.font.code_font_size | "16px" |
theme.font.font_family | "system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif" |
theme.font.code_font_family | "ui-monospace, SFMono-Regular, Menlo, monospace" |
| Field | Default |
|---|
theme.index_post_list.direction | "column" |
theme.index_post_list.column | 2 |
theme.index_post_list.cover | "both" |
| Field | Default |
|---|
theme.related_post.enable | true |
theme.related_post.limit | 3 |
theme.related_post.date_type | "created" |
| Field | Default |
|---|
theme.expire.enable | false |
theme.expire.time | 30 |
theme.expire.position | "top" |
theme.expire.text_prev | "This post was last updated " |
theme.expire.text_next | " days ago. Some information may be out of date." |
| Field | Default |
|---|
theme.right_menu.enable | true |
theme.right_menu.exclude | ["music"] |
theme.right_menu.commentBarrage | false |
theme.right_menu.ctrlOriginalMenu | false |
theme.right_menu.translate | false |
theme.right_menu.music | false |
theme.right_menu.limit | 50 |
theme.right_menu.author | "Author: " |
theme.right_menu.link | "Link: " |
theme.right_menu.source | "Source: Solitude" |
theme.right_menu.info | "" |
theme.right_menu.img_error | "Unable to download image" |
theme.right_menu.mode.dark | "Dark mode" |
theme.right_menu.mode.light | "Light mode" |
theme.right_menu.barrage.open | "Show comment barrage" |
theme.right_menu.barrage.close | "Hide comment barrage" |
theme.right_menu.custom_list | [] |
| Field | Default |
|---|
theme.copy.enable | true |
theme.copy.copyright.enable | false |
theme.copy.copyright.limit | 50 |
| Field | Default |
|---|
theme.mermaid | true |
| Field | Default |
|---|
theme.chart | true |
| Field | Default |
|---|
theme.typeit | true |
| Field | Default |
|---|
theme.console.enable | true |
theme.console.recentComment.enable | false |
theme.console.recentComment.storage | 0.2 |
theme.console.card.tags | true |
theme.console.card.archive | "month" |
| Field | Default |
|---|
theme.translate.enable | false |
theme.translate.defaultEncoding | 2 |
theme.translate.translateDelay | 0 |
| Field | Default |
|---|
theme.rightside.enable | true |
theme.rightside.hide.enable | true |
theme.rightside.hide.translate | true |
theme.rightside.hide.mode | true |
theme.rightside.hide.aside | true |
| Field | Default |
|---|
theme.footer.randomlink | false |
theme.footer.information.author | "/img/logo.png" |
theme.footer.information.left | [] |
theme.footer.information.right | [] |
theme.footer.group | {} |
theme.footer.links | [] |
theme.footer.beian | [] |
| Field | Default |
|---|
theme.errorpage.img | "/img/404.avif" |
theme.errorpage.text | "=awa= Page Not Found" |
theme.errorpage.recommendList | true |
| Field | Default |
|---|
theme.capsule.enable | false |
theme.capsule.id | "" |
theme.capsule.server | "netease" |
theme.capsule.type | "playlist" |
theme.capsule.volume | 0.8 |
| Field | Default |
|---|
theme.music.enable | false |
theme.music.id | "" |
theme.music.server | "netease" |
theme.music.type | "playlist" |
theme.music.volume | 0.8 |
theme.music.mutex | true |
theme.music.order | "list" |
| Field | Default |
|---|
theme.meting_api | "https://meting.efu.me/?server=:server&type=:type&id=:id&r=:r" |
| Field | Default |
|---|
theme.keyboard.enable | false |
theme.keyboard.list | [] |
| Field | Default |
|---|
theme.lazyload.enable | true |
theme.lazyload.field | "site" |
theme.lazyload.placeholder | "" |
theme.lazyload.errorimg | "/img/error_load.avif" |
| Field | Default |
|---|
theme.loading.fullpage | false |
theme.loading.pace | true |
| Field | Default |
|---|
theme.highlight.enable | true |
theme.highlight.copy | true |
theme.highlight.line_numbers | true |
theme.highlight.themes.light | "github-light" |
theme.highlight.themes.dark | "github-dark" |
theme.highlight.max_height | 360 |
| Field | Default |
|---|
theme.lightbox | "fancybox" |
| Field | Default |
|---|
theme.memorial.enable | false |
theme.memorial.date | [] |
| Field | Default |
|---|
theme.katex.enable | true |
theme.katex.per_page | true |
theme.katex.copytex | true |
| Field | Default |
|---|
theme.pwa.enable | false |
theme.pwa.manifest | "/manifest.json" |
theme.pwa.theme_color | "#425aef" |
theme.pwa.mask_icon | "/img/pwa/favicon.png" |
theme.pwa.apple_touch_icon | "/img/pwa/favicon.png" |
theme.pwa.favicon_32_32 | "/img/pwa/favicon_32.png" |
theme.pwa.favicon_16_16 | "/img/pwa/favicon_16.png" |
theme.pwa.bookmark_icon | "/img/pwa/favicon.png" |
| Field | Default |
|---|
theme.comment.use | "" |
theme.comment.commentBarrage | false |
theme.comment.lazyload | false |
theme.comment.count | false |
theme.comment.sidebar | false |
theme.comment.pv | false |
theme.comment.avatar | "https://weavatar.com" |
theme.comment.hot_tip.enable | false |
theme.comment.hot_tip.count | 3 |
theme.comment.newest_comment.enable | false |
theme.comment.newest_comment.storage | 0.5 |
theme.comment.newest_comment.limit | 5 |
| Field | Default |
|---|
theme.twikoo.envId | "" |
theme.twikoo.region | "" |
theme.twikoo.style | true |
theme.twikoo.accessToken | "" |
theme.twikoo.option | {} |
| Field | Default |
|---|
theme.waline.serverURL | "" |
theme.waline.pageview | false |
theme.waline.option | {} |
| Field | Default |
|---|
theme.valine.appId | "" |
theme.valine.appKey | "" |
theme.valine.serverURLs | "" |
theme.valine.avatar | "mp" |
theme.valine.visitor | false |
theme.valine.style | true |
theme.valine.option | {} |
| Field | Default |
|---|
theme.artalk.server | "" |
theme.artalk.site | "" |
theme.artalk.option | {} |
| Field | Default |
|---|
theme.giscus.repo | "" |
theme.giscus.repo_id | "" |
theme.giscus.category_id | "" |
theme.giscus.mapping | "pathname" |
theme.giscus.theme.light | "light" |
theme.giscus.theme.dark | "dark" |
theme.giscus.option | {} |
| Field | Default |
|---|
theme.search.enable | true |
theme.search.type | "local" |
theme.search.tags | [] |
theme.search.local.preload | false |
theme.search.local.CDN | "/search.xml" |
theme.search.algolia.appId | "" |
theme.search.algolia.apiKey | "" |
theme.search.algolia.indexName | "" |
theme.search.algolia.hits.per_page | 6 |
theme.search.docsearch.appId | "" |
theme.search.docsearch.apiKey | "" |
theme.search.docsearch.indexName | "" |
theme.search.docsearch.placeholder | "" |
theme.search.docsearch.option | {} |
| Field | Default |
|---|
theme.envelope.enable | false |
theme.envelope.line | 10 |
theme.envelope.speed | 20 |
theme.envelope.hover | true |
theme.envelope.loop | true |
theme.envelope.page | "/message/" |
| Field | Default |
|---|
theme.brevity.enable | false |
theme.brevity.home_mini | false |
theme.brevity.music | false |
theme.brevity.page | "/essay/" |
theme.brevity.style | 1 |
theme.brevity.strip | 30 |
| Field | Default |
|---|
theme.recent_comments.enable | false |
theme.recent_comments.limit | 50 |
theme.recent_comments.cache | 0.2 |
theme.recent_comments.page | "/recentcomments/" |
| Field | Default |
|---|
theme.verify_site | [] |
| Field | Default |
|---|
theme.extends.head | [] |
theme.extends.body | [] |
| Field | Default |
|---|
theme.cdn.fontawesome | "https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.3.0/css/all.min.css" |
theme.cdn.snackbar | "https://cdn.jsdelivr.net/npm/node-snackbar@0.1.16/dist/snackbar.min.js" |
theme.cdn.lazyload | "https://cdn.jsdelivr.net/npm/vanilla-lazyload@19.1.3/dist/lazyload.iife.min.js" |
theme.cdn.fancyapps_css | "https://cdn.jsdelivr.net/npm/@fancyapps/ui@6.1.14/dist/fancybox/fancybox.css" |
theme.cdn.fancyapps_js | "https://cdn.jsdelivr.net/npm/@fancyapps/ui@6.1.14/dist/fancybox/fancybox.umd.js" |
theme.cdn.mermaid | "https://cdn.jsdelivr.net/npm/mermaid@11.16.0/dist/mermaid.min.js" |
theme.cdn.chart | "https://cdn.jsdelivr.net/npm/chart.js@4.5.1/dist/chart.umd.min.js" |
theme.cdn.abcjs | "https://cdn.jsdelivr.net/npm/abcjs@6.6.4/dist/abcjs-basic-min.js" |
theme.cdn.typeit | "https://cdn.jsdelivr.net/npm/typeit@8.8.7/dist/index.umd.min.js" |
theme.cdn.katex_css | "https://cdn.jsdelivr.net/npm/katex@0.16.47/dist/katex.min.css" |
theme.cdn.katex_copytex | "https://cdn.jsdelivr.net/npm/katex@0.16.47/dist/contrib/copy-tex.min.js" |
theme.cdn.aplayer_css | "https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.css" |
theme.cdn.aplayer_js | "https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.js" |
theme.cdn.meting_js | "https://cdn.jsdelivr.net/npm/meting@2.0.2/dist/Meting.min.js" |
theme.cdn.colorthief | "https://cdn.jsdelivr.net/npm/colorthief@3.4.0/dist/umd/color-thief.global.min.js" |
theme.cdn.twikoo | "https://cdn.jsdelivr.net/npm/twikoo@1.6.44/dist/twikoo.all.min.js" |
theme.cdn.waline_css | "https://cdn.jsdelivr.net/npm/@waline/client@3.6.0/dist/waline.css" |
theme.cdn.waline | "https://cdn.jsdelivr.net/npm/@waline/client@3.6.0/dist/waline.umd.js" |
theme.cdn.valine | "https://cdn.jsdelivr.net/npm/valine@1.5.3/dist/Valine.min.js" |
theme.cdn.blueimp_md5 | "https://cdn.jsdelivr.net/npm/blueimp-md5@2.19.0/js/md5.min.js" |
theme.cdn.artalk_css | "https://cdn.jsdelivr.net/npm/artalk@2.9.1/dist/Artalk.css" |
theme.cdn.artalk | "https://cdn.jsdelivr.net/npm/artalk@2.9.1/dist/Artalk.js" |
theme.cdn.algoliasearch | "https://cdn.jsdelivr.net/npm/algoliasearch@5.46.3/dist/lite/builds/browser.umd.js" |
theme.cdn.instantsearch_css | "https://cdn.jsdelivr.net/npm/instantsearch.css@8.9.0/themes/satellite-min.css" |
theme.cdn.instantsearch | "https://cdn.jsdelivr.net/npm/instantsearch.js@4.84.0/dist/instantsearch.production.min.js" |
theme.cdn.docsearch_css | "https://cdn.jsdelivr.net/npm/@docsearch/css@4.5.0/dist/style.css" |
theme.cdn.docsearch_js | "https://cdn.jsdelivr.net/npm/@docsearch/js@4.5.0/dist/umd/index.js" |
Site configuration · Advanced configuration