mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 11:12:54 +02:00
chore: remove unnecessary image.domains configuration
This commit is contained in:
parent
37b95a4e37
commit
5f95201576
8 changed files with 12 additions and 17 deletions
|
@ -16,7 +16,6 @@ import { remarkReadingTime } from './src/plugins/remark-reading-time'
|
|||
const url = themeConfig.site.url
|
||||
const locale = themeConfig.global.locale
|
||||
const linkPrefetch = themeConfig.preload.linkPrefetch
|
||||
const imageDomain = new URL(themeConfig.preload.imageHostURL as string).hostname
|
||||
|
||||
export default defineConfig({
|
||||
site: url,
|
||||
|
@ -26,10 +25,6 @@ export default defineConfig({
|
|||
prefetchAll: true,
|
||||
defaultStrategy: linkPrefetch,
|
||||
},
|
||||
image: {
|
||||
domains: [imageDomain],
|
||||
remotePatterns: [{ protocol: 'https' }],
|
||||
},
|
||||
i18n: {
|
||||
locales: Object.entries(langMap).map(([path, codes]) => ({
|
||||
path,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "astro-theme-retypeset",
|
||||
"type": "module",
|
||||
"version": "0.0.1",
|
||||
"packageManager": "pnpm@10.7.0",
|
||||
"packageManager": "pnpm@10.8.0",
|
||||
"repository": "https://github.com/radishzzz/astro-theme-retypeset",
|
||||
"scripts": {
|
||||
"dev": "astro check && astro dev",
|
||||
|
|
|
@ -355,7 +355,7 @@ RSS feed page styles.
|
|||
<!-- public/rss-style.xsl -->
|
||||
|
||||
<style type="text/css">
|
||||
body{margin:0;color:oklch(25% 0.005 298)} /* font color */
|
||||
body{color:oklch(25% 0.005 298)} /* font color */
|
||||
.bg-white{background-color:oklch(0.96 0.005 298)!important} /* background color */
|
||||
.text-gray{color:oklch(0.25 0.005 298 / 75%)!important} /* secondary font color */
|
||||
</style>
|
||||
|
|
|
@ -355,7 +355,7 @@ Estilos de página del feed RSS.
|
|||
<!-- public/rss-style.xsl -->
|
||||
|
||||
<style type="text/css">
|
||||
body{margin:0;color:oklch(25% 0.005 298)} /* color de fuente */
|
||||
body{color:oklch(25% 0.005 298)} /* color de fuente */
|
||||
.bg-white{background-color:oklch(0.96 0.005 298)!important} /* color de fondo */
|
||||
.text-gray{color:oklch(0.25 0.005 298 / 75%)!important} /* color de fuente secundario */
|
||||
</style>
|
||||
|
|
|
@ -10,7 +10,7 @@ lang: ja
|
|||
abbrlink: theme-guide
|
||||
---
|
||||
|
||||
Retypesetは[Astro](https://astro.build/)フレームワークをベースにした静的ブログテーマで、日本語では「再編集」を意味します。このガイドではRetypesetテーマの設定方法、新しい記事の作成方法、その他の設定オプションについて説明します。
|
||||
Retypesetは、日本語では「再組版」と呼ばれる、[Astro](https://astro.build/) フレームワークをベースにした静的ブログテーマです。このガイドではRetypesetテーマの設定方法、新しい記事の作成方法、その他の設定オプションについて説明します。
|
||||
|
||||
## テーマ設定
|
||||
|
||||
|
@ -223,7 +223,7 @@ abbrlink: theme-guide
|
|||
---
|
||||
```
|
||||
|
||||
### 高度な設定の説明
|
||||
### 高度な設定
|
||||
|
||||
#### draft
|
||||
|
||||
|
@ -355,7 +355,7 @@ RSSフィードページスタイル。
|
|||
<!-- public/rss-style.xsl -->
|
||||
|
||||
<style type="text/css">
|
||||
body{margin:0;color:oklch(25% 0.005 298)} /* フォントカラー */
|
||||
body{color:oklch(25% 0.005 298)} /* フォントカラー */
|
||||
.bg-white{background-color:oklch(0.96 0.005 298)!important} /* 背景色 */
|
||||
.text-gray{color:oklch(0.25 0.005 298 / 75%)!important} /* セカンダリフォントカラー */
|
||||
</style>
|
||||
|
|
|
@ -10,7 +10,7 @@ lang: ru
|
|||
abbrlink: theme-guide
|
||||
---
|
||||
|
||||
Retypeset - это статическая тема для блога, основанная на фреймворке [Astro](https://astro.build/). Это руководство охватывает настройку темы, создание новых статей и дополнительные параметры конфигурации.
|
||||
Retypeset — это статическая тема блога, основанная на фреймворке [Astro](https://astro.build/). Это руководство охватывает настройку темы, создание новых статей и дополнительные параметры конфигурации.
|
||||
|
||||
## Конфигурация темы
|
||||
|
||||
|
@ -355,7 +355,7 @@ getImageOptions: (_path, page) => ({
|
|||
<!-- public/rss-style.xsl -->
|
||||
|
||||
<style type="text/css">
|
||||
body{margin:0;color:oklch(25% 0.005 298)} /* цвет шрифта */
|
||||
body{color:oklch(25% 0.005 298)} /* цвет шрифта */
|
||||
.bg-white{background-color:oklch(0.96 0.005 298)!important} /* цвет фона */
|
||||
.text-gray{color:oklch(0.25 0.005 298 / 75%)!important} /* вторичный цвет шрифта */
|
||||
</style>
|
||||
|
|
|
@ -223,7 +223,7 @@ abbrlink: theme-guide
|
|||
---
|
||||
```
|
||||
|
||||
### 進階配置介紹
|
||||
### 進階配置
|
||||
|
||||
#### draft
|
||||
|
||||
|
@ -355,7 +355,7 @@ RSS 訂閱頁配色。
|
|||
<!-- public/rss-style.xsl -->
|
||||
|
||||
<style type="text/css">
|
||||
body{margin:0;color:oklch(25% 0.005 298)} /* 字體顏色 */
|
||||
body{color:oklch(25% 0.005 298)} /* 字體顏色 */
|
||||
.bg-white{background-color:oklch(0.96 0.005 298)!important} /* 背景顏色 */
|
||||
.text-gray{color:oklch(0.25 0.005 298 / 75%)!important} /* 次要字體顏色 */
|
||||
</style>
|
||||
|
|
|
@ -223,7 +223,7 @@ abbrlink: theme-guide
|
|||
---
|
||||
```
|
||||
|
||||
### 进阶配置介绍
|
||||
### 进阶配置
|
||||
|
||||
#### draft
|
||||
|
||||
|
@ -355,7 +355,7 @@ RSS 订阅页配色。
|
|||
<!-- public/rss-style.xsl -->
|
||||
|
||||
<style type="text/css">
|
||||
body{margin:0;color:oklch(25% 0.005 298)} /* 字体颜色 */
|
||||
body{color:oklch(25% 0.005 298)} /* 字体颜色 */
|
||||
.bg-white{background-color:oklch(0.96 0.005 298)!important} /* 背景颜色 */
|
||||
.text-gray{color:oklch(0.25 0.005 298 / 75%)!important} /* 次要字体颜色 */
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue