Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
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.
github.com/bugoio/bugo-sass-utilities
A Hugo Module that contains Bugo specific Sass functions, mixins & variables
Before starting check the list below:
If your project isn't a Hugo Module.
hugo mod init
Get this module.
hugo mod get github.com/bugoio/bugo-sass-utulities
Add it to your Hugo config file (shown in YAML).
module:
imports:
- disable: false
ignoreConfig: false
path: github.com/bugoio/bugo-sass-utilities
This partial consolidates all SASS variables stored in your project's assets folders. Since this runs at build time it uses Hugo's "consoloidated" assets directory.
Files must be named one of two ways to be included.
Add the partial to your /layouts/_default/baseof.html
template. Anywhere will do. This partial does not output any markup. The partial call below is included in the bugo-stylesheets partial. If you're already using bugo-stylesheets, you don't need to call it again.
{{ partial "utilities/bugo-sass-utilities" . }}
Creates a variables file in your local build folder from all files labeled *-vars.scss
at build time.
/public/site-variables-example.scss
**/*-global-variables.scss
firstThis partial returns a permalink to a consolidated CSS resource.
.scss`` files in Hugo's assetDir (
/assets`` by default)_*.scss
){{ $stylesheet := partial "utilities/bugo-stylesheets" . }}
<link rel="stylesheet" href="{{ $stylesheet }}" media="screen" />
FAQs
Unknown package
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
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.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.