Being a begginer on Hugo ;)

Hello :blush:
Can I follow adding a new post on my blog when my website is on the cloud (hosting)? if the answer is YEAH what is the methodology ? because I would like reading.
and the second question is about the “Keywords The meta keywords for this content” where should it be according to the structure of the tree?

Hi @Karoline_hc

These are some pretty high-level questions, so I’m not sure where to point you. However, as a new user, I would greatly appreciate your feedback on the new documentation site the team is working on here:

https://hugodocs.info

Note that this will eventually be the documentation at https://gohugo.io.

I would recommend starting with the About Hugo section, read the Getting Started, and then if you have questions re: hosting, there is a new Hosting and Deployment section as well.

HTH.

Thank you rdwatters I didn’t know this pages :wink: I’m going to read.

1 Like

Hello Again; Could somebody help me because I dont know what’s the mistake :frowning: “quick start step 5”

Hi @Karoline_hc
You cloned the theme into “introduction” but, you’re not specifying that name when you run hugo.exe server.

Thank You very much RickCogley Let me do the exercise (thinking) once again…I’m going to…:open_mouth:

Hello happy day!!! Can I receive some feedkback please? is folllowing the mistakes, please, please

C:\Hugo>hugo.exe version
Hugo Static Site Generator v0.21 windows/amd64 BuildDate: 2017-06-10T14:17:15+12:00

C:\Program Files\Git>cd…
C:\Program Files>cd…
C:>cd hugo
C:\Hugo>cd sites
C:\Hugo\Sites>hugo.exe new site primero
Congratulations! Your new Hugo site is created in C:\Hugo\Sites\primero.
Just a few more steps and you’re ready to go:

  1. Download a theme into the same-named folder.
    Choose a theme from https://themes.gohugo.io/, or
    create your own with the "hugo new theme " command.
  2. Perhaps you want to add some content. You can add single files
    with “hugo new <FILENAME>.”.
  3. Start the built-in live server via “hugo server”.
    Visit https://gohugo.io/ for quickstart guide and full documentation.
    C:\Hugo\Sites>cd primero
    C:\Hugo\Sites\primero>hugo.exe new post/blog.md
    C:\Hugo\Sites\primero\content\post\blog.md created

C:\Hugo\Sites\primero>hugo.exe new about.md
C:\Hugo\Sites\primero\content\about.md created

C:\Hugo\Sites\primero>hugo.exe new contact.md
C:\Hugo\Sites\primero\content\contact.md created

C:\Hugo\Sites\primero>hugo.exe server
Started building sites …
Built site for language en:
0 of 3 drafts rendered
0 future content
0 expired content
0 regular pages created
6 other pages created
0 non-page files copied
0 paginator pages created
0 categories created
0 tags created
total in 120 ms
Watching for changes in C:\Hugo\Sites\primero{data,content,layouts,static}
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

C:\Hugo\Sites\primero>hugo.exe server --buildDrafts
Started building sites …
Built site for language en:
3 of 3 drafts rendered
0 future content
0 expired content
3 regular pages created
8 other pages created
0 non-page files copied
0 paginator pages created
0 categories created
0 tags created
total in 98 ms
Watching for changes in C:\Hugo\Sites\primero{data,content,layouts,static}
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

C:\Hugo\Sites\primero>cd themes
C:\Hugo\Sites\primero\themes>git clone https://github.com/vickylaiio/hugo-theme-introduction.git introduction
Cloning into ‘introduction’…
remote: Counting objects: 267, done.
remote: Total 267 (delta 0), reused 0 (delta 0), pack-reused 267
Receiving objects: 100% (267/267), 549.32 KiB | 410.00 KiB/s, done.
Resolving deltas: 100% (109/109), done.

C:\Hugo\Sites\primero\themes>cd…
C:\Hugo\Sites\primero>hugo.exe server --theme=hugo-theme-introduction --buildDrafts

Error: Unable to find theme Directory: C:\Hugo\Sites\primero\themes\hugo-theme-introduction
C:\Hugo\Sites\primero> hugo.exe introduction server --theme=hugo-theme-introduction –buildDrafts

Error: Unable to find theme Directory: C:\Hugo\Sites\primero\themes\hugo-theme-introduction
C:\Hugo\Sites\primero> hugo.exe server introduction --theme=hugo-theme-introduction –buildDrafts

Should I creat a new folder called theme or themes into of introduction of manual way according a picture that I have loaded?

"You cloned the theme into “introduction” but, you’re not specifying that name when you run hugo.exe server." When you said “specifying” you mean something like that :

