Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
Valdanitooooo committed Jan 24, 2024
1 parent 8d8f336 commit 6dfa7dd
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link href="{{ "/public/favicon.ico" | prepend: site.static_cdn_root }}" mce_href="//cdn.jsdelivr.net/gh/Valdanitooooo/Gifootball/public/favicon.ico" rel="icon" type="image/x-icon">
<link href="{{ "/gifootball/public/favicon.ico" | prepend: site.static_cdn_root }}" mce_href="//cdn.jsdelivr.net/gh/Valdanitooooo/Gifootball/gifootball/public/favicon.ico" rel="icon" type="image/x-icon">
<script type="text/javascript" src="//qzonestyle.gtimg.cn/qzone/hybrid/app/404/search_children.js" charset="utf-8"
homePageUrl="/" homePageName="回到我的主页"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ baidu_analysis: fbaddcdc614ca0725679f169efb480a5
google_analysis: UA-129341547-1
pic_bed_root: http://p.ananas.chaoxing.com/star3/origin/
pic_bed_featimg_root: http://pan-yz.chaoxing.com/thumbnail/400,160,50/
static_cdn_root: //cdn.jsdelivr.net/gh/Valdanitooooo/Gifootball
static_cdn_root: //cdn.jsdelivr.net/gh/Valdanitooooo/gifootball
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
</div>
</footer>
<script type="text/javascript">
$.backstretch("//cdn.jsdelivr.net/gh/Valdanitooooo/Gifootball/public/img/home.jpg");
$.backstretch("//cdn.jsdelivr.net/gh/Valdanitooooo/Gifootball/gifootball/public/img/home.jpg");
</script>
2 changes: 1 addition & 1 deletion _includes/gallery_lightbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="masonry">
{% for gallery in page.gallery %} {% for image in gallery.images %}
<a href="{{ site.pic_bed_root }}{{ image.url }}" data-imagelightbox="f" class="noline">
<img class="lazyload" src="{{ "/public/img/loading.svg" | prepend: site.static_cdn_root }}" data-src="{{ site.pic_bed_root }}{{ image.url }}"
<img class="lazyload" src="{{ "/gifootball/public/img/loading.svg" | prepend: site.static_cdn_root }}" data-src="{{ site.pic_bed_root }}{{ image.url }}"
alt="{{ page.title }}">
</a>
{% endfor %} {% endfor %}
Expand Down
12 changes: 6 additions & 6 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<meta name="description" content="{{ site.description }}">
{% endif %}
<meta content='width=device-width, initial-scale=1, maximum-scale=1' name='viewport'/>
<link rel="stylesheet" href="{{ "/public/css/selectize.gifootball.css" | prepend: site.static_cdn_root }}">
<link rel="stylesheet" href="{{ "/gifootball/public/css/selectize.gifootball.css" | prepend: site.static_cdn_root }}">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/[email protected]/dist/jquery.typeahead.min.css">
<link rel="stylesheet" id="color-change" href="{{ "/public/css/basic.css" | prepend: site.static_cdn_root }}">
<link rel="stylesheet" id="color-change" href="{{ "/public/css/main.css" | prepend: site.static_cdn_root }}">
<link rel="stylesheet" id="switch-style" href="{{ "/public/css/grid.css" | prepend: site.static_cdn_root }}">
<link rel="stylesheet" id="color-change" href="{{ "/gifootball/public/css/basic.css" | prepend: site.static_cdn_root }}">
<link rel="stylesheet" id="color-change" href="{{ "/gifootball/public/css/main.css" | prepend: site.static_cdn_root }}">
<link rel="stylesheet" id="switch-style" href="{{ "/gifootball/public/css/grid.css" | prepend: site.static_cdn_root }}">
<link rel="stylesheet" href="//at.alicdn.com/t/font_862418_u5k731mnidf.css">
<link href="{{ "/public/favicon.ico" | prepend: site.static_cdn_root }}" mce_href="{{ "/public/favicon.ico" | prepend: site.static_cdn_root }}" rel="icon" type="image/x-icon">
<link href="{{ "/gifootball/public/favicon.ico" | prepend: site.static_cdn_root }}" mce_href="{{ "/gifootball/public/favicon.ico" | prepend: site.static_cdn_root }}" rel="icon" type="image/x-icon">
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script src="{{ "/public/js/global.min.js" | prepend: site.static_cdn_root }}"></script>
<script src="{{ "/gifootball/public/js/global.min.js" | prepend: site.static_cdn_root }}"></script>
<script src="//cdn.staticfile.org/waypoints/4.0.1/jquery.waypoints.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/jquery.typeahead.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/js/standalone/selectize.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<nav class="iconnav">
<ul>
<li class="sicon">
<a href="/"><img src="{{ "/public/img/title.png" | prepend: site.static_cdn_root }}" /></a>
<a href="/"><img src="{{ "/gifootball/public/img/title.png" | prepend: site.static_cdn_root }}" /></a>
</li>
</ul>
</nav>
Expand Down
6 changes: 3 additions & 3 deletions _includes/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</div> -->
<div class="articles posts">
</div>
<script src="{{ "/public/js/search.js" | prepend: site.static_cdn_root }}"></script>
<script src="{{ "/gifootball/public/js/search.js" | prepend: site.static_cdn_root }}"></script>

