Giter Club home page Giter Club logo

solo-star's Introduction

你好,我是顾澜(gooohlan)


一名生活在重庆后端开发工程师,一个间歇性自闭,持续性没心没肺的逗比青年。偶尔会学习,折腾下新技术,但大多时间我会选择打游戏,爬爬山,打打羽毛球之类的。

如果你对我感兴趣,可以通过一下方式联系我:


Anurag's github stats

solo-star's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

solo-star's Issues

一些小BUG [email protected]

image

4.3版solo启用该皮肤会有500错误

docker logs solo中看出 footer.ftl第39行

<script type="text/javascript" src="${staticServePath}/js/common${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>

我的解决法子:

注释第39行,启用44行

<#--<script type="text/javascript" src="${staticServePath}/skins/${skinDirName}/js/common.js?${staticResourceVersion}" charset="utf-8"></script>-->

点击文章出现错误(估计是solo删了本地评论,star皮肤未更新的锅)

docker logs solo得到两处错误
一:
image

解决法子:注释掉(或删掉)article.ftl第115行代码

<@comments commentList=articleComments article=article></@comments>

二:
image

解决法子:注释掉(或删掉)article.ftl第124行代码至137行

<@comment_script oId=article.oId commentable=article.commentable>
        page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
        <#if 0 != randomArticlesDisplayCount>
            page.loadRandomArticles('<h3>RECOMMEND POSTS</h3>');
        </#if>
        <#if 0 != externalRelevantArticlesDisplayCount>
            page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>",
            '<h3>HACPAI POSTS</h3>');
        </#if>
        <#if 0 != relevantArticlesDisplayCount>
            page.loadRelevantArticles('${article.oId}', '<h3>RELEVANT POSTS</h3>');
        </#if>
        Skin.initArticle()
    </@comment_script>

关于一些错误的引用(solo升级到了4.3,老引用资源总归有删改)

一. pjax.min.js -->pjax.js

只要将footer.ftl第38行

<script type="text/javascript" src="${staticServePath}/js/lib/compress/pjax.min.js" charset="utf-8"></script>

的引用路径改为

${staticServePath}/js/pjax.js

即可

二.$未定义

这个一看就是jquery没引入,建议修改

solo/common-template/macro-common_head.ftl

添加

 <script type="text/javascript" src="${staticServePath}/js/jquery-3.5.1.min.js" charset="utf-8"></script>

即可

star这款皮肤我特别喜爱,未来会持续更新该issue

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.