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

How to change theme? #2

Closed
lopins opened this issue Oct 6, 2024 · 0 comments
Closed

How to change theme? #2

lopins opened this issue Oct 6, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@lopins
Copy link
Owner

lopins commented Oct 6, 2024

Pull the repository to your local machine, and then execute in the root directory.

Use this code snippet:

# git submodule add [email protected]:adityatelange/hugo-PaperMod.git themes/hugo-PaperMod

  1. Execute the git command.
# # The following line will pull the theme into the directory and needs to be executed locally once.
git submodule add [email protected]:adityatelange/hugo-PaperMod.git themes/hugo-PaperMod
git submodule update --init --recursive
git add . && git commit -m ':lipstick:style(themes): update the UI and style files' && git push origin main
  1. Modify the configuration fields
theme = "hugo-PaperMod"

Or

theme: "hugo-PaperMod"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant