Skip to content

Installation issues - please could you help me? #91

@andreabisello

Description

@andreabisello

Good Evening,
thanks for your theme,
I had some experience in the past with gohugo,
but I'm not able to execute this theme following these istructions : https://github.com/zerostaticthemes/hugo-serif-theme

PS C:\Users\andre> hugo version
hugo v0.151.0-c70ab27ceb841fc9404eab5d2c985ff7595034b7+extended windows/amd64 BuildDate=2025-10-02T13:30:36Z VendorInfo=gohugoio

PS C:\> hugo new site machenotizia
Congratulations! Your new Hugo site was created in C:\machenotizia.

Just a few more steps...

1. Change the current directory to C:\machenotizia.
2. Create or install a theme:
   - Create a new theme with the command "hugo new theme <THEMENAME>"
   - Or, install a theme from https://themes.gohugo.io/
3. Edit hugo.toml, setting the "theme" property to the theme name.
4. Create new content with the command "hugo new content <SECTIONNAME>\<FILENAME>.<FORMAT>".
5. Start the embedded web server with the command "hugo server --buildDrafts".

See documentation at https://gohugo.io/.


PS C:\> cd .\machenotizia\
PS C:\machenotizia> git clone https://github.com/zerostaticthemes/hugo-serif-theme.git themes/hugo-serif-theme
Cloning into 'themes/hugo-serif-theme'...
remote: Enumerating objects: 2199, done.
remote: Counting objects: 100% (533/533), done.
remote: Compressing objects: 100% (199/199), done.
remote: Total 2199 (delta 392), reused 334 (delta 334), pack-reused 1666 (from 2)
Receiving objects: 100% (2199/2199), 6.51 MiB | 2.50 MiB/s, done.
Resolving deltas: 100% (1080/1080), done.


PS C:\machenotizia> Copy-Item -Path '.\themes\hugo-serif-theme\exampleSite\*' -Destination '.' -Recurse -Force

PS C:\machenotizia> dir


    Directory: C:\machenotizia


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        11/10/2025     20:53                archetypes
d-----        11/10/2025     20:53                assets
d-----        11/10/2025     20:53                content
d-----        11/10/2025     20:53                data
d-----        11/10/2025     20:53                i18n
d-----        11/10/2025     20:53                layouts
d-----        11/10/2025     20:53                static
d-----        11/10/2025     20:53                themes
-a----        11/10/2025     20:53              0 .hugo_build.lock
-a----        11/10/2025     20:53           2487 config.toml
-a----        11/10/2025     20:53             83 hugo.toml


PS C:\machenotizia>
PS C:\machenotizia> hugo
Start building sites …
hugo v0.151.0-c70ab27ceb841fc9404eab5d2c985ff7595034b7+extended windows/amd64 BuildDate=2025-10-02T13:30:36Z VendorInfo=gohugoio

WARN  found no layout file for "html" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  found no layout file for "html" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  found no layout file for "html" for layout "contact" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  found no layout file for "html" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  found no layout file for "html" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

                  │ EN
──────────────────┼────
 Pages            │  7
 Paginator pages  │  0
 Non-page files   │  1
 Static files     │ 21
 Processed images │  0
 Aliases          │  0
 Cleaned          │  0

Total in 51 ms
PS C:\machenotizia>
Image

As you can see, there are some warning and localhost website is not served. Could you help me please?

thankyou.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions