Skip to main content

2020 | Buch

Practical Hexo

A Hands-On Introduction to Building Blogs Using the Hexo Framework

insite
SUCHEN

Über dieses Buch

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 use to develop future projects, incorporate into your existing workflow and allow you to take your websites to the next level.

Hexo is based on JavaScript and Node.js, two of the biggest tools available for developers: you can enhance, extend, and configure Hexo as requirements dictate. With Hexo the art of possible is only limited by the extent of your imagination and the power of JavaScript and Node.js.

Practical Hexo gets you quickly acquainted with creating and manipulating blogs using a static site generator approach. You will understand how to use the Hexo framework to rapidly create and deploy blogs that are performant, with the minimum of fuss, then extend and customize your content using plugins and themes. You will work through some practical projects to help solidify your skills, and put them into practice.

What You'll Learn

Implement the Hexo framework in a projectCustomize and extend contentConsider maintenance requirements and how they compare to other blog systemsApply skills to practical, real-world projectsCreate themes and build pluginsMake changes using other tools and libraries.

Who This Book Is For

Website developers who are already familiar with JavaScript and keen to learn how to leverage the Hexo framework.

Agile development team members, where time is of the essence to deliver results quickly.

Developers who want to focus on simplicity, to produce efficient and properly optimized content in modern browsers using tools already in their possession.

Inhaltsverzeichnis

Frontmatter
Chapter 1. Getting Started
Abstract
Cast your mind back to the 1990s. Anyone remember the likes of Usenet, CompuServe, bulletin boards, and the like? These online communities were very popular at the time and gave rise to what we now know as weblogs.
Alex Libby
Chapter 2. Manipulating Content and Media
Abstract
With our initial blog set up, it’s time to start adding content! Hexo doesn’t use databases, but instead works with Markdown files; throughout this chapter, I will show you how easy it is to start adding and managing content, including images, sounds, and videos.
Alex Libby
Chapter 3. Creating Themes
Abstract
By now, we've started to add in some test posts, along with media and videos. Our blog has limited content in it, but what about the look and feel of our content? We're not limited to the landscape theme that is enabled by default, right?
Alex Libby
Chapter 4. Developing Themes
Abstract
Take a look back at the start of Chapter 3. Remember how I said that creating our own theme opens up a world of possibilities and that we can customize it to our needs? Fast-forward to now, we have a theme in place…but it’s still missing functionality and doesn’t look that great – at least not yet!
Alex Libby
Chapter 5. Working with the API
Abstract
Up until now, we've started to develop our blog by adding media, content, and the like. Developing our blog in this manner is perfect, but there may come a time when we want to take things further and – to coin a phrase – "spice things up a little."
Alex Libby
Chapter 6. Building Plugins
Abstract
Remember how at the end of the last chapter we created something that uses the Hexo renderer method to compile Sass styling code…?
Alex Libby
Chapter 7. Deployment and Publishing
Abstract
We've gotten everything in place – we've written our test content, we've set up our chosen theme, and we’ve prepared our media. But how do we get it all published?
Alex Libby
Chapter 8. Improving Our Workflow and Blog
Abstract
Up until now, we've created our content manually and added in all of our media, again by hand. We may have touched on using a few plugins, but nothing too complicated – what we have seems to work well for our requirements.
Alex Libby
Chapter 9. Localizing Content
Abstract
The phrase "localizing content" reminds me of the British comedy Fawlty Towers. In it, we see Manuel, a well-meaning but disorganized and confused waiter who is frequently verbally abused by his boss. He gets all manner of verbal abuse, to which his response is often "¿Qué?" ("What?")
Alex Libby
Chapter 10. Creating an eCommerce Site
Abstract
Online shopping is big business, and multiplying year on year – eMarketer reported in mid-2019 that ecommerce would grow by 10.9% to over $140 billion, with almost 60% of this attributable to mobile devices alone! This share is set to increase to a shade over 70% by the year 2023… It is easy to see why physical retail is suffering. After all, who wants to spend time in crowded stores when one can do it from the comfort of their own home?
Alex Libby
Chapter 11. Migrating to Hexo
Abstract
Throughout this book, we've concentrated on creating content from scratch – this is perfect for those of you who don't have an existing blog or might have had one some time ago and it's so out of date there is nothing worth reusing.
Alex Libby
Backmatter
Metadaten
Titel
Practical Hexo
verfasst von
Alex Libby
Copyright-Jahr
2020
Verlag
Apress
Electronic ISBN
978-1-4842-6089-0
Print ISBN
978-1-4842-6088-3
DOI
https://doi.org/10.1007/978-1-4842-6089-0