Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/atishay/hugo-debug-utils

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/atishay/hugo-debug-utils

  • v0.0.0-20220702150302-7295fcfa547f
  • Source
  • Go
  • Socket score

Version published
Created
Source

Debugging Hugo made easy

Usage

Import as a Hugo module

hugo mod get github.com/atishay/hugo-debug-utils

Add in your template.

{{- partial "debug/debug.html" (dict "context" .) -}}

If you need the template information, in each template provide

{{- partial "debug/debug.html" (dict "context" . "template" "layouts/<your template location>") -}}

For printing to JavaScript console while development:

{{ partial "console" $someVariable }}

Contents

Debug Menu

  • Based on JugglerX's debug bar - https://github.com/JugglerX/hugo-debug-bar
  • Which includes Kaushal modi's debug print - https://github.com/kaushalmodi/hugo-debugprint

Debug JSON helper

FAQs

Package last updated on 02 Jul 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc