5/31/2023 0 Comments Use dropbox as web serverPlace 1 is on my phone–just local files in markdown along with local photos. You may be wondering where place 1 is–where I edit blog posts–and how those blog posts get to place 2–where I run Hugo to generate the site. This is no problem: the server is quite secure and only the I can enter the Hugo command via my iPhone because it is only one line so this works even if the connection is very slow. Therefore, I must run Hugo on my web host’s server. This means that the blog posts need to get to the web hosting service where I host my Hugo web site. What this means is that places number 2 and 3 need to be the same place. It makes sense to only synchronize the new post I’ve authored because it is comparatively tiny. I don’t want to have to synchronize stuff that has not changed. Though Hugo is terrifically fast and only updates/generates changes, the result is the ENTIRE site. Here is the key: I didn’t want to sync the generated web site resources each time I created a post. I wanted to be able to do this with mobile internet, which varies a lot in speed depending on where I was traveling. I wanted to be able to author blog posts while on the go, using my iPhone and including pictures I’d taken with the iPhone. There are a couple of considerations that influence these choices. You need a place on the internet where you host the static pages generated by Hugo. You need a place where you run Hugo to generate the static pages of your blog.You need a place where you enter and edit blog posts, including placing your images.To author a blog in Hugo, there are several things to decide about the mechanics, leaving out your choice of theme and other design decisions: You can skip around the Ghost site and go directly to Hugo with ( ) and ( ) -this one is just started so doesn’t have many posts yet. In the top menu, the links for “Florida Coast” and “New England Streams” take you to Hugo blogs. I’ll also point out that git is not used in this approach at all (though there is nothing wrong or especially challenging about git.) I have integrated 2 Hugo sites with a Ghost site of travelogues, but this approach has nothing to do with Ghost at all–I just linked the three sites into one with a navigation menu. I thought I would do a long overdo write-up of how I use Hugo with Dropbox and an iPhone to create blog posts and update my site.
0 Comments
Leave a Reply. |