feat: 优化seo

This commit is contained in:
neo 2021-02-01 23:19:47 +08:00
parent a0a39e65d8
commit 7cacfd7ce8
2 changed files with 34 additions and 0 deletions

View File

@ -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' },

View File

@ -9,6 +9,8 @@ hero:
footer: Open-source MIT Licensed | Copyright © 2021<br />Powered by [Neo](https://github.com/ineo6)
---
<h1 style="display: none">镜像快速安装Homebrew教程</h1>
<Center><h2>快速安装 Homebrew</h2></Center>
```shell script