Theme install help needed

New to html/Css so want to install using a theme.
installed Hugo successfully, and have installed Meghna theme.

Edited the

config.toml file to include the theme = “megna-theme”

but when running Hugo server -D, I don’t seem to be getting it showing correctly, no images, nav bar etc. back ground colour and title shows only.

tried it with Syna too, same issue.

this is all localhost:1313

Any ideas?

Hi there,

is your code available online for review?

What is the result of hugo server --verbose ?

INFO 2020/07/10 00:01:10 No translation bundle found for default language “en”
INFO 2020/07/10 00:01:10 Translation func for language en not found, use default.
INFO 2020/07/10 00:01:10 i18n not initialized; if you need string translations, check that you have a bundle in /i18n that matches the site language or the default language.
INFO 2020/07/10 00:01:10 Using config file:
Building sites … INFO 2020/07/10 00:01:10 syncing static files to /

               | EN  

-------------------±----
Pages | 7
Paginator pages | 0
Non-page files | 0
Static files | 21
Processed images | 0
Aliases | 2
Sitemaps | 1
Cleaned | 0

Built in 26 ms
Watching for changes in /Users/brocks/hugo/altstogether/{archetypes,content,data,layouts,static,themes}
Watching for config changes in /Users/brocks/hugo/altstogether/config.toml
Environment: “development”
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

Have you created any content? By default, it is content directory.
hugo new _index.md
Add some text at the bottom of content/_index.md.
See if there is any difference.

On a more general note, using a theme just saves you some typing, but, realistically, you still need to learn some HTML and CSS. Here’s a good starting point:

Hi

yes, I’ve been getting to grips with html/css using some w3schools, and am okay regards to very simple stuff in JS too, and have even used create react app, and basic courses on docker, aws services. and loving the learning! Not familiar full with Github yet, and have had issues when trying to drag the file up (error due to more than 100 files). so need to play with that to show my content folder

I have a _index.md file the my sites content file, with a paragraph in it yes.
local host displays the page as if its there is a top div, main div, no content except the site name. and a box with a ? in it.

been following Mike Duane Hugo tutorials, to the letter (or so I thought haha)

I will get and post a picture after work this evening.

thanks

OK, with a theme involved it’s a tad difficult to find the ends… Would you mind trying my tutorial and see if it works better:
https://vendelin.org/geeky/hugo/

Just start another project from scratch, and follow the steps.

I would appreciate any feedback (don’t be polite), as you are an ideal person to actually test my tutorial against.

1 Like

hi

I will have a try with that, when I return from work this evening!

thanks!

so far soo good! well written, and easy to follow.