jpescador / hugo-future-imperfect

A ported theme with some extras for the Hugo static website engine
MIT License
308 stars 227 forks source link

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

Open yujiahaol68 opened 6 years ago

yujiahaol68 commented 6 years ago

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 commented 6 years ago

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.