Building Site with Hexo.
This media can also be read in: [Hexo - Summary] article
Yet, another underachiever 👻.
But hey, I have my own blog 🎉.
This is just an example project. Most you can do with one SSG can be done with other SSG as well.
You are free to use your SSG choice:
Jekyl, Hugo, Hexo, 11ty, Pelican, Gatsby
The easiest thing to do this is to make a minimal theme, and modified later.
Of course you need better than these two. From header, footer, to nice looks stylesheet.
Your typical layout would contain header and footer.
With very humble result as figure below
And see the result in action.
Using CSS framework such as Bulma or Bootstrap, can make your life easier.
Long code tends to get messy. You need to get organized.
Now you can have a nicer looks in browser.
Further, you can utilize stylesheet to control your responsive space, or custom component.
Hexo has this four special page sections.
However you still have to make your own page for summary:
Instead of plain looks, you can style custom layout.
With any looks, as creative as you can.
Your attempt to make summary page should be just a simple loop.
And then you can make a nice looks, from that simple loop above, using bulma's button class.
You can go further by showing tree of pages in this summary page.
Without adding any plugin, Hexo cannot generate custom output. But there is a trick.
You can also put anything in your layout as creative as you are.
You can also utilize static data to generate content, such as backlink, internal link, or other stuff.
Now consider link the data from this content below.
With previous article, now we can see one or more links in a widget.
Your typical post.ejs should contain header, and optionally footer (such as license) and navigation.
A complete post can be seen in preview below.
Be aware of markdown configuration, as it takes tweak to make it follow standard practice.
Raw html is useful when you want to add service, or just plain html such as TOC in figure below
Syntax highlighting in Hexo is using
In some cases you need to fix the stylesheet.
Opengraph is a must nowadays.
Using EJS and Bulma stylesheet, a common pagination could be achieved.
Using EJS and custom stylesheet, a responsive pagination also could be achieved.
There are sections, that we can put pagination inside it.
We need to handle previous URLs correctly with EJS function.
To Github or Gitlab or Netlify.
Don't be shy 🙋🏻♂️!
Thank You for Your Time.