Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ne pas merger] Début de mise à jour du template PaperMod #11

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,36 @@ git submodule update --init --recursive
hugo server
```

## Mise à jour du template

```
cd themes/PaperMod
git checkout v6.0
cd ../..
```

Pour vérifier les commits:

```
❯ git diff themes/PaperMod
diff --git a/themes/PaperMod b/themes/PaperMod
index 8021be2..54a3c60 160000
--- a/themes/PaperMod
+++ b/themes/PaperMod
@@ -1 +1 @@
-Subproject commit 8021be2ddb5336bcc84682d4702ec43b7a579b81
+Subproject commit 54a3c6073518005182f3c3250ddb7e8c0cacd7ad
```

Puis committer:

```
git add themes/PaperMod
git commit -m "Bump PaperMod template to v6.0"
```

On peut faire un rendu en preview sur Netlify ou en local et comparer les répertoires si besoin.

## Commande de déploiement

La commande utilisée pour déployer le site sur Netlify est la suivante :
Expand Down