rafed / BlogRa

The Ultimate Tech Blogging Hugo Theme
https://rafed.github.io/devra
GNU General Public License v3.0
12 stars 11 forks source link

git BlogRa twice and recursive? #11

Closed jiapei100 closed 1 year ago

jiapei100 commented 1 year ago

Hi, @rafed

I've been happy to use your BlogRa template. And thank you for providing such a fantastic Hugo template. However, it looks your [manual of Installation] (https://github.com/rafed/BlogRa#installation--update) isa little problematic.

  1. I would have to checkout BlogRa first, and within this FIRST BlogRa, carry out the following steps (namely, checkout a SECOND BlogRa as the submodule to make everything happen.
$ # install
$ mkdir themes
$ cd themes
$ git submodule add https://github.com/rafed/BlogRa.git BlogRa

$ # update
$ git submodule update --remote --merge

So, in my structure, it will always look like this:

TwoBlogRas

There are ALWAYS two recursive and duplicate BlogRas.

Can you please explain or clear this a little? I believe one redundant BlogRa can be removed.

  1. Without the FIRST BlogRa, I clearly got:
➜  themes git submodule add https://github.com/rafed/BlogRa.git BlogRa
fatal: not a git repository (or any of the parent directories): .git

This is quite understandable.

And, why BlogRa should have a theme of itself, a 2nd BlogRa?

Cheers Pei

rafed commented 1 year ago

Hi @jiapei100

You're right, I guess I should've been more precise on the installation. I'll update it soon. I assumed that users will know about the default way of getting started with a Hugo site. Please also follow the instructions here to get started: https://gohugo.io/getting-started/quick-start/

The root folder should be named something else, e.g. jiapei_site or something, and inside it should be themes/BlogRa. I hope if you follow this approach, it should be good to go.

Let me know if you're having any other problems.

jiapei100 commented 1 year ago

@rafed

Take a look at mine updated just now:

https://www.longervision.ca/

Thank you @refed

rafed commented 1 year ago

Glad it worked out! :D