mirror of
https://github.com/eiblog/eiblog.git
synced 2026-03-01 00:34:58 +08:00
update
This commit is contained in:
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
|||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2014 Manuel Martínez-Almeida
|
Copyright (c) 2017 deepzz deepzz.qi@gmail.com
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
@@ -24,7 +24,9 @@ type result struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func PostsCount() {
|
func PostsCount() {
|
||||||
if setting.Conf.Disqus.PostsCount == "" || setting.Conf.Disqus.PublicKey == "" || setting.Conf.Disqus.ShortName == "" {
|
if setting.Conf.Disqus.PostsCount == "" ||
|
||||||
|
setting.Conf.Disqus.PublicKey == "" ||
|
||||||
|
setting.Conf.Disqus.ShortName == "" {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
baseUrl := setting.Conf.Disqus.PostsCount +
|
baseUrl := setting.Conf.Disqus.PostsCount +
|
||||||
|
|||||||
Reference in New Issue
Block a user