【发布时间】:2016-07-22 14:08:42
【问题描述】:
当我告诉 Jekyll 为我的网站提供服务时,一切都很好,从索引到其他页面。但是,当我点击查看博客文章(任何文章)时,我开始看到这条消息:
内部服务器错误
不兼容的字符编码:UTF-8 和 ASCII-8BIT
WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13) 在 127.0.0.1:4000
我在 Ubuntu 15.10 上运行 Jekyll,我正在尝试更新这个网站:http://nvinhadeluz.com
编辑---
这是我的 _config.yml:
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
title: Núcleo de Promoção Humana Vinha de Luz
email: contato@nvinhadeluz.com
description: > # this means to ignore newlines until "baseurl:"
O Núcleo de Promoção Humana Vinha de Luz é uma entidade filantrópica que busca proporcionar o desenvolvimento humano e social na região em que atua. Guiados pelos princípios do Cristo à luz da Doutrina Espírita, desenvolvemos uma série de atividades religiosas e educacionais. Navegue pelo site e conheça um pouco mais do nosso trabalho!
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://nvinhadeluz.com" # the base hostname & protocol for your site
paginate: 3
paginate_path: "/blog/page:num/"
#Redes sociais
twitter_username: Vinhadeluz1
facebook_username: nucleovinhadeluz
instagram_username: vinhadeluz
googleplus_username: +Nvinhadeluzbh
youtube_username: nucleovinhadeluz
# Build settings
markdown: kramdown
gems: [jekyll-paginate]
exclude: ["Gemfile", "Gemfile.lock"]
encoding: UTF-8
# Default settings
defaults:
-
values:
comments: true
【问题讨论】:
-
很抱歉,我的网站不在公共存储库中,因为它没有部署在 Github 页面上。