Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
jekyll-strapi-custom
Advanced tools
This is a Custom Jekyll-strapi gem for Use in Jekyll version > 4.0. Since the Official jekyll-strapi gem has not been developed for the past 2 years. I Forked it and Made some Changes to Work with Latest Jekyll Versions.
Add the following to your Gemfile:
gem "jekyll-strapi", github:tks18/jekyll-strapi
Then add "jekyll-strapi" to your plugins in _config.yml
:
plugins:
- jekyll-strapi
strapi:
# Your API endpoint (optional, default to http://localhost:1337)
endpoint: http://localhost:1337
# Collections, key is used to access in the strapi.collections
# template variable
collections:
# Example for a "articles" collection
articles:
# Collection name (optional)
type: article
# Permalink used to generate the output files (eg. /articles/:id).
permalink: /articles/:id/
# Layout file for this collection
layout: strapi_article.html
# Generate output files or not (default: false)
output: true
This plugin provides the strapi
template variable. This template provides access to the collections defined in the configuration.
Collections are accessed by their name in strapi.collections
. The articles
collections is available at strapi.collections.articles
.
To list all documents of the collection:
{% for post in strapi.collections.articles %}
<article>
<header>
{{ post.title }}
</header>
<div class="body">
{{ post.content }}
</div>
</article>
{% endfor %}
FAQs
Unknown package
We found that jekyll-strapi-custom demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.