Practical Hexo : a hands-on introduction to building blogs using the Hexo framework /
Leverage the power of Hexo to quickly produce static blog sites that are efficient and fast. This project-oriented book simplifies the process of setting up Hexo and manipulating content, using little more than a text editor and free software. It will equip you with a starting toolset that you can u...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Apress,
2020.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Intro
- Table of Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: Getting Started
- So, what's new ...?
- Introducing Hexo
- Some housekeeping tasks
- Getting the dependencies installed
- Installing Hexo
- Creating our first example blog
- Exploring the changes in detail
- Understanding how Hexo operates
- Breaking apart the folder structure
- The _config.yml file
- Using an alternative configuration file
- Overriding a theme configuration
- The package.json file
- Changing our configuration
- Changing the URL of our blog
- Exploring our code changes in detail
- Summary
- Chapter 2: Manipulating Content and Media
- Understanding how content is stored
- Creating written content
- Breaking apart our changes
- Setting the front matter content
- Adding text to posts
- Dissecting the changes made
- Adding excerpts
- Adding media content
- Improving image coverage
- Breaking apart the changes
- Linking to external content
- Breaking apart the code
- Managing content
- Breaking apart our code
- Tagging content
- Processing and previewing content
- Making assumptions
- Breaking apart the changes
- "But there's more ..."
- Summary
- Chapter 3: Creating Themes
- Changing themes
- Exploring theme file structure
- Creating our first theme
- Breaking apart the changes
- Constructing theme files
- Understanding what happened
- Using variables in Hexo
- Adding navigation
- Understanding the changes
- Using permalinks
- Summary
- Chapter 4: Developing Themes
- Adding comments
- Understanding what happened
- Adding widgets
- Understanding the code in detail
- Adding a sitemap
- Breaking apart the changes
- Applying styles
- Testing our theme
- Publishing themes online
- Where next?
- Summary
- Chapter 5: Working with the API
- But ... when is a plugin not a plugin?
- Exploring what is available in Hexo
- Making use of Hexo helpers
- Creating a custom helper
- Breaking apart the code
- Creating tag snippets
- Understanding the code in detail
- Taking into account tag plugins
- Adding content through generators
- Breaking apart the code
- Taking things further
- Digging deeper into the API
- The pitfalls of using these API methods
- Putting a task runner to use
- Watching for changes
- Compiling Sass code with Hexo
- Understanding how our code works
- Summary
- Chapter 6: Building Plugins
- When is a plugin not a plugin: Revisited
- Understanding the architecture of a plugin
- Using existing tools to accelerate development
- Writing our first plugin
- Dissecting the code
- Implementing the WebP format as a plugin
- Building our plugin
- Understanding the code
- Publishing our plugins online
- Taking it further: Setting up a website
- Summary
- Chapter 7: Deployment and Publishing
- Understanding the deployment process
- Tidying up our content
- Choosing a host
- Uploading content