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

Some category pages fail to display when enter online but nothing wrong run in local env #101

Open
yujiahaol68 opened this issue Jan 6, 2018 · 1 comment

Comments

@yujiahaol68
Copy link

Expected Behavior

categories page should work just like category php

Current Behavior

Some categories output like
ERROR: error on line 56 at column 61: PCDATA invalid Char value 8
and some will just show the XML files content
and some categories are OK.

One thing so wired that is it happens only when browse the deploy site and Nothing wrong when under local hugo server -D

Possible Solution

XML encode issue ??

front-format issue ??

// My front-format
+++
title = "centOS下的node部署环境搭建"
type = "post"
author = "Tecker.Yu"
date = "2017-06-08"
categories = ["linux"]
tags = ["linux", "deploy", "node", "centOS", "环境搭建"]

+++

Steps to Reproduce or Template with Error (for bugs)

  1. Go to category linux for ERROR
  2. Go to category node for only XML file content without html parsing

Hugo Version:
v0.31.1

Browser:
Chrome 63.0.3239.132

Desktop or Mobile:
both

Link to your project:
blog-powered-by-imperfect

@yujiahaol68
Copy link
Author

invalid Char value I fixed it by delete ^H in the md and it works

But still some categories will get
This XML file does not appear to have any style information associated with it. The document tree is shown below.

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

No branches or pull requests

2 participants