init
This commit is contained in:
37
src/config.ts
Normal file
37
src/config.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
import type { ThemeConfig } from './types'
|
||||
|
||||
export const themeConfig: ThemeConfig = {
|
||||
// SITE INFO ///////////////////////////////////////////////////////////////////////////////////////////
|
||||
site: {
|
||||
website: 'https://astro-chiri.netlify.app/', // Site domain
|
||||
title: 'CHIRI', // Site title
|
||||
author: '3ASH', // Author name
|
||||
description: 'Minimal blog built by Astro', // Site description
|
||||
language: 'en-US' // Default language
|
||||
},
|
||||
|
||||
// GENERAL SETTINGS ////////////////////////////////////////////////////////////////////////////////////
|
||||
general: {
|
||||
contentWidth: '35rem', // Content area width
|
||||
centeredLayout: true, // Use centered layout (false for left-aligned)
|
||||
themeToggle: false, // Show theme toggle button (uses system theme by default)
|
||||
postListDottedDivider: false, // Show dotted divider in post list
|
||||
footer: true, // Show footer
|
||||
fadeAnimation: true // Enable fade animations
|
||||
},
|
||||
|
||||
// DATE SETTINGS ///////////////////////////////////////////////////////////////////////////////////////
|
||||
date: {
|
||||
dateFormat: 'YYYY-MM-DD', // Date format: YYYY-MM-DD, MM-DD-YYYY, DD-MM-YYYY, MONTH DAY YYYY, DAY MONTH YYYY
|
||||
dateSeparator: '.', // Date separator: . - / (except for MONTH DAY YYYY and DAY MONTH YYYY)
|
||||
dateOnRight: true // Date position in post list (true for right, false for left)
|
||||
},
|
||||
|
||||
// POST SETTINGS ///////////////////////////////////////////////////////////////////////////////////////
|
||||
post: {
|
||||
readingTime: false, // Show reading time in posts
|
||||
toc: true, // Show the table of contents (when there is enough page width)
|
||||
imageViewer: true, // Enable image viewer
|
||||
copyCode: true // Enable copy button in code blocks
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user