From 6bd94bd5e2091d7b75d507619d347482696d2c6f Mon Sep 17 00:00:00 2001 From: tomdang Date: Thu, 3 Mar 2022 21:46:35 +0800 Subject: [PATCH] something --- .vuepress/config.ts | 4 ++-- .vuepress/navbar/zh.ts | 46 +-------------------------------------- .vuepress/themeConfig.ts | 10 ++++----- README.md | 2 -- guide/README.md | 3 --- guide/disable.md | 41 ---------------------------------- guide/encrypt.md | 15 ------------- guide/markdown.md | 1 + guide/page.md | 10 ++++----- home.md | 1 - posts/article/article1.md | 19 ---------------- posts/article/article2.md | 20 ----------------- posts/article/article3.md | 20 ----------------- posts/article/article4.md | 20 ----------------- posts/article/article5.md | 20 ----------------- posts/article/article6.md | 21 ------------------ posts/article/article7.md | 20 ----------------- posts/article/article8.md | 20 ----------------- posts/article10.md | 20 ----------------- posts/article11.md | 20 ----------------- posts/article12.md | 21 ------------------ posts/article9.md | 20 ----------------- posts/blog_of_stei.md | 23 ++++++++++++++++++++ slide.md | 2 +- 24 files changed, 38 insertions(+), 361 deletions(-) delete mode 100644 guide/disable.md delete mode 100644 guide/encrypt.md delete mode 100644 posts/article/article1.md delete mode 100644 posts/article/article2.md delete mode 100644 posts/article/article3.md delete mode 100644 posts/article/article4.md delete mode 100644 posts/article/article5.md delete mode 100644 posts/article/article6.md delete mode 100644 posts/article/article7.md delete mode 100644 posts/article/article8.md delete mode 100644 posts/article10.md delete mode 100644 posts/article11.md delete mode 100644 posts/article12.md delete mode 100644 posts/article9.md create mode 100644 posts/blog_of_stei.md diff --git a/.vuepress/config.ts b/.vuepress/config.ts index c1c7697..1979e72 100644 --- a/.vuepress/config.ts +++ b/.vuepress/config.ts @@ -24,8 +24,8 @@ export default defineHopeConfig({ // }, "/": { lang: "zh-CN", - title: "西安交通大学电信科协-博客", - description: "Blog of XJTU STEI", + title: "西安交通大学电信科协", + description: "Site of XJTU STEI", }, }, diff --git a/.vuepress/navbar/zh.ts b/.vuepress/navbar/zh.ts index 3b30964..9839917 100644 --- a/.vuepress/navbar/zh.ts +++ b/.vuepress/navbar/zh.ts @@ -4,49 +4,5 @@ export const zh = defineNavbarConfig([ "/", "/home", { text: "使用指南", icon: "creative", link: "/guide/" }, - { - text: "博文", - icon: "edit", - prefix: "/posts/", - children: [ - { - text: "文章 1-4", - icon: "edit", - prefix: "article/", - children: [ - { text: "文章 1", icon: "edit", link: "article1" }, - { text: "文章 2", icon: "edit", link: "article2" }, - "article3", - "article4", - ], - }, - { - text: "文章 5-12", - icon: "edit", - children: [ - { - text: "文章 5", - icon: "edit", - link: "article/article5", - }, - { - text: "文章 6", - icon: "edit", - link: "article/article6", - }, - "article/article7", - "article/article8", - ], - }, - { text: "文章 9", icon: "edit", link: "article9" }, - { text: "文章 10", icon: "edit", link: "article10" }, - "article11", - "article12", - ], - }, - { - text: "主题文档", - icon: "note", - link: "https://vuepress-theme-hope.github.io/v2/zh/", - }, + { text: "Git服务器", icon: "git", link: "http://git.xjtustei.nteren.net" }, ]); diff --git a/.vuepress/themeConfig.ts b/.vuepress/themeConfig.ts index 1fd9661..2039587 100644 --- a/.vuepress/themeConfig.ts +++ b/.vuepress/themeConfig.ts @@ -3,18 +3,18 @@ import * as navbar from "./navbar"; import * as sidebar from "./sidebar"; export default defineThemeConfig({ - hostname: "https://vuepress-theme-hope-v2-demo.mrhope.site", + hostname: "http://blog.xjtustei.nteren.net", author: { - name: "Mr.Hope", - url: "https://mrhope.site", + name: "XJTU-STEI", + url: "http://blog.xjtustei.nteren.net", }, iconPrefix: "iconfont icon-", logo: "/logo.svg", - repo: "https://github.com/vuepress-theme-hope/vuepress-theme-hope", + repo: "http://git.xjtustei.nteren.net/XJTUSTEI/stei-blog", docsDir: "demo/src", @@ -89,7 +89,7 @@ export default defineThemeConfig({ displayFooter: true, blog: { - description: "一个前端开发者", + description: "西安交通大学电信科协", intro: "/intro.html", }, diff --git a/README.md b/README.md index 0987c1b..84d2537 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,5 @@ projects: name: 自定义项目 desc: 自定义详细介绍 link: https://你的自定义链接 - -footer: 自定义你的页脚文字 --- diff --git a/guide/README.md b/guide/README.md index 07a8642..158f235 100644 --- a/guide/README.md +++ b/guide/README.md @@ -10,6 +10,3 @@ category: - [Markdown 展示](markdown.md) -- [禁用展示](disable.md) - -- [加密展示](encrypt.md) diff --git a/guide/disable.md b/guide/disable.md deleted file mode 100644 index c58731d..0000000 --- a/guide/disable.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: 组件禁用 -icon: config -category: - - 使用指南 -tag: - - 禁用 - -navbar: false -sidebar: false - -breadcrumb: false -pageInfo: false -contributors: false -editLink: false -lastUpdated: false -prev: false -next: false -comment: false -footer: false - -backtotop: false ---- - -你可以通过设置页面的 Frontmatter,在页面禁用一些功能。 - - - -本页面应当禁用了: - -- 导航栏 -- 侧边栏 -- 路径导航 -- 页面信息 -- 贡献者 -- 编辑此页链接 -- 更新时间 -- 上一篇/下一篇 链接 -- 评论 -- 页脚 -- 返回顶部按钮 diff --git a/guide/encrypt.md b/guide/encrypt.md deleted file mode 100644 index 25370d0..0000000 --- a/guide/encrypt.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -icon: lock -category: - - 使用指南 -tag: - - 文章加密 ---- - -# 密码加密的文章 - -实际的文章内容。 - -段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字段落 1 文字。 - -段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字段落 2 文字。 diff --git a/guide/markdown.md b/guide/markdown.md index ebbcf3f..4ed4e10 100644 --- a/guide/markdown.md +++ b/guide/markdown.md @@ -5,6 +5,7 @@ category: - 使用指南 tag: - markdown +author: Mr.Hope --- VuePress 的每个文档页面都是由 Markdown 渲染而成。所以你需要通过在相应路径创建编写 Markdown 建立你的文档或博客页面。 diff --git a/guide/page.md b/guide/page.md index 08452c4..a6f4b1c 100644 --- a/guide/page.md +++ b/guide/page.md @@ -4,7 +4,7 @@ icon: page # 这是文章的标题 title: 页面配置 # 设置作者 -author: Ms.Hope +author: John Smith # 设置写作时间 date: 2020-01-01 # 一个页面可以有多个分类 @@ -14,10 +14,10 @@ category: tag: - 页面配置 - 使用指南 -# 此页面会在文章列表置顶 -sticky: true -# 此页面会出现在首页的文章板块中 -star: true +# 此页面会在文章列表置顶(为整体观感取消) +sticky: false +# 此页面会出现在首页的文章板块(为观感取消) +star: false # 你可以自定义页脚 footer: 这是测试显示的页脚 --- diff --git a/home.md b/home.md index 898a34f..af2ac06 100644 --- a/home.md +++ b/home.md @@ -99,5 +99,4 @@ features: details: 包括图标支持、全屏按钮、返回顶部按钮等 link: https://vuepress-theme-hope.github.io/v2/zh/guide/feature/ copyright: false -footer: MIT Licensed | Copyright © 2022 XJTU-STEI --- diff --git a/posts/article/article1.md b/posts/article/article1.md deleted file mode 100644 index 304f434..0000000 --- a/posts/article/article1.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -icon: edit -date: 2022-01-01 -category: - - CategoryA -tag: - - tag A - - tag B ---- - -# 文章 1 - -## 标题 2 - -这里是内容。 - -### 标题 3 - -这里是内容。 diff --git a/posts/article/article2.md b/posts/article/article2.md deleted file mode 100644 index bc23d75..0000000 --- a/posts/article/article2.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -icon: edit -date: 2022-01-02 -category: - - CategoryA -tag: - - tag A - - tag B -star: true ---- - -# 文章 2 - -## 标题 2 - -这里是内容。 - -### 标题 3 - -这里是内容。 diff --git a/posts/article/article3.md b/posts/article/article3.md deleted file mode 100644 index baa23d6..0000000 --- a/posts/article/article3.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -icon: edit -date: 2022-01-03 -category: - - CategoryA - - CategoryB -tag: - - tag A - - tag B ---- - -# 文章 3 - -## 标题 2 - -这里是内容。 - -### 标题 3 - -这里是内容。 diff --git a/posts/article/article4.md b/posts/article/article4.md deleted file mode 100644 index 75fb0aa..0000000 --- a/posts/article/article4.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -icon: edit -date: 2022-01-04 -category: - - CategoryA - - CategoryB -tag: - - tag A - - tag B ---- - -# 文章 4 - -## 标题 2 - -这里是内容。 - -### 标题 3 - -这里是内容。 diff --git a/posts/article/article5.md b/posts/article/article5.md deleted file mode 100644 index 035354d..0000000 --- a/posts/article/article5.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -icon: edit -date: 2022-01-05 -category: - - CategoryA - - CategoryB -tag: - - tag A - - tag B ---- - -# 文章 5 - -## 标题 2 - -这里是内容。 - -### 标题 3 - -这里是内容。 diff --git a/posts/article/article6.md b/posts/article/article6.md deleted file mode 100644 index e6fc3ca..0000000 --- a/posts/article/article6.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -icon: edit -date: 2022-01-06 -category: - - CategoryA - - CategoryB -tag: - - tag A - - tag B -star: 10 ---- - -# 文章 6 - -## 标题 2 - -这里是内容。 - -### 标题 3 - -这里是内容。 diff --git a/posts/article/article7.md b/posts/article/article7.md deleted file mode 100644 index cb74906..0000000 --- a/posts/article/article7.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -icon: edit -date: 2022-01-07 -category: - - CategoryA - - CategoryB -tag: - - tag A - - tag B ---- - -# 文章 7 - -## 标题 2 - -这里是内容。 - -### 标题 3 - -这里是内容。 diff --git a/posts/article/article8.md b/posts/article/article8.md deleted file mode 100644 index 530f0ce..0000000 --- a/posts/article/article8.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -icon: edit -date: 2022-01-08 -category: - - CategoryA - - CategoryB -tag: - - tag A - - tag B ---- - -# 文章 8 - -## 标题 2 - -这里是内容。 - -### 标题 3 - -这里是内容。 diff --git a/posts/article10.md b/posts/article10.md deleted file mode 100644 index fabca4c..0000000 --- a/posts/article10.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -icon: edit -date: 2022-01-10 -category: - - CategoryA - - CategoryB -tag: - - tag A - - tag B ---- - -# 文章 10 - -## 标题 2 - -这里是内容。 - -### 标题 3 - -这里是内容。 diff --git a/posts/article11.md b/posts/article11.md deleted file mode 100644 index 927f5d6..0000000 --- a/posts/article11.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -icon: edit -date: 2022-01-11 -category: - - CategoryA - - CategoryB -tag: - - tag A - - tag B ---- - -# 文章 11 - -## 标题 2 - -这里是内容。 - -### 标题 3 - -这里是内容。 diff --git a/posts/article12.md b/posts/article12.md deleted file mode 100644 index 30d2f4c..0000000 --- a/posts/article12.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -icon: edit -date: 2022-01-12 -category: - - CategoryA - - CategoryB -tag: - - tag A - - tag B -star: true ---- - -# 文章 12 - -## 标题 2 - -这里是内容。 - -### 标题 3 - -这里是内容。 diff --git a/posts/article9.md b/posts/article9.md deleted file mode 100644 index 8e48a84..0000000 --- a/posts/article9.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -icon: edit -date: 2022-01-09 -category: - - CategoryA - - CategoryB -tag: - - tag A - - tag B ---- - -# 文章 9 - -## 标题 2 - -这里是内容。 - -### 标题 3 - -这里是内容。 diff --git a/posts/blog_of_stei.md b/posts/blog_of_stei.md new file mode 100644 index 0000000..dddebe4 --- /dev/null +++ b/posts/blog_of_stei.md @@ -0,0 +1,23 @@ +--- +icon: edit +date: 2022-03-03 +author: 党一桐 +isOriginal: true +category: + - 杂谈 + - 计算机 +tag: + - 杂谈 +star: true +--- + +# 西安交通大学电信科协官方站点 + +今天是2022年3月3日,在购买服务器并搭建好`gitea`和`jenkins`之后,终于完成并测试成功了本站的版本控制及自动部署。本站采用`vuepress`框架,由`vuepress-theme-hope`驱动,采用`gitea`进行版本控制,集成`jenkins`CI/CD进行自动化构建部署。如有部署相关问题请咨询[NaiveTomcat](mailto:tomdang@naivetomcat.cn)。 + +本站将主要发布西安交通大学电信科协的相关博文以及教程性文本。 + +请文章撰写者参考[撰写指南](/guide/)进行文章编辑。如有疑惑可进一步参考[vuepress-theme-hope文档](https://vuepress-theme-hope.github.io/v2/zh/guide/)及[vuepress文档](https://vuepress.vuejs.org/zh/guide/)。 + +建议在本地使用带有`Markdown`语法高亮或预览的编辑器进行编辑,如有条件建议先在本地预览项目。对项目仓库的推送将会触发CI部署至生产服务器。 + diff --git a/slide.md b/slide.md index 9e40477..bbc1ef4 100644 --- a/slide.md +++ b/slide.md @@ -18,7 +18,7 @@ layout: Slide -> 作者 Mr.Hope. 请滚动鼠标滚轮进入下一页 +> 请滚动鼠标滚轮进入下一页 ---