From aaf31f419eb167dbb7582fb103be29f0bef95ba9 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 03 Jul 2022 18:50:13 +0000
Subject: [PATCH] fix: copy code block logic for non code pages
---
content/notes/hosting.md | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/content/notes/hosting.md b/content/notes/hosting.md
index adda82d..fffcd65 100644
--- a/content/notes/hosting.md
+++ b/content/notes/hosting.md
@@ -2,10 +2,12 @@
title: "Deploying Quartz to the Web"
tags:
- setup
-weight: 4
+weight: -1
+aliases:
+- hosting
---
-## GitHub Pages
+## Hosting on GitHub Pages
Quartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go! Follow the steps below.
### Enable GitHub Actions
@@ -64,7 +66,7 @@
[Reference `deploy.yaml` here](https://github.com/jackyzha0/quartz/blob/hugo/.github/workflows/deploy.yaml)
-```yaml
+```yaml {title=".github/workflows/deploy.yaml"}
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
--
Gitblit v1.10.0