Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proof of concept: Custom functions #11085

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Jun 10, 2023

  1. Proof of concept for Typescript custom functions

    This is a rough sketch of code that allows users of Hugo to provide custom code for use in templates, via Typescript (or Javascript).
    
    The use of the [goja runtime](https://github.com/dop251/goja) means execution is entirely within Go, and sandboxed.
    jphastings committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    79be97f View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2023

  1. Configuration menu
    Copy the full SHA
    99d4e6e View commit details
    Browse the repository at this point in the history
  2. Docs on time.Time use

    jphastings committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    7ae07e9 View commit details
    Browse the repository at this point in the history
  3. Simplify times

    jphastings committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    34edf2c View commit details
    Browse the repository at this point in the history