Git Product home page Git Product logo

Comments (5)

cetr avatar cetr commented on July 21, 2024

文章编辑器里怎么写的,应该是你文章格式不规范导致的

from halo-theme-sagiri.

Hellokid avatar Hellokid commented on July 21, 2024

因为我想让段落首行空两字,插入的图片一样宽。我就这样写的:

<style> p{ text-indent: 2em; } img { width: 800px; } </style>

下面就是正文,XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX。
这样导致了文章摘要截取150字的时候就自动把CSS代码截取上了,但是可以手动删除,每次这样太麻烦了。
另一方面,阅读全文的时候就不会显示出代码。我想应该是能够自动实现的,可我不会。
在文章页加的css样式也不是全能实现,比如给body加个背景色就实现不了,加了!import;也不行,不过打开页面的时候会闪一下那个背景色,不知道为什么。

from halo-theme-sagiri.

cetr avatar cetr commented on July 21, 2024

css样式放文章最后面应该能暂时解决,这是后端这么设计的,和主题无关

from halo-theme-sagiri.

cetr avatar cetr commented on July 21, 2024

我开始以为文章全文有异常,这个摘要可以在发布文章是手动修改

from halo-theme-sagiri.

Hellokid avatar Hellokid commented on July 21, 2024

谢谢,太喜欢这个主题了。

from halo-theme-sagiri.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.