From 6b87969617df76781153f7b50370028df8bd4551 Mon Sep 17 00:00:00 2001
From: camera-2018 <2907618001@qq.com>
Date: Sat, 22 Jul 2023 14:13:18 +0800
Subject: [PATCH] chore: blog proxy
---
2.高效学习/2.2优雅的使用工具.md | 2 +-
blog/index.md | 8 +++++++-
components/Blogger.vue | 2 +-
components/PostList.vue | 2 +-
4 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/2.高效学习/2.2优雅的使用工具.md b/2.高效学习/2.2优雅的使用工具.md
index 6589dfa..828385f 100644
--- a/2.高效学习/2.2优雅的使用工具.md
+++ b/2.高效学习/2.2优雅的使用工具.md
@@ -34,7 +34,7 @@ wget http://ftp.gnu.org/gnu/coreutils/coreutils-8.32.tar.xz
tar -xJf coreutils-8.32.tar.xz
cd coreutils-8.32/
# Download patch
-wget https://raw.githubusercontent.com/jarun/advcpmv/master/advcpmv-0.8-8.32.patch
+wget https://ghproxy.com/https://raw.githubusercontent.com/jarun/advcpmv/master/advcpmv-0.8-8.32.patch
# Patching display with process bar
patch -p1 -i advcpmv-0.8-8.32.patch
# Compile then install
diff --git a/blog/index.md b/blog/index.md
index c2659b8..3838745 100644
--- a/blog/index.md
+++ b/blog/index.md
@@ -1,5 +1,6 @@
---
title: Blogs
+footer: false
editLink: false
aside: false
next: false
@@ -11,9 +12,12 @@ sidebar: false
import { ref } from 'vue'
import PostList from '../components/PostList.vue'
import Blogger from '../components/Blogger.vue'
+const goUrl = (url) => {
+ window.open(url, "_blank")
+}
-# Friends
+# Friends
@@ -22,3 +26,5 @@ import Blogger from '../components/Blogger.vue'
# Recent Posts
+
+在GitHub上修改关注列表
diff --git a/components/Blogger.vue b/components/Blogger.vue
index ea81829..af9f78a 100644
--- a/components/Blogger.vue
+++ b/components/Blogger.vue
@@ -2,7 +2,7 @@
import { computed } from 'vue'
import VPTeamMembersItem from './BloggerItem.vue'
const size = 'small'
-const props= {friends:(await (await fetch("https://raw.githubusercontent.com/NX-Official/friends-link-plus/main/output/friends.json")).json()).friends}
+const props= {friends:(await (await fetch("https://ghproxy.com/https://raw.githubusercontent.com/NX-Official/friends-link-plus/main/output/friends.json")).json()).friends}
const members = props.friends
const classes = computed(() => [
size ?? 'medium',
diff --git a/components/PostList.vue b/components/PostList.vue
index 75727c5..c179db6 100644
--- a/components/PostList.vue
+++ b/components/PostList.vue
@@ -2,7 +2,7 @@
import { ref, computed } from 'vue';
import Pagination from './Pagination.vue';
import PostItem from './PostItem.vue';
-const props= {data:(await (await fetch("https://raw.githubusercontent.com/NX-Official/friends-link-plus/main/output/friends.json")).json()).posts}
+const props= {data:(await (await fetch("https://ghproxy.com/https://raw.githubusercontent.com/NX-Official/friends-link-plus/main/output/friends.json")).json()).posts}
const pageSize = 10
// const Date = ref('')
const pageTotal = ref(Math.ceil(props.data.length / pageSize))