Closed JoveActuarial closed 6 years ago
Hey,
how did you install it? Here are the instructions that work for me.
mkdir -p new_site/themes
cd new_site
git clone https://github.com/dldx/hpstr-hugo-theme.git themes/hpstr
cp themes/hpstr/exampleSite/* . -r
hugo server
Output should look something like this:
durand@Deuterium ~> mkdir -p new_site/themes
durand@Deuterium ~> cd new_site/
durand@Deuterium ~/new_site> git clone https://github.com/dldx/hpstr-hugo-theme.git themes/hpstr
Cloning into 'themes/hpstr'...
remote: Counting objects: 2778, done.
remote: Total 2778 (delta 0), reused 0 (delta 0), pack-reused 2778
Receiving objects: 100% (2778/2778), 4.98 MiB | 1.97 MiB/s, done.
Resolving deltas: 100% (1341/1341), done.
Checking connectivity... done.
durand@Deuterium ~/new_site> cp themes/hpstr/exampleSite/* . -r
durand@Deuterium ~/new_site> hugo server
ERROR 2017/10/25 14:37:40 No 'baseURL' set in configuration or as a flag. Features like page menus will not work without one.
Started building sites ...
WARNING: calling IsSet with unsupported type "invalid" (<nil>) will always return false.
Built site for language en:
0 draft content
0 future content
0 expired content
10 regular pages created
26 other pages created
0 non-page files copied
14 paginator pages created
9 tags created
0 categories created
total in 32 ms
Watching for changes in /home/durand/new_site/{data,content,static,themes}
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at //localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
Just discovered this issue that you and another user reported where posts are not being rendered correctly. I think it has something to do with changes they made to new versions of Hugo. I'm investigating this right now! You can force each page to render by removing, saving, then adding back the line layout: post
from each page while hugo server is running. This isn't a proper fix though but in case you're desperate to get it working right now...
Thanks so much for having a look at this - and for converting this great theme!
I'm getting the same issue following on from a new install as suggested.
I'm on Hugo version .30.2 on MacOS High Sierra.
Sorry, been quite busy. I'm not sure if there's anything I can really do. I tested this with a fresh install and the latest version of Hugo and didn't have any issues but let me know if you still do!
I'm having problems with use of this theme and the example site. The urls for individual posts are generating 404 pages.
Running hugo -v gives
(Full output below)
Apologies if missing something obvious here - new hugo user.
Many thanks