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

akashacms-blog-podcast

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

akashacms-blog-podcast - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

39

index.js
/**
*
* Copyright 2015 David Herron

@@ -20,3 +19,2 @@ *

var path = require('path');

@@ -32,2 +30,39 @@ var util = require('util');

/**
* prepareConfig - Simplify the configuration object by filling in defaults
* that make sense for blogPodcast sites.
*/
module.exports.prepareConfig = function(akashacms, config) {
if (!config) {
config = {};
}
config = akashacms.prepareConfig(config);
// If no config function, then set up a default set of plugins
if (!config.config) {
config.config = function(akasha) {
akasha.registerPlugins([
{ name: 'akashacms-breadcrumbs', plugin: require('akashacms-breadcrumbs') },
{ name: 'akashacms-embeddables', plugin: require('akashacms-embeddables') },
{ name: 'akashacms-blog-podcast', plugin: require('akashacms-blog-podcast') },
{ name: 'akashacms-social-buttons', plugin: require('akashacms-social-buttons') },
{ name: 'akashacms-base', plugin: require('akashacms-base') }
]);
};
}
return config;
};
/**
* startup - Simplify configuration for a Blog using Grunt
*/
module.exports.startup = function(akashacms, config) {
module.exports.prepareConfig(akashacms, config);
// Now that we've prepared the config object, call akashacms.config
akashacms.config(config);
};
/**
* Add ourselves to the config data.

@@ -34,0 +69,0 @@ **/

2

package.json

@@ -14,3 +14,3 @@ {

},
"version": "0.4.3",
"version": "0.4.4",
"engines": {

@@ -17,0 +17,0 @@ "node": ">=0.10.1"

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