Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.221.21.111
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
panini /
helpers /
Delete
Unzip
Name
Size
Permission
Date
Action
code.js
733
B
-rw-rw-r--
2022-08-30 11:49
ifEqual.js
451
B
-rw-rw-r--
2022-08-30 11:49
ifPage.js
1.07
KB
-rw-rw-r--
2022-08-30 11:49
markdown.js
921
B
-rw-rw-r--
2022-08-30 11:49
repeat.js
655
B
-rw-rw-r--
2022-08-30 11:49
unlessPage.js
1.1
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
/** * Generates a Handlebars block helper called #ifpage for use in templates. This helper must be re-generated for every page that's rendered, because the return value of the function is dependent on the name of the current page. * @param {string} pageName - Name of the page to use in the helper function. * @returns {function} A Handlebars helper function. */ module.exports = function(pageName) { /** * Handlebars block helper that renders the content inside of it based on the current page. * @param {string...} pages - One or more pages to check. * @param (object) options - Handlebars object. * @example * {{#ifpage 'index' 'about'}}This must be the index or about page.{{/ifpage}} * @return The content inside the helper if a page matches, or an empty string if not. */ return function() { var params = Array.prototype.slice.call(arguments); var pages = params.slice(0, -1); var options = params[params.length - 1]; for (var i in pages) { if (pages[i] === pageName) { return options.fn(this); } } return ''; } }