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

not reflected my added theme #14

Open
habuka036 opened this issue May 31, 2018 · 1 comment
Open

not reflected my added theme #14

habuka036 opened this issue May 31, 2018 · 1 comment

Comments

@habuka036
Copy link

I added my theme to ketchup(build by #11), but I cannot confirm to reflected my theme.

structure of my theme:

data/themes/mytheme/
|-- assets
|   `-- 404.html
|-- templates
|   `-- page.html
`-- theme.json

theme.json:

{
  "name": "mytheme",
  "templates": {
    "page.html": {
      "placeholders": [
        {
          "key": "content",
          "text": {
            "type": "markdown"
          }
        }
      ]
    }
  }
}

templates/page.html:

<html><head></head><body><div><header><a href="/">&larr; {{ .Site.Title }}</a></header><h1>{{ .Page.Title }}</h1>{{ .Page.Content }}</div></body></html>

image

image

Did you find anything wrong with my theme?

@octavore
Copy link
Member

octavore commented Jun 3, 2018

I've tested it against the latest release v0.3.1, everything looks like it renders correctly on my machine. Maybe try upgrading and see if it works?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants