Singular Jekyll发布异常不渲染

时间:2018-03-28 17:58:11

标签: jekyll github-pages

我一直在寻找解决方案,但我没有提出任何与我的具体情况有关的内容。

问题:单个Jekyll帖子没有显示。

详细信息:

  • 这是我推送的Github Pages网站,所以我不会自己呈现Jekyll
  • 同样推送给Github的另一篇文章很明显,很好
  • 它与发布的许多其他帖子位于同一文件夹中(特别是_posts下的子文件夹)
  • 前端内容的格式与发布的所有其他帖子的格式相同
  • 该帖子的日期不是将来
  • 我可以在文件中找到非法的隐藏字符
  • 文件名称格式正确
  • 在有关帖子之后发布帖子 正常工作,我确保清除我的缓存

上下文:这是个人D& D相关网站,请原谅奇怪的内容,但这里是文件的粘贴。该文件名为“2016-11-10-teacup-of-the-tempest.md”

---
title: Teacup of the Tempest
item_id: 88
category: Wondrous
item_subtypes:
  - Breastplate
  - Half Plate
item_rarity: Very Rare
item_attunement: true
item_requirement: by a Barbarian
item_curse: false
item_classes:
  - Barbarian
item_school: Evocation
item_role:
  - Attack
item_damage:
  - Bludgeoning
tags:
  - Exhaustion
  - Rage
  - Dexterity
  - Strength
  - Aura
  - Bludgeoning
item_idea:
item_co_creator:
item_updated:
last_modified_at:
---

This delicate white teacup is fit for a nobleman, but will not chip or crack. It has been rumored to have been originally found when it was flung through a window, carried from a shipment of china by a violent storm. While you are attuned to the teacup you can gain up to 5 charges that can be used to activate the magic of the teacup.

### Calm Before the Storm
During a short rest if you drink tea from this teacup you regain all expended charges and your exhaustion decreases by 1 level. The tea can be of any type but must be hot when you drink it. You also regain 1 charge each long rest that you take.

### Cyclone
As an action while raging you can expend a charge to attack your enemies with the strength of the storm. As the winds swirl around you you make long sweeping attacks at all enemies within 5 feet. All hostile creatures within range must make a Dexterity saving throw with a DC equal to 8 + your proficiency + your strength modifier. On a failed save they take damage equivalent to two of your weapon attacks.

### Heart of the Storm
When you activate your rage you can choose to expend all 5 charges to release the full power of the tempest. A 20-foot radius sphere of whirling air springs into existence centered on you that follows you until your rage ends. Each creature (not including you) that ends its turn in the sphere must succeed a Strength saving throw with a DC equal to 8 + your proficiency + your strength modifier. On a failed save they take 2d6 bludgeoning damage. Additionally, the sphere’s space is difficult terrain for all creatures besides you.

根据所有情况,它应该呈现,但它不是,即使没有Github错误。

  

注意:我没有通过标签呈现帖子的页面呈现,也不通过转到网址手动访问。

1 个答案:

答案 0 :(得分:1)

如果您在本地运行您的站点,您将看到有五个文件产生 "错误:无法读取文件/路径/到/文件:UTF中的无效字节序列-8" ,因为它们具有 Western(Windows 1252)编码,而不是 UTF-8无BOM 编码。

确保:

  • wondrous / 2016-11-07-urn-of-the-lava-bearer.md
  • 奇妙/ 2016-11-10-teacup-of-the-tempest.md
  • ring / 2016-11-16-ring-of-the-golden-defender.md
  • weapon / 2016-11-16-lead-hex-crossbow.md
  • wand / 2016-11-03-staff-of-thundering-orbs.md

UTF-8,没有BOM 编码。