<script>
/**
Expand All @@ -38,7 +38,7 @@
var startNum = 0;
var endNum = "{{ page.initItem }}";
var totalNum = 0;
var $loading = $("<div class='loading' style='text-align:center !important;'><img src='{{ site.static_cdn_root }}/public/img/loading_list.svg'></div>");
var $loading = $("<div class='loading' style='text-align:center !important;'><img src='{{ site.static_cdn_root }}/gifootball/public/img/loading_list.svg'></div>");
var articles;
function search(keywordStr) {
keyword = keywordStr;
Expand All @@ -47,7 +47,7 @@
// $('<div style="background-image:linear-gradient(to bottom, red, red)" \
// data-value="image">image</div>').insertBefore("#input-tags-selectized")
$(".posts").empty();
$.getJSON("/public/json/search.json").done(function (data) {
$.getJSON("/gifootball/public/json/search.json").done(function (data) {
articles = data;
totalNum = articles.length;
initArticles();
Expand Down
2 changes: 1 addition & 1 deletion _layouts/default-full.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</div>
{% include footer.html %}
{% if site.infinite_scroll == true %}
<script src="{{ "/public/js/infinite.min.js" | prepend: site.static_cdn_root }}"></script>
<script src="{{ "/gifootball/public/js/infinite.min.js" | prepend: site.static_cdn_root }}"></script>
{% endif %}
</body>

Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="wrap">
<div class="masthead">
<div class="container">
<img src="{{ "/public/img/logo.png" | prepend: site.static_cdn_root }}" class="masthead-img masthead-inner masthead-shrink"/>
<img src="{{ "/gifootball/public/img/logo.png" | prepend: site.static_cdn_root }}" class="masthead-img masthead-inner masthead-shrink"/>
<h5 class="masthead-title masthead-inner masthead-shrink" >
{% if page.url contains 'category' %}
<a href="{{page.url}}" title="Home">{{ page }}</a>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/index-full.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</div>
{% include footer.html %}
{% if site.infinite_scroll == true %}
<script src="{{ "/public/js/infinite.min.js" | prepend: site.static_cdn_root }}"></script>
<script src="{{ "/gifootball/public/js/infinite.min.js" | prepend: site.static_cdn_root }}"></script>
{% endif %}
</body>
</html>
4 changes: 2 additions & 2 deletions _layouts/post-full.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h3 class="post-title">
{% include gallery_lightbox.html %}
{% elsif "gif" == page_type %}
{% if page.featimg %}
<img class="featimg lazyload" src="{{ "/public/img/loading.svg" | prepend: site.static_cdn_root }}"
<img class="featimg lazyload" src="{{ "/gifootball/public/img/loading.svg" | prepend: site.static_cdn_root }}"
data-src="{{ site.pic_bed_root }}{{ page.featimg }}.gif" alt="{{ page.title }}">
{% endif %}
{% if page.videoUrl %}
Expand All @@ -57,7 +57,7 @@ <h3 class="post-title">
{% endif %}
{% elsif "image" == page_type %}
{% if page.featimg %}
<img class="featimg lazyload" src="{{ "/public/img/loading.svg" | prepend: site.static_cdn_root }}"
<img class="featimg lazyload" src="{{ "/gifootball/public/img/loading.svg" | prepend: site.static_cdn_root }}"
data-src="{{ site.pic_bed_root }}{{ page.featimg }}.jpg" alt="{{ page.title }}">
{% endif %}
{% if page.videoUrl %}
Expand Down
6 changes: 3 additions & 3 deletions category/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
var startNum = 0;
var endNum = "{{ page.initItem }}";
var totalNum = 0;
var $loading = $('<div class="loading" style="margin: 5em auto 2.5em;"><img src="{{ "/public/img/loading_list.svg" | prepend: site.static_cdn_root }}"></div>');
var $loading = $('<div class="loading" style="margin: 5em auto 2.5em;"><img src="{{ "/gifootball/public/img/loading_list.svg" | prepend: site.static_cdn_root }}"></div>');
var articles;
$.getJSON("/public/json/category/"+keyword+".json").done(function (data) {
$.getJSON("/gifootball/public/json/category/"+keyword+".json").done(function (data) {
articles = data;
totalTags = getTotalTags(articles);
totalNum = articles.length;
Expand Down Expand Up @@ -123,7 +123,7 @@
} else {
if (!!currentData.featimg) {
htmlArr += '<a href="' + currentData.url + '" class="noline">\
<img class="lazyload" src="{{ "/public/img/loading.svg" | prepend: site.static_cdn_root }}" data-src="{{ site.pic_bed_featimg_root }}'+ currentData.featimg + '?type=img" alt="' + currentData.title + '"></a>';
<img class="lazyload" src="{{ "/gifootball/public/img/loading.svg" | prepend: site.static_cdn_root }}" data-src="{{ site.pic_bed_featimg_root }}'+ currentData.featimg + '?type=img" alt="' + currentData.title + '"></a>';
}
}

Expand Down
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</div>
{% include footer.html %}
</body>
<script src="{{ "/public/js/search.js" | prepend: site.static_cdn_root }}"></script>
<script src="{{ "/gifootball/public/js/search.js" | prepend: site.static_cdn_root }}"></script>

<script>
/**
Expand All @@ -66,9 +66,9 @@
var startNum = 0;
var endNum = "{{ page.initItem }}";
var totalNum = 0;
var $loading = $('<div class="loading" style="margin: 5em auto 2.5em;"><img src="{{ "/public/img/loading_list.svg" | prepend: site.static_cdn_root }}"></div>');
var $loading = $('<div class="loading" style="margin: 5em auto 2.5em;"><img src="{{ "/gifootball/public/img/loading_list.svg" | prepend: site.static_cdn_root }}"></div>');
var articles;
$.getJSON("/public/json/search.json").done(function (data) {
$.getJSON("/gifootball/public/json/search.json").done(function (data) {
articles = data;
totalTags = getTotalTags(articles);
totalNum = articles.length;
Expand All @@ -85,7 +85,7 @@
$("#input-tags").val(keyword);
}
$(".posts").empty();
$.getJSON("/public/json/search.json").done(function (data) {
$.getJSON("/gifootball/public/json/search.json").done(function (data) {
articles = data;
totalTags = getTotalTags(articles);
totalNum = articles.length;
Expand Down Expand Up @@ -175,7 +175,7 @@
} else {
if (!!currentData.featimg) {
htmlArr += '<a href="' + currentData.url + '" class="noline">\
<img class="lazyload" src="{{ "/public/img/loading.svg" | prepend: site.static_cdn_root }}" data-src="{{ site.pic_bed_featimg_root }}'+ currentData.featimg + '?type=img" alt="' + currentData.title + '"></a>';
<img class="lazyload" src="{{ "/gifootball/public/img/loading.svg" | prepend: site.static_cdn_root }}" data-src="{{ site.pic_bed_featimg_root }}'+ currentData.featimg + '?type=img" alt="' + currentData.title + '"></a>';
}
}

Expand Down
2 changes: 1 addition & 1 deletion public/js/search.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

var strs = [];
$.getJSON("/public/json/tags.json").done(function (data) {
$.getJSON("/gifootball/public/json/tags.json").done(function (data) {
strs = data;
});

Expand Down
6 changes: 3 additions & 3 deletions tag/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
var startNum = 0;
var endNum = "{{ page.initItem }}";
var totalNum = 0;
var $loading = $('<div class="loading" style="margin: 5em auto 2.5em;"><img src="{{ "/public/img/loading_list.svg" | prepend: site.static_cdn_root }}"></div>');
var $loading = $('<div class="loading" style="margin: 5em auto 2.5em;"><img src="{{ "/gifootball/public/img/loading_list.svg" | prepend: site.static_cdn_root }}"></div>');
var articles;
$.getJSON("/public/json/search.json").done(function (data) {
$.getJSON("/gifootball/public/json/search.json").done(function (data) {
articles = data;
totalTags = getTotalTags(articles);
totalNum = articles.length;
Expand Down Expand Up @@ -124,7 +124,7 @@
} else {
if (!!currentData.featimg) {
htmlArr += '<a href="' + currentData.url + '" class="noline">\
<img class="lazyload" src="{{ "/public/img/loading.svg" | prepend: site.static_cdn_root }}" data-src="{{ site.pic_bed_featimg_root }}'+ currentData.featimg + '?type=img" alt="' + currentData.title + '"></a>';
<img class="lazyload" src="{{ "/gifootball/public/img/loading.svg" | prepend: site.static_cdn_root }}" data-src="{{ site.pic_bed_featimg_root }}'+ currentData.featimg + '?type=img" alt="' + currentData.title + '"></a>';
}
}

Expand Down
2 changes: 1 addition & 1 deletion tags/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h4 class="page-title">

</body>
<script>
$.getJSON("/public/json/tags.json").done(function (data) {
$.getJSON("/gifootball/public/json/tags.json").done(function (data) {
buildHtml(data);
});
function buildHtml(tags){
Expand Down

0 comments on commit 6dfa7dd

Please sign in to comment.