diff --git a/.umirc.ts b/.umirc.ts index 9049134..315d22e 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -6,6 +6,38 @@ export default defineConfig({ logo: '/images/homebrew-256x256.png', favicon: '/favicon.ico', locales: [['zh-CN', '中文']], + metas: [ + { + name: 'keywords', + content: 'Mac,Homebrew,macOS', + }, + { + name: 'description', + content: + 'Homebrew是一款包管理工具,目前支持macOS和linux系统。主要有四个部分组成: brew、homebrew-core 、homebrew-cask、homebrew-bottles。本文主要介绍 Homebrew安装方式以及如何加速访问,顺便普及一些必要的知识。…', + }, + { + property: 'og:title', + content: '镜像快速安装Homebrew教程', + }, + { + property: 'og:url', + content: 'https://brew.idayer.com/', + }, + { + property: 'og:description', + content: + 'Homebrew是一款包管理工具,目前支持macOS和linux系统。主要有四个部分组成: brew、homebrew-core 、homebrew-cask、homebrew-bottles。本文主要介绍 Homebrew安装方式以及如何加速访问,顺便普及一些必要的知识。…', + }, + { + property: 'og:image', + content: 'https://brew.idayer.com/images/homebrew-256x256.png', + }, + { + property: 'og:site_name', + content: 'Homebrew安装教程 - 镜像', + }, + ], navs: [ null, { title: 'GitHub', path: 'https://github.com/ineo6/homebrew-install' }, diff --git a/docs/index.md b/docs/index.md index 729b326..e6a90b6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -9,6 +9,8 @@ hero: footer: Open-source MIT Licensed | Copyright © 2021
Powered by [Neo](https://github.com/ineo6) --- +

镜像快速安装Homebrew教程

+

快速安装 Homebrew

```shell script