Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Verse is a static site generator, with a couple of twists. First, once any given page of a site loads, your site becomes a single page app. Second, you can easily publish your site to s3.
npm install -g verse
To build your site, simply run:
verse build <env>
where <env>
is the name of the configuration to use. The configuration is bundled with your site.
To publish to S3, be sure to include the s3 bucket name in your configuration (under s3.bucket
). You must have s3cmd
installed for this to work.
Your site should be organized as follows:
root
site.cson
build
< created by verse - don't modify >
env
< configuration name >
config.cson
content
articles
posts
< other content goes here >
src
layouts
< custom layouts (if any) go here >
gadgets
< custom gadgets (if any) go here >
css
< Nice-based CSS >
assets
js
< javascript goes here >
img
< img files go here >
css
< css files go here >
fonts
< font files go here >
Verse will create an ark, a JavaScript bundle created with ark
from build/ark
. It will copy your custom gadgets, layouts, content, and environments into the ark and bundle it into a single ark.js
file. You want to make sure to include this file in your layouts.
Next, the ark will be copied into your Web directory build/web
, along with the additional JavaScript, CSS, etc. Your site.cson
file will further determine which pages get generated.
site.cson
FileYour site.cson
file consists of a dictionary of objects, each of which describes a page or directory of your site.
FAQs
Forward-looking Stylus CSS framework for CSS3/HTML5.
The npm package verse receives a total of 42 weekly downloads. As such, verse popularity was classified as not popular.
We found that verse demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.