![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
hexo-tag-post-link
Advanced tools
A hexo tag plugin for inserting post link in your posts with your own format.
$ npm install hexo-tag-post-link --save
Create "_data" folder under "source" folder, if you don't have it.
Create "post_link.yml" in your "source/_data" folder
Add your own post link format in ymal
name: format
Example
header: <b>The link to this post: </b><a href="<%= post_permalink %>" target="_blank"><%= post_title %></a>
Add post link tag to wherever you like in your post
{% post_link <name> %}
Example:
{% post_link header %}
hexo-tag-post-link supports adding post link to all posts by setting the _config.yml
file:
post_link:
insert_before_post: <template_name>
insert_after_post: <template_name>
Let's say we have template header
and footer
defined in our postlink.yml data file. Then we could use the following configuration to add them to all posts.
post_link:
insert_before_post: header
insert_after_post: footer
hexo-tag-post-link also supports per type configurations in _config.yml
file. For example:
post_link:
per_type_configs:
- type: category
name: "category-name"
insert_before_post: "header-for-category"
insert_after_post: "footer-for-catefory"
- type: tag
name: "tag-name"
insert_before_post: "header-for-tag"
insert_after_post: "header-for-tag"
Just add disable_global_post_link: true
in the front matter.
---
title: title
categories:
- category-name
tags:
- tag-name
disable_global_post_link: true
---
BSD v3
FAQs
A hexo tag plugin for inserting post link in your post.
We found that hexo-tag-post-link 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.