Error: Unable to find theme Directory: C:\Hugo\Sites\primero\themes\hugo-theme-introduction
C:\Hugo\Sites\primero> hugo.exe introduction server --theme=hugo-theme-introduction –buildDrafts

Error: Unable to find theme Directory: C:\Hugo\Sites\primero\themes\hugo-theme-introduction
C:\Hugo\Sites\primero> hugo.exe server introduction --theme=hugo-theme-introduction –buildDrafts

I think so that I have followed step by step the documentation, it is a little example to me.

In your config.toml, set theme = "introduction"…

Hi, thank you for the answer, I have typed on cmd hugo.exe server --theme=introduction --buildDrafts and it has worked.
Now I would like to know what’s the mistake that I’m doing about the blog on the website, because I have run it:
Started building sites …
Built site for language en:
3 of 3 drafts rendered
0 future content
0 expired content
5 regular pages created
8 other pages created
0 non-page files copied
0 paginator pages created
0 categories created
0 tags created
total in 53 ms
Config file changed: C:\Hugo\Sites\primero\config.toml
Started building sites …
CRITICAL 2017/06/20 10:55:18 error expanding “blog/:mynewpost/” section “”: permalink ill-formed
Config file changed: C:\Hugo\Sites\primero\config.toml
Started building sites …
CRITICAL 2017/06/20 10:55:18 error expanding “blog/:mynewpost/” section “”: permalink ill-formed


Should I writer according to hugodocs.info/content-management/urls
[permalinks]
post = “/: 2017/:june/:mynewpost/” according like it is on “blog.md = title: mynewpost” ?? or
Is there something before to post= "/:2017 like for example http:example.org/:2017…???

Should I writer each one, like :
post= “blog/:mynewpost/” (blog.md the title is mynewpost)
post="mynexblog/:online/ (mynextblog.md the title is online)
and
post="mysecondblog/:market/ mysecondblog.md the title is market)

I have already read about https://hugodocs.info/content-management/organization/ but I’m confused still :frowning:

I dont know why on the section blog it is not deploying, obviously it must be a mistake I would like to know what’s . THANKS

Hi @Karoline_hc Seems the issue is with your permalink settings. You don’t need to set a permalink for each and every post; the power of permalinks is that it allows you to set up URL structures for entire sections. The : denotes a dynamic value. Try using :title instead and use the values specified in the docs here: https://hugodocs.info/content-management/urls/#permalinks

That shows you all of the available values you can use for permalinks…

@Karoline_hc I’ve been traveling a lot for work, so the above response was written on my phone. I’m at a desk all day today, so please let me know if that helped you head in the right direction. Also, if you have source hosted somewhere (e.g., on GitHub), I can better help you troubleshoot…

Hello, @rdwatters I let you know that I took your advice. I had misunderstood the concept from the documentation about permalinks anyway I decided running the theme from the begin to clone it and I created the folders for the blog, about, contact .md etc…it has already worked. Working on Hugo’s platform I have learned at least this theme that it is important to use the same characterization like it is shown in the “example site” advised from the author to configuration toml. Also, I noticed that (I made some changes) if I change for example “about” that in Spanish it means “Acerca de” the content into disappearing.
Now I’m working on the content of the beautiful website. I’m not sure if I upload (hosting) the folders to AWSS3 or another, by the way, thank AWS I noticed about Hugo generator ;). If I have another question or troubleshoots I won’t hesitate to ask help thank you very much.

1 Like

Hello :slight_smile: I have uploaded onto aws s3 the public folder for “cloudberry for explorer”. I’m a windows’ user, the HTML worked fine but the CSS style doesn’t work. I have clicked on google and I could find this explanation:

http://markgibson.info/2013/09/css-and-amazon-s3.html.

I did the exercise for each file checking, but all this seems to be right.
I have been reading Hugo-Tools so I would like to know if somebody who is like me a windows user has had the same problems and how has been it solved? if I use the Hugo tools like foresty.io, wercker (I think Hugo lambda is very advanced to me) wouldn’t I have this problem deploying onto aws s3? there is another tool to avoid it? . Thank you.

Hello @Karoline_hc,

I’m not versed with AWS S3 but it’s usually a good idea to check the console in the developer tools of your browser (by pressing F12 in most browsers). Perhaps you see some error messages that could give further hints.

It’s a common error that HTTP and HTTPS requests have been mixed in the HTML and been omitted by the browser for security reasons.

1 Like

Thank you, I’m going to check it :slight_smile: