
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
ng2-contentful-blog
Advanced tools
Module for creating a blog using [Contentful](https://www.contentful.com/)
Module for creating a blog using Contentful
Menu
- includes fields:name
(Short text
)
Settings:
This field represents the Entry title
This field is required
Single line
submenus
(References, many
)
Settings:
Submenu
Entry links list
entryPoint
(Reference
)
Settings:
NodePage
Entry link
Submenu
- includes fields:name
(Short text
)
Settings:
This field represents the Entry title
This field is required
Single line
entryPoint
(Reference
)
Settings:
NodePage
Entry link
thumbnail
(Media
)
Header
- includes fields:name
(Short text
)
Settings:
This field represents the Entry title
This field is required
Single line
entries
(References, many
)
Settings:
Menu
Entry links list
Footer
- includes fields:name
(Short text
)
Settings:
This field represents the Entry title
This field is required
Single line
entries
(References, many
)
Settings:
Menu
Entry links list
Tag
- for creating and attaching tags in NodePage
, includes fields:name
(Short text
)
Settings:
This field represents the Entry title
This field is required
Slug
slug
(Short text
)
Settings:
Slug
Html
- model that it used to create the html blocks for NodePage
, includes fields:name
(Short text
)
Settings:
This field represents the Entry title
Single line
content
(Long text
)
Settings:
Markdown
Video
- model that it used to create the video blocks (via iframe) for NodePage
, includes fields:title
(Short text
)
Settings:
This field represents the Entry title
Single line
description
(Long text
)
Settings:
Markdown
youtube
(Short text
)
vimeo
(Short text
)
Embedded
- to create a block of any embedded content (via iframe) for NogePage
, includes fields:title
(Short text
)
Settings:
This field represents the Entry title
Single line
link
(Long text
)
Settings:
This field is required
Single line
NodePage
- blueprint of the page for posts/list of posts, includes fields:title
(Short text
)
Settings:
This field represents the Entry title
This field is required
single line
type
(Short text
)
Settings:
Predefined values
Dropdown
slug
(Short text
)
Settings:
slug
thumbnail
(Media
)
description
(Long text
)
Settings:
Markdown
entries
(References, many
)
Settings:
Html
, Video
, Embedded
Entry links list
Related nodes
(References, many
)
Settings:
NodePage
Entry links list
createdAt
(Date & time
)
Settings:
This field is required
show in main page slider
(Boolean
)
parent
(Reference
)
Settings:
NodePage
Entry link
tags
(References, many
)
Settings:
Tag
Entry links list
NodePage
Go to contentful
choose content
then choose Add entry
and fill in NodePage
, for example:
title
: Page testslug
: page-testdescription
: first pageentries
- create new html
title
: Sub pageslug
: sub-pagedescription
: Sub page testentries
- create new html
Related nodes
: Page test
parent
: Page test
tags
: blogMenu
Go to contentful
choose content
then choose Add entry
and fill in Menu
, for example:
name
: Menu itemsubmenus
: select or create SubMenu
OR
entryPoint
: select or create NodePage
Note: priority will be submenus
name
: HeaderMenuentries
: Menu item
(your menu item)git clone git@github.com:VS-work/ng2-contentful-blog.git
ng2-contentful-blog/demo
- open and edit next files:contentful.json
- add your accessToken and space
Ng2ContentfulConfig.config = {
accessToken: CONTENTFUL_ACCESS_TOKEN,
space: CONTENTFUL_SPACE_ID,
host: CONTENTFUL_HOST
};
constIdContentType.json
update all id (keys) according to your content model
=> JSON preview
, for example
Get value from sys.id
which is ***YOUR ID***
and put into constIdContentType.json
:
{
"CONTENTFUL_NODE_PAGE_TYPE_ID": "***YOUR ID***",
"CONTENTFUL_TAG_TYPE_ID": "***YOUR ID***",
"VIDEO_CONTENT_ID": "***YOUR ID***",
"HTML_CONTENT_ID": "***YOUR ID***",
"EMBEDDED_CONTENT_ID": "***YOUR ID***"
}
npm i && npm run dev
localhost:8080/#/*your menu item*
for example localhost:8080/#/page-test
FAQs
Module for creating a blog using [Contentful](https://www.contentful.com/)
The npm package ng2-contentful-blog receives a total of 2 weekly downloads. As such, ng2-contentful-blog popularity was classified as not popular.
We found that ng2-contentful-blog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.