Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
vitepress-sls-blog-tmpl
Advanced tools
Vitepress blog template for freedom sites by Ivan K.
See example
dir
Run yarn build
to build css
export default {
themeConfig: {
// show author name on the posts list items
showAuthorInPostList: true
authors:
- id: john-smith
name: John Smith
descr: Some MD descr
link?: If defined then this link will be used. If not then will be use link to author page
homeBgParalaxOffset: 150
sidebarLogoSrc: "/img/sidebar-logo.webp",
},
};
topBar:
links:
- text: "${PROPS.t.links.donate}"
href: "${PROPS.siteUrl}/${PROPS.lang}/page/donate"
icon: "${PROPS.donateIcon}"
# show on desktop and on mobile
mobileToo: true
# show only on mobile and don't show on desktop
mobileOnly: true
You can publish all types of posts - article, post, video and audio. They are the same.
---
title?: Use it only if you want to replace title which is got from H1 tag
description: content of meta descr and preview text if it allowed
# If true - then use description or first part of the post in a list and article
# If false | undefined - then use first part of the post in a list and don't use in article
descrAsPreview: true | false
# If has text - then use this text in a list and in an article
# If not set - then depend of descrAsPreview
# It won't shown in a post if media, or cover is set
previewText: text for list item and article preview
pubDate: Publication date in iso format. Better to use time to order posts which are published at the same day
# The main image of article. Optional
cover: /media/img.jpg
coverDescr: description of cover image in MD format
# ID of author of site team. It it some other author just put his name into the text
authorId: john-smith
# Url where you can find comments of it post in social media
commentUrl: https://...
# List of tags. Tags can include spaces
tags:
- some
...special params
---
---
...common params
# Link to a video on youtube or another platform. It is used in a watch video button
videoLink: htts://...
# Language of video link if it doesn't equal the language of the page
videoLinkLang: en | ru | ...
# Links to poscast of this post
podcasts:
# means special page of this podcast e.g on https://mave.digital
site: "https://..",
castbox: "https://..",
soundstream: "https://..",
spotify: "https://..",
vk: "https://..",
yandexmusic: "https://..",
deezer: "https://..",
pocketcasts: "https://..",
applepodcasts: "https://..",
overcast: "https://..",
zvuk: "https://..",
podcastaddiction: "https://..",
# Language of podcast if it doesn't equal the language of the page
podcastLang: en | ru | ...
---
If the post doesn't have any media then the first image will be used as main image to show in lists.
yarn publish
FAQs
Vitepress custom theme for blog SLS and others
We found that vitepress-sls-blog-tmpl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.