Questions tagged [docpad]

DocPad is a language agnostic document management system built on Node.js. It's comparable to static site generators such as Jekyll and Octopress, however is not limited to static site generation.

DocPad is a language agnostic document management system built on Node.js. It's comparable to static site generators such as Jekyll and Octopress, however is not limited to static site generation.

255 questions
0
votes
1 answer

docpad: yaml postfix in metadata header

I have seen somewhere that yaml is added to the metadata section: --- yaml layout: 'post' --- Why is that?
Vegar
  • 12,828
  • 16
  • 85
  • 151
0
votes
1 answer

Docpad on windows fails to run after following install instructions

I'm having problems getting Docpad to run on Windows. I did the following, as suggested here: http://docpad.org/docs/install Installed the latest version of Node (.10.4) npm install -g docpad@6.30 Then typed "docpad run" in an empty directory It…
0
votes
1 answer

How to create tags? Docpad

How can I make the tags? For example http://dogfeet.github.io Are there other examples? I'm add docpad-plugin-tagging but, Digital tags are not displayed alttest.herokuapp.com/tags/404.html :( and how to create tags to one page…
npofopr
  • 94
  • 6
0
votes
1 answer

DocPad install hangs due to proxy

The docpad install command hangs probably due to my company proxy. Npm runs properly only if I set the proxy like so: npm config set http-proxy http://proxy.example.com:8080 npm config set https-proxy http://proxy.example.com:8080 Is there a…
jj2323
  • 1
0
votes
1 answer

How to creat edit post button. Docpad

How to make the edit articles? edit But this does not work for file.html.md
npofopr
  • 94
  • 6
0
votes
1 answer

Docpad design considerations

I'm coming from a php/mysql background. I'm most familiar with the Kohana PHP framework and I'm trying to learn Docpad. I have a loose understand at this point and I've built out my first website and blog. Static content makes a lot of sense to me…
EricLeslie
  • 67
  • 4
0
votes
1 answer

Using Eco and CoffeeScript

How can I use If statement to specific a variable that is defined in the docpad.coffee file. I want to do something like this: <% if sponsor.type == 'Gold': %>
0
votes
1 answer

collection to be generated from all the sub-folders into one

How to create a collection to be generated from all the sub-folders into one. For example: /src/article/2011/ /2012/ /2013/ => /out/article/ The usual way of sub-folders does not take: posts: (database) -> …
npofopr
  • 94
  • 6
0
votes
2 answers

Docpad redirects to clean url without cleanurl plugin

When I run docpad run, the docpad server redirects links to files with an .html extension to the clean urls. At this point, I don't have the cleanurls plugin installed, but I used it earlier in the development process. E.g. localhost:9778/de.html…
raffomania
  • 451
  • 4
  • 14
0
votes
1 answer

Text Plugin - embedded html

text-plugin (https://github.com/docpad/docpad-plugin-text/) seems to escape HTML embedded within markup text. Isn't the plugin supposed to use "marked" for transformation ... the same way it's done when processing a md document to html (which in…
0
votes
1 answer

How do I get docpad server running / generating in Cloud 9 IDE?

When I do the "docpad run" command in the Cloud 9 Terminal it gives me a IP address like: http://127.9.102.129:8080/ but nothing is there. What do I do?
Mikeumus
  • 3,570
  • 9
  • 40
  • 65
0
votes
3 answers

How to query documents in docpad based on arrays of objects

I have DocPad documents that look like this: --- categories: [{slug: ""}, {slug: ""}, ...] --- Document content. How can I query all documents which have a predefined slug value in the meta.category array?
Ashnur
  • 366
  • 3
  • 20
-1
votes
1 answer

Practical way to use DocPad for a site with multiple landing pages

I would like to use DocPad together with its built-in server. For a website with a single landing page I have set up the structure as recommended on DocPad website: all page sources go into the src/documents, static files into src/files and layouts…
user8472
  • 3,268
  • 3
  • 35
  • 62
-1
votes
1 answer

does docpad secondary url redirect feature work?

Based on the documentation of docpad primary url, all requests to a document secondary url should be redirected to the primary url. But actually it respond the expected page directly when requesting any secondary urls without any redirection. For…
shawnzhu
  • 7,233
  • 4
  • 35
  • 51
-2
votes
1 answer

bal-util grunt with docpad

I have some trouble with the spawn function in bal-util. I tried this example and the extended version from this docpad skeleton, but I get the same error every time: error: An error occured: Error: spawn ENOENT at errnoException…
seniorpreacher
  • 666
  • 2
  • 11
  • 31
1 2 3
16
17