Making a static copy of a website
Today Nick and I learned together how to create a static website copy:
Using Hugo tutorial ( https://gohugo.io/getting-started/quick-start/ and https://github.com/jbarone/ghostToHugo and https://blog.notmyhostna.me/posts/my-ghost-to-hugo-migration/ ) download information from your Ghost website, new theme and template etc. Then, make sure that all your files are under the “index.md” name (I did this by hand, but it also can be done with a python script) and then you might need another python script to fix the links and images code in your files (otherwise it will give an error while trying to load the website). If the content is still not displayed in the homepage, go to themes/partials/page and in index.html paste
{{ range .Site.Pages }}
{{ .Content }}
{{ end }}.
This should display all the content you have in one page. Or if you want it look more interesting try
{{ range .Site.Pages }}
<article>
<h4>{{ .Title }}</h4>
<p>{{ .Summary }}</p>
<a href="{{ .Permalink }}">Read more</a>
</article>
{{ end }}
Hope this helps if anyone ever needs to turn their Ghost website into static!
-Sofiia