Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My articles not show correctly,show the source code ,why? #8

Open
luoyedaren opened this issue Mar 21, 2017 · 19 comments
Open

My articles not show correctly,show the source code ,why? #8

luoyedaren opened this issue Mar 21, 2017 · 19 comments

Comments

@luoyedaren
Copy link

{{#.}}
<article>
	<span class="num"></span>
	<span class="size">{{size}}</span>
	<h3><a href="#/{{url}}">{{title}}</a></h3>
</article>
{{/.}}
@solarhell
Copy link

hey guy, this is your repo, right?
Please create a new repo named like 'luoyedaren.github.io' and push your file in master branch, then it will works.

@luoyedaren
Copy link
Author

so glad to see your message ,this is my site created by your way :https://luoyedaren.github.io/chenghai.blog/. is it correct? and it's not show my articles .Could you help to see it?

@luoyedaren
Copy link
Author

the <xmp> tags not works very well, I supposed.

@solarhell
Copy link

But i can't see you have a repo named 'luoyedaren.github.io'.
This project is just an example that the username is 'itorr' and he has an repo named 'itorr.github.io'.

@luoyedaren
Copy link
Author

it must be named 'luoyedaren.github.io' for repo, Mine repo's name is "chenghai.blog" ,Maybe the reason is this.Thank you .let me try it!

@luoyedaren
Copy link
Author

https://luoyedaren.github.io/ ,fix the name ,but not work...

@solarhell
Copy link

solarhell commented Mar 21, 2017

Please replace the static assets to your source cause you are using https.
You can check the error in Chrome's 'inspect'.

@luoyedaren
Copy link
Author

image
my aasets was in already

@solarhell
Copy link

Please check line 37 in index.html and line 109 in 'i/gitblog.js'.

@luoyedaren
Copy link
Author

fastclick.m.js mustache.min.js not in your repo..

@solarhell
Copy link

I think download the js file and push to the repo is not so difficult to explain.

@luoyedaren
Copy link
Author

yeah ,guys you are right .. I'm not goods at html ,js . Hope not too much js needed... Thank you very much

@solarhell
Copy link

You also need to change the index.html to

var
gitConfig={
	ssh:'[email protected]:luoyedaren/luoyedaren.github.io.git'
}

@luoyedaren
Copy link
Author

fixed .thank for you advice . but not the end ...hh .
itorr2.js:289 Mixed Content: The page at 'https://luoyedaren.github.io/' was loaded over HTTPS, but requested an insecure script 'http://1.mouto.org/x.js'. This request has been blocked; the content must be served over HTTPS.
blocked! how to fix it

@solarhell
Copy link

我刚提了2个PR。
另外, 'x.js' 是坨坨肉的统计代码,直接去掉或者换成自己的就行了。
HTTPS下,所有资源默认都应该通过HTTPS加载。

@luoyedaren
Copy link
Author

well done! Thank you . I'am java coder . Nice to know you.

@solarhell
Copy link

我是写php的

@luoyedaren
Copy link
Author

image
fall in a hole....

@solarhell
Copy link

http://front.dog/smartisan/i/md.js 这个需要加载一下这个静态文件 你可以放到自己的repo里用https来加载
可以加入这个QQ群 311084414

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants