Skip to content
#

templating

Here are 409 public repositories matching this topic...

gomplate
themightylc
themightylc commented Nov 27, 2019

I've had a few issues with this, the latest one being this part from the ScriptObject documentation:

"Notice that when using a function with pipe calls like {{description | string.strip }}``, the last argument passed to the string.strip` function is the result of the previous pipe. That's a reason why you will notice in all builtin functions in scriban that they usually take the most relevant p

jameskleeh
jameskleeh commented Mar 25, 2020

I'm using Rocker to render files of various extensions and after some reading of the source, I found out the files have to end in .raw or .html. I couldn't find anywhere that documented that requirement so I'm creating this issue to track that.

Also I would like to propose allowing for any file that ends in .rocker to be processed with a raw content type.

empijei
empijei commented Jul 20, 2019

Escaping is not contextual and HTML escaping is used in every context. This might lead newcomers to think that it is safe to interpolate user controlled data in a page, leading to XSS.

I think it would be better to point out in README or documentation that this package does not aim to protect users from XSS but just implements a rudimentary escaping mechanism.

Since some gophers might be use

pivotaljohn
pivotaljohn commented May 5, 2020

It's unclear from the result that when a user includes a non-YAML template and the destination is standard out, that its output is not included on purpose.

Let's give them a hint. For example, on stderr, we could say,

There are templates marked for output that are not included in this output.
Non-YAML templates are not rendered to standard output.
If you want to include those results, u
mre
mre commented Aug 26, 2019

Description

We have a job that requires a monotonically increasing port assignment for each allocation.
Our current idea is to use NOMAD_ALLOC_INDEX as follows:

job "foo" {
  datacenters = ["bar"]

  group "foo" {
    count = 3

    task "foo-${NOMAD_ALLOC_INDEX}" {
      driver       = "docker"

      config {
        image        = "foo"
        network_mode = "ho
AnthonyNahas
AnthonyNahas commented Dec 10, 2018

I can't run readme anymore after updating node from v8 to v10...

node: v10.14.1
npm: v6.4.1
OS: MacOS Sierra

A@anthony:~/git/someproject (master) $ readme
Markserv boot: starting Markserv...
path.js:39
throw new ERR_INVALID_ARG_TYPE('path', 'string', path);
^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object
a

montmanu
montmanu commented Mar 5, 2019

Is your feature request related to a problem?

  1. Managing all k8s resources in a single file becomes difficult to maintain for larger projects
  2. Executing drone-gke multiple times for each individual file seems a bit excessive

Describe the solution you'd like

An API to drone-gke that is compatible with kubectl apply's -f / --filename argument:

-f, --filename=[]: Fi
nikoksr
nikoksr commented Nov 20, 2019

Is your feature request related to a problem? Please describe.
Proji currently only supports TOML as config file format. Since it's quite possible that proji will work with APIs in the future (#63), you should be able to export/import configs in JSON format as well.

Describe the solution you'd like
Add a flag to class config related commands. TOML might stay the default format f

Improve this page

Add a description, image, and links to the templating topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the templating topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.