简体   繁体   English

我想为帖子的外观设置一个主题

[英]I want to set a theme for what looks Posts

I am setting up a Git blog, and the entire content of the post is displayed on the blog screen.我正在建立一个 Git 博客,帖子的全部内容都显示在博客屏幕上。 I want to make the post in preview form.我想以预览形式发布帖子。 Is there any way?有什么办法吗?

For example, I want to make the first photo look like the second photo.例如,我想让第一张照片看起来像第二张照片。

GitHub 页面

本地页面

Open your browser developer console and check:打开您的浏览器开发者控制台并检查:

  • what HTML code has been generate for your css files (is it there, using absolute or relative paths?)为您的 css 文件生成了哪些 HTML 代码(是否存在,使用绝对路径还是相对路径?)
  • for any error message which would indicate a missing resource (like CSS files)对于任何表明缺少资源的错误消息(如 CSS 文件)

That would explain why the uploaded code does not reflect your style sheets.这将解释为什么上传的代码不反映您的样式表。

Check also your Hexo settings for GitHub pages deployment还要检查GitHub 页面部署的 Hexo 设置

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 存储库未分叉,我不确定是什么原因导致它,但希望它被分叉 - Repository became unforked and I'm not sure what caused it but want it to be forked 使用什么博客软件和主题 - What blog software & theme is used at 请问,当我想从 eclipse 提交到 github 时,我能做些什么来解决这个问题? - please , what i can do to resolve this issue when i want to commit from eclipse to github? 如果github上的某个存储库的所有者已停止处理某个项目但我想为此做出贡献该怎么办? - What if the owner of some repository on github has stopped working on some project but I want to contribute to it? 如果我想在接受另一个补丁之后处理不同的bug,该怎么办? - What if I want to work on a different bug after another patch being accepted 是否可以使用bower bower.json指定要安装的文件夹? - Is it possible to specify which folder I what want to install using bower bower.json? 如果我想对分叉存储库进行更改只是为了找到我不能,因为forked包导入自己该怎么办 - What to do if I want to make changes to a forked repository only to find that I can not because the forked package import itself 我想在我的本地存储库中的 git 中的不同分支上工作,这些分支从原点设置为上游的不同分支 - i want to work on different branches in git in my local repository which have different branches from origin set as upstream 如何让 Hugo 检测主题? - How can I let Hugo detect theme? 我想使用github为我的团队做什么来连接其他员工的pc与我的主分支推送拉相同的项目数据 - i want to use github for my team what to do to connect other employee pc with my master branch for push pull same project data
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM