mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-11-04 09:13:05 -05:00 
			
		
		
		
	Update default.html
This commit is contained in:
		
							parent
							
								
									f1e7070380
								
							
						
					
					
						commit
						106aa95def
					
				@ -1,5 +1,6 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
 | 
			
		||||
<head>
 | 
			
		||||
  <meta charset="UTF-8">
 | 
			
		||||
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
			
		||||
@ -26,26 +27,6 @@
 | 
			
		||||
 | 
			
		||||
  gtag('config', '{{ site.google_analytics }}');
 | 
			
		||||
  var lastUpdated = new Date("{{ site.time | date: "%FT%T%z" }}");
 | 
			
		||||
  Date.prototype.format = function(fmt) { 
 | 
			
		||||
     var o = { 
 | 
			
		||||
        "M+" : this.getMonth()+1,                 //月份 
 | 
			
		||||
        "d+" : this.getDate(),                    //日 
 | 
			
		||||
        "h+" : this.getHours(),                   //小时 
 | 
			
		||||
        "m+" : this.getMinutes(),                 //分 
 | 
			
		||||
        "s+" : this.getSeconds(),                 //秒 
 | 
			
		||||
        "q+" : Math.floor((this.getMonth()+3)/3), //季度 
 | 
			
		||||
        "S"  : this.getMilliseconds()             //毫秒 
 | 
			
		||||
    }; 
 | 
			
		||||
    if(/(y+)/.test(fmt)) {
 | 
			
		||||
            fmt=fmt.replace(RegExp.$1, (this.getFullYear()+"").substr(4 - RegExp.$1.length)); 
 | 
			
		||||
    }
 | 
			
		||||
     for(var k in o) {
 | 
			
		||||
        if(new RegExp("("+ k +")").test(fmt)){
 | 
			
		||||
             fmt = fmt.replace(RegExp.$1, (RegExp.$1.length==1) ? (o[k]) : (("00"+ o[k]).substr((""+ o[k]).length)));
 | 
			
		||||
         }
 | 
			
		||||
     }
 | 
			
		||||
    return fmt; 
 | 
			
		||||
  }
 | 
			
		||||
  </script>
 | 
			
		||||
  {% endif %}
 | 
			
		||||
  <style>
 | 
			
		||||
@ -69,6 +50,7 @@
 | 
			
		||||
    }
 | 
			
		||||
  </style>
 | 
			
		||||
</head>
 | 
			
		||||
 | 
			
		||||
<body>
 | 
			
		||||
  <div class="wrapper">
 | 
			
		||||
    <header>
 | 
			
		||||
@ -80,17 +62,22 @@
 | 
			
		||||
 | 
			
		||||
      <p>{{ site.description | default: site.github.project_tagline }}</p>
 | 
			
		||||
 | 
			
		||||
        <p><form action="/search.html"><input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts.."> <input type="submit"></form></p>
 | 
			
		||||
      <p>
 | 
			
		||||
      <form action="/search.html"><input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts..">
 | 
			
		||||
        <input type="submit">
 | 
			
		||||
      </form>
 | 
			
		||||
      </p>
 | 
			
		||||
 | 
			
		||||
      {% if site.github.is_project_page %}
 | 
			
		||||
        <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
 | 
			
		||||
      <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub
 | 
			
		||||
          <small>{{ site.github.repository_nwo }}</small></a></p>
 | 
			
		||||
      {% endif %}
 | 
			
		||||
 | 
			
		||||
      {% if site.github.is_user_page %}
 | 
			
		||||
      <p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
 | 
			
		||||
      {% endif %}
 | 
			
		||||
 | 
			
		||||
        <p class="view"><a href="{{ "/Mabbs/" | relative_url }}">About Me</a></p>
 | 
			
		||||
      <p class="view"><a href="/Mabbs/">About Me</a></p>
 | 
			
		||||
 | 
			
		||||
      <ul class="downloads">
 | 
			
		||||
        {% if site.github %}
 | 
			
		||||
@ -135,10 +122,9 @@
 | 
			
		||||
    <div id="open_live2d">召唤伊斯特瓦尔</div>
 | 
			
		||||
    <!-- <![endif]-->
 | 
			
		||||
    <footer>
 | 
			
		||||
        <p><small>Made with ❤ by Mayx<br />Last updated at <script>document.write(lastUpdated.format("yyyy-MM-dd hh:mm:ss"));</script><br /> 总字数:
 | 
			
		||||
{% assign count = 0 %}{% for post in site.posts %}{% assign single_count = post.content | strip_html | strip_newlines | remove: " " | size %}
 | 
			
		||||
{% assign count = count | plus: single_count %}{% endfor %}{% if count > 10000 %}{{ count | divided_by: 10000 }} 万 {{ count | modulo: 10000 }}
 | 
			
		||||
{% else %}{{ count }}{% endif %} - 文章数:{% for post in site.posts %}{% assign co = co | plus: 1 %}{% endfor %}{{ co }} - <a href="{{ "/atom.xml" | relative_url }}" >Atom</a> - <a href="{{ "/README.html" | relative_url }}" >About</a></small></p>
 | 
			
		||||
      <p>
 | 
			
		||||
        <small>Made with ❤ by Mayx<br />Last updated at <script>document.write(lastUpdated.toLocaleString());</script><br /> 总字数:{% assign count = 0 %}{% for post in site.posts %}{% assign single_count = post.content | strip_html | strip_newlines | remove: " " | size %}{% assign count = count | plus: single_count %}{% endfor %}{% if count > 10000 %}{{ count | divided_by: 10000 }} 万 {{ count | modulo: 10000 }}{% else %}{{ count }}{% endif %} - 文章数:{% for post in site.posts %}{% assign co = co | plus: 1 %}{% endfor %}{{ co }} - <a href="{{ "/atom.xml" | relative_url }}" >Atom</a> - <a href="{{ "/README.html" | relative_url }}" >About</a></small>
 | 
			
		||||
      </p>
 | 
			
		||||
    </footer>
 | 
			
		||||
  </div>
 | 
			
		||||
  <script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
 | 
			
		||||
@ -150,4 +136,5 @@
 | 
			
		||||
 | 
			
		||||
  <!-- <![endif]-->
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user