大网数据广告活动
网站运营与故障问答

Is it possible to use Hugo in Google Sites?

· 52CE 我爱测

I want to deploy a Hugo template in Google Sites (a free hosting). I currently have a website but I am using the default (new) Google style (I don't link it here because I don't want to reveal my email address). It is clearly pos…

问题原文

原帖链接 · luchonacho · CC BY-SA 4.0

I want to deploy a Hugo template in Google Sites (a free hosting). I currently have a website but I am using the default (new) Google style (I don't link it here because I don't want to reveal my email address).

It is clearly possible to get different styles in Google Sites. Examples of different styles are here, here (this one using the Classic version of Google Sites), and a long list here. But the latter site says:

If you decide to use Google Sites, you should know that it only includes one template with several style options (called "Themes" in Google Sites).

And yet, there are companies offering template services for Google Sites (e.g. here).

I've searched the Hugo documentation and it only mentions deploying Hugo in Google Cloud Services, which is a paid service. So, it seems I cannot do what I want for free. is this correct?

已采纳解答

原帖链接 · Goyllo · CC BY-SA 4.0

Huge can be host anywhere which support to host static files. But Google sites is completely different thing, it is pre built web app/software, not a complete hosting server. it comes with their own rules, to provide a security. It's same like blogspot, they allowed to write free blog post, but they have their own rules. It's not flexible and you can't do whatever you want, because it's a software/app, it is already program to do only specific things, so it's not in your full control.

Hugo generate static files, so as I said it can be host anywhere who provide hosting service, and there are already free option available like github pages and firebase. They have already written detail articles on both of them here. I've used both of them(I'm using jekyll which is built on ruby while hugo is built on Go language, both offer same thing with different lang & features), both hosting server are really great and free and satisfy my most of needs.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2019-12-11)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。