Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

HexoJS GUI and Helpers. Pre-process source posts, assets before compile using hexo

License

NotificationsYou must be signed in to change notification settings

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 usingsafelinkify
  • YoastSEO Sitemap
  • Export/Import Blogger and Worpdress
  • More improvisation on future

Example - Using automatic deployment with github workflow (CI)

CLI

standalone runner

run all files (_*.standalone.js) insideconfig.post_dir

image

Configuration

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 cachecache:true# transform shortcodes result to amp htmlamp:false

Copy source posts to hexo source dir

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

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

Anonymize External Links

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

SourceDestination
./.deploy_git./.deploy_git
npx sbg deploy safelink

Automatic SEO

  • 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

Generate YoastSEO Sitemap

SourceDestinationAdditional
./public./publicyou can change public folder by setpublic_dir at_config.yml
npx sbg generate sitemap

Generate RSS ATOM Feeds

SourceDestinationAdditional
./public./publicyou can change public folder by setpublic_dir at_config.yml
npx sbg generate feed

Roadmap

  • Separate with monorepo
  • Test each module
  • Create single bundle tarball
  • Create CI
  • Create Dashboard
  • Integrate Dashboard with google webmaster
  • Fix import/export blogger and wordpress

Note

Previous stable development513d687b4d26bbf4ea735313cb79cbcf8d04b36d

About

HexoJS GUI and Helpers. Pre-process source posts, assets before compile using hexo

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp