mirror of
				https://github.com/yv1ing/MollyBlog.git
				synced 2025-09-16 14:53:45 +08:00 
			
		
		
		
	new: Added motto display on home page and archive pages
This commit is contained in:
		| @@ -10,6 +10,7 @@ | ||||
|     <link rel="stylesheet" href="../assets/css/lib/bootstrap.min.css"> | ||||
|     <link rel="stylesheet" href="../assets/css/global.css"> | ||||
|     <link rel="stylesheet" href="../assets/css/index.css"> | ||||
|     <script src="../assets/js/lib/typed.umd.js"></script> | ||||
|     <script src="../assets/js/lib/jquery.min.js"></script> | ||||
|     <script src="../assets/js/lib/bootstrap.min.js"></script> | ||||
|     <script src="../assets/js/lib/fontawesome.all.min.js"></script> | ||||
| @@ -81,7 +82,20 @@ | ||||
|             </div> | ||||
|  | ||||
|             <!-- special info --> | ||||
|              <div class="col-lg-3 d-none d-lg-grid carousel slide special-info-area"></div> | ||||
|             <!-- motto --> | ||||
|             <div class="col-lg-3 d-none d-lg-grid carousel slide special-info-area"> | ||||
|                 <span id="index-motto-container"></span> | ||||
|             </div> | ||||
|             {{ .site_info.motto_html }} | ||||
|             <script> | ||||
|                 const options = { | ||||
|                     strings: motto, | ||||
|                     typeSpeed: 30, | ||||
|                     startDelay: 100, | ||||
|                     showCursor: false, | ||||
|                 }; | ||||
|                 new Typed("#index-motto-container", options); | ||||
|             </script> | ||||
|  | ||||
|         </div> | ||||
|     </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user