From cdf9159f73b936fb4a69370c0ba305e41e44d1d9 Mon Sep 17 00:00:00 2001 From: ubuntu Date: Tue, 18 Mar 2025 15:36:12 +0800 Subject: [PATCH] modify: color and author --- _config.yml | 24 ++++++++++++------------ layout/_partial/foot.ejs | 6 ++---- layout/_partial/home.ejs | 8 ++++---- layout/_widget/sidebar.ejs | 2 +- source/css/widget/header.less | 12 ++++++------ 5 files changed, 25 insertions(+), 27 deletions(-) diff --git a/_config.yml b/_config.yml index aa262bc..aecccf4 100644 --- a/_config.yml +++ b/_config.yml @@ -1,25 +1,25 @@ # 网站标题 -title: Hexo主题-Quiet主题-Hexo扁平化主题安装 +title: 梁萌个人作品集 # 网站标题后缀 -suffix: Quiet +suffix: 梁萌作品集 # 作者名称 -author: Joey +author: 梁萌 # 网站关键字 -keyword: hexo主题,hexo扁平化主题,Quiet主题 +keyword: #false是否开启文章背景图显示(随机图片) is_article_img: true # 网站描述 -web_description: 描述 +web_description: 梁萌的个人作品集 # 首页文章布局 默认 'card' 可选择 'block-card' home_layout: card # 导航名称 menus_title: - home: HOME + home: 首页 archive: ARCHIVE - categories: CATEGORIES + categories: 作品分类 tags: TAGS - links: LINKS - about: ABOUT + #links: LINKS + about: 关于作者 # 导航 (不建议修改) menus: home: / @@ -30,13 +30,13 @@ menus: about: /about # logo -logo: /image/logo.png +logo: https://blog.taire.de/image/logo.png # 网页标签上那个小图标 一定要用本地存储 icon: /image/favicon.ico # 每个页面的展示的图标和一句话 headers: home: { - message: "首页这里应该有一句话,你想想写点什么?", + message: "梁萌 2020-2024 个人作品集", icon: "/image/logo.png" } archives: { @@ -92,4 +92,4 @@ linksList: #默认的cover (默认缩略图) 在没有填写(这里可以替换(可以是api也可以是固定的图)) # https://api.ixiaowai.cn/gqapi/gqapi.php # https://tuapi.eees.cc/api.php?type=302&category=fengjing -default_cover: https://api.ixiaowai.cn/gqapi/gqapi.php +default_cover: https://image.marsway.red/images%E5%BD%B1%E8%A7%86.jpg?imageslim diff --git a/layout/_partial/foot.ejs b/layout/_partial/foot.ejs index 1c32fbe..6e42d33 100644 --- a/layout/_partial/foot.ejs +++ b/layout/_partial/foot.ejs @@ -1,9 +1,7 @@
@@ -85,4 +85,4 @@ <% } %> - \ No newline at end of file + diff --git a/layout/_widget/sidebar.ejs b/layout/_widget/sidebar.ejs index c47402a..05d0ba1 100644 --- a/layout/_widget/sidebar.ejs +++ b/layout/_widget/sidebar.ejs @@ -139,4 +139,4 @@ } ) } ) - \ No newline at end of file + diff --git a/source/css/widget/header.less b/source/css/widget/header.less index ecfc366..0b85ed4 100644 --- a/source/css/widget/header.less +++ b/source/css/widget/header.less @@ -1,4 +1,4 @@ -* { +*{ margin: 0; padding: 0; } @@ -9,7 +9,7 @@ .header-top { display: flex; height: 100px; - background: rgba(255,255,255,0.98); + background: rgba(240, 140, 81,0.98); z-index: 99; padding: 0 calc((100% - 1160px)/2); .h-left { @@ -49,10 +49,10 @@ padding: 0 18px; white-space: nowrap; a { - color: #898fa0; + color: #FFFFFF; text-decoration: none; &:hover { - color: #12183A; + color: #DBDBDB; } } .dot { @@ -68,7 +68,7 @@ } .select{ a { - color: #12183A; + color: #FFFFFF; } .dot { display: inline-block; @@ -127,4 +127,4 @@ } } } -} \ No newline at end of file +}