Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hexo-generator-tag

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-generator-tag - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

index.js

@@ -6,5 +6,5 @@ 'use strict';

hexo.config.tag_generator = assign({
per_page: hexo.config.per_page
per_page: hexo.config.per_page || 10
}, hexo.config.tag_generator);
hexo.extend.generator.register('tag', require('./lib/generator'));

@@ -8,2 +8,3 @@ 'use strict';

var perPage = config.tag_generator.per_page;
var paginationDir = config.pagination_dir || 'page';

@@ -17,2 +18,3 @@ return locals.tags.reduce(function(result, tag){

layout: ['tag', 'archive', 'index'],
format: paginationDir + '/%d/',
data: {

@@ -19,0 +21,0 @@ tag: tag.name

{
"name": "hexo-generator-tag",
"version": "0.1.0",
"version": "0.1.1",
"description": "Tag generator for Hexo.",

@@ -5,0 +5,0 @@ "main": "index",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc