dimaslanjaka/static-blog-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HexoJS GUI and Helpers - Static Blog Generator NodeJS.

Static Blog Generator v3 using Gulp System.

Pre-processing of all source posts/articles before rendering using hexo. Useful for low-end devices to avoid memory heap errors. With this package you can prevent using a large number of hexo plugins, because some functions (runners) are separated by task, so they are memory friendly.

Features:

  • Automatic SEO
  • Finding broken images
  • Finding broken links
  • External link anonymizer using safelinkify
  • YoastSEO Sitemap
  • Export/Import Blogger and Worpdress
  • More improvisation on future

run all files (_*.standalone.js) inside config.post_dir

image

Configuration setup for _config.yml that required for this package (you can change the values)

public_dir: "public"
source_dir: "source"
post_dir: "src-posts"
generator:
  # enable global cache
  cache: true
  # transform shortcodes result to amp html
  amp: false

Compiling and Copying all source posts including shortcodes etc to hexo source post directory

SourceDestination
./src-posts./source/_posts
npx sbg post copy

Cloaking all external links to outbound page redirector, useful for SEO.

SourceDestination
./.deploy_git./.deploy_git
npx sbg deploy safelink
  • adds an alt tag to an image element when none exists
  • adds an title tag to an iframe element when none exists
SourceDestination
./.deploy_git./.deploy_git
npx sbg deploy seo
SourceDestinationAdditional
./public./publicyou can change public folder by set public_dir at _config.yml
npx sbg generate sitemap
SourceDestinationAdditional
./public./publicyou can change public folder by set public_dir at _config.yml
npx sbg generate feed
  • Separate with monorepo
  • Test each module
  • Create single bundle tarball
  • Create CI
  • Create Dasard
  • Integrate Dasard with google webmaster
  • Fix import/export blogger and wordpress

Previous stable development 513d687b4d26bbf4ea735313cb79cbcf8d04b36d