Hugo in Action:静态网站和动态Jamstack应用(True EPUB、MOBI)

Hugo in Action:静态网站和动态Jamstack应用(True EPUB、MOBI)

Hugo in Action:静态网站和动态Jamstack应用(True EPUB、MOBI)
使用Hugo只需30分钟即可构建并部署一个实时网站。Hugo engine可以让您快速交付低维护、高性能和功能丰富的静态站点。
在《雨果在行动》中,你会学到:
使用Hugo和Jamstack构建网页
使用降价创建内容
Hugo的内容管理
设计新雨果主题
使用Go模板语言
使用Hugo模块管理依赖关系
使用Jamstack访问api
使用JavaScript添加购物车
带标记的内容标记
有时候,简单更好。具有固定内容的静态网站更容易创建和维护,而且本质上比动态页面更安全。Hugo in Action是一本实践指南,介绍如何使用Hugo静态网站引擎以毫秒为单位呈现这些网站。通过使用完整的示例网站和源代码示例,您将了解如何构建和托管一个网站,在没有第三方服务器的情况下,该网站将让用户惊叹并保持稳定。Jamstack(Javascript、API、Markdown)的全面报道显示了向超简单网站添加复杂功能是多么容易,包括电子商务购物车、动态表单和多语言选项。
关于技术
因为静态网站加载的是预先构建的页面,所以它们简单、安全,而且速度非常快。使用Hugo static site generator,您可以在几秒钟内构建和呈现一个网站,而无需手工编写页面代码。Hugo获取内容和模板的目录,并将其呈现为完整的HTML和CSS网站,非常适合博客、文档和其他不需要实时更新的网站。
关于这本书
在Hugo In Action中,您将逐步了解如何构建高效、低维护的静态网站。您将使用Hugo作为CMS和web开发环境,创建自定义页面,并设计自己的Hugo主题。你不会就此止步!除了基本功能之外,您还将结合Jamstack模型来添加电子商务和您自己的API等功能。其结果是:丰富的网站灵活且极其稳定。
里面是什么
使用Hugo和Jamstack构建网页
使用Go模板语言
使用Hugo模块管理依赖关系
带标记的内容标记
关于读者
适用于具备JavaScript基本知识的web开发人员。
关于作者
阿提西·贾恩是Adobe的高级计算机科学家。他开发了数百万Adobe Creative Cloud客户使用的基于网络的软件。
目录
第一部分静态雨果网站:快速加载,持续构建
1.Jamstack和Hugo
2 30分钟后直播:你现在有了一个网站
3对内容使用标记
4 Hugo的内容管理
5个使用Go模板语言的自定义页面和自定义内容
6.构建网页
7创造自己的主题
8个雨果模块:每个人的插件
第2部分用JAMSTACK扩展:动态外部,静态内部
9访问API以增强功能
10 JavaScript的威力
11.通过定制API和Webhook打破障碍
12.使用Jamstack添加电子商务功能
13.打包
Hugo in Action: Static sites and dynamic Jamstack apps (True EPUB, MOBI)
Build and deploy a live website in just 30 minutes using Hugo. The Hugo engine lets you rapidly deliver static sites that are low maintenance, high performance, and feature rich.
In Hugo in Action you will learn:
Building web pages with Hugo and Jamstack
Creating content using Markdown
Content management with Hugo
Designing new Hugo themes
Using the Go template language
Managing dependencies with Hugo modules
Accessing APIs with Jamstack
Adding a shopping cart using JavaScript
Content tagging with markup
Sometimes, simple is better. Static websites—sites with fixed content—are easier to create and maintain, and inherently more secure than dynamic pages. Hugo in Action is a hands-on guide to using the Hugo static site engine to render these websites in milliseconds. Working with a complete example website and source code samples, you’ll learn how to build and host a site that will wow users and stay stable without a third-party server. Full coverage of the Jamstack (Javascript, APIs, Markdown) shows how easy it is to add complex features to super-simple sites, including eCommerce shopping carts, dynamic forms, and multilingual options.
About the technology
Because they load pre-built pages, static websites are simple, secure, and incredibly fast. With the Hugo static site generator you can build and render a website in seconds without the grind of hand coding the pages. Hugo takes a directory of content and templates and renders it as a full HTML and CSS website—perfect for blogs, documentation, and other sites that don’t require real-time updates.
About the book
In Hugo in Action you’ll learn step-by-step how to build efficient, low-maintenance static web sites. You’ll use Hugo as a CMS and web development environment, create custom pages, and design your own Hugo themes. And you won’t stop there! Moving beyond the basics, you’ll incorporate the Jamstack model to add capabilities like eCommerce and your own APIs. The result: rich websites that are flexible and incredibly stable.
What’s inside
Building web pages with Hugo and Jamstack
Using the Go template language
Managing dependencies with Hugo modules
Content tagging with markup
About the reader
For web developers with a basic knowledge of JavaScript.
About the author
Atishay Jain is a Senior Computer Scientist at Adobe. He has developed web-based software used by millions of Adobe Creative Cloud customers.
Table of Contents
PART 1 STATIC HUGO WEBSITES: LOADING FAST, BUILDING TO LAST
1 The Jamstack and Hugo
2 Live in 30 minutes: You now have a website
3 Using markup for content
4 Content management with Hugo
5 Custom pages and customized content with the Go template language
6 Structuring web pages
7 Creating your own theme
8 Hugo Modules: Plugins for everybody
PART 2 EXPANDING WITH THE JAMSTACK: DYNAMIC OUTSIDE, STATIC INSIDE
9 Accessing APIs to enhance functionality
10 The power of JavaScript
11 Breaking barriers with custom APIs and webhooks
12 Adding e-commerce capabilities using the Jamstack
13 Wrapping it up

评论可见隐藏内容
此处内容评论后可见

温馨提示:此处为隐藏内容,需要评论或回复留言后可见

评论/回复

OR

付费隐藏内容
此处内容需要权限查看

该内容查看价格:¥5 / VIP会员免费

登录后购买 开通VIP免费查看
分享到 :
相关推荐

发表回复

登录... 后才能评论