Fix
This commit is contained in:
		
							parent
							
								
									b4cedc2d82
								
							
						
					
					
						commit
						bfdf8ac96a
					
				| 
						 | 
				
			
			@ -23,7 +23,7 @@ params:
 | 
			
		|||
    icon: /favicon.png
 | 
			
		||||
    icon_inv: /favicon-inv.png
 | 
			
		||||
    iconHeight: 24
 | 
			
		||||
  buildDate: 1101_2207
 | 
			
		||||
  buildDate: 11081623
 | 
			
		||||
 | 
			
		||||
#######################################
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
baseURL: "http://blog.morgan.kr"
 | 
			
		||||
title: Morgan's Blog
 | 
			
		||||
theme: "mytheme"
 | 
			
		||||
theme: "oldtheme"
 | 
			
		||||
 | 
			
		||||
buildDrafts: false
 | 
			
		||||
buildFuture: false
 | 
			
		||||
| 
						 | 
				
			
			@ -17,11 +17,77 @@ params:
 | 
			
		|||
    favicon: "https://blog.morgan.kr/favicon.ico"
 | 
			
		||||
    apple_touch_icon: "https://blog.morgan.kr/favicon.ico"
 | 
			
		||||
    safari_pinned_tab: "https://blog.morgan.kr/favicon.ico"
 | 
			
		||||
  mainSections:
 | 
			
		||||
    - posts
 | 
			
		||||
  label:
 | 
			
		||||
    icon: /favicon.png
 | 
			
		||||
    icon_inv: /favicon-inv.png
 | 
			
		||||
    iconHeight: 24
 | 
			
		||||
  buildDate: 2000-00-00_00:00:00
 | 
			
		||||
  buildDate: 11012207
 | 
			
		||||
 | 
			
		||||
#######################################
 | 
			
		||||
 | 
			
		||||
  defaultTheme: dark 
 | 
			
		||||
  disableThemeToggle: false
 | 
			
		||||
  ShowReadingTime: false
 | 
			
		||||
  ShowShareButtons: true
 | 
			
		||||
  ShowPostNavLinks: true
 | 
			
		||||
  ShowBreadCrumbs: false
 | 
			
		||||
  ShowCodeCopyButtons: true
 | 
			
		||||
  ShowWordCount: false
 | 
			
		||||
  ShowRssButtonInSectionTermList: false
 | 
			
		||||
  UseHugoToc: true
 | 
			
		||||
  disableSpecial1stPost: false
 | 
			
		||||
  disableScrollToTop: false
 | 
			
		||||
  comments: false
 | 
			
		||||
  hidemeta: false
 | 
			
		||||
  hideSummary: false
 | 
			
		||||
  showtoc: false
 | 
			
		||||
  tocopen: false
 | 
			
		||||
  homeInfoParams:
 | 
			
		||||
       Title: Hi, I'm Morgan.
 | 
			
		||||
       Content: Student Developer
 | 
			
		||||
 | 
			
		||||
  socialIcons:
 | 
			
		||||
      - name: github
 | 
			
		||||
        url: "https://github.com/morgan9e"
 | 
			
		||||
      - name: email
 | 
			
		||||
        url: "mailto:me@morgan.kr"
 | 
			
		||||
      - name: git
 | 
			
		||||
        url: "https://git.morgan.kr"
 | 
			
		||||
      - name: twitter
 | 
			
		||||
        url: "https://twitter.com/morgan8w"
 | 
			
		||||
      - name: telegram
 | 
			
		||||
        url: "https://t.me/morgan9e"
 | 
			
		||||
  cover:
 | 
			
		||||
    hidden: true
 | 
			
		||||
    hiddenInList: true
 | 
			
		||||
    hiddenInSingle: true
 | 
			
		||||
  fuseOpts:
 | 
			
		||||
    isCaseSensitive: false
 | 
			
		||||
    shouldSort: true
 | 
			
		||||
    location: 0
 | 
			
		||||
    distance: 1000
 | 
			
		||||
    threshold: 0.4
 | 
			
		||||
    minMatchCharLength: 0
 | 
			
		||||
    keys: ["title", "permalink", "summary", "content"]
 | 
			
		||||
 | 
			
		||||
paginate: 100
 | 
			
		||||
menus:
 | 
			
		||||
  main:
 | 
			
		||||
    - identifier: posts
 | 
			
		||||
      name: Posts
 | 
			
		||||
      url: /posts/
 | 
			
		||||
      weight: 30
 | 
			
		||||
 | 
			
		||||
pygmentsUseClasses: true
 | 
			
		||||
markup:
 | 
			
		||||
  highlight:
 | 
			
		||||
    noClasses: false
 | 
			
		||||
    codeFences: true
 | 
			
		||||
    guessSyntax: true
 | 
			
		||||
 | 
			
		||||
#############################
 | 
			
		||||
  
 | 
			
		||||
permalinks:
 | 
			
		||||
  posts: /:year/:month/:title/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,3 +1,3 @@
 | 
			
		|||
sed -i.old "s/buildDate: [0-9]\+-[0-9]\+/buildDate: $(date +%m%d-%H%M)/" config.yml
 | 
			
		||||
echo buildDate: $(date +%m%d-%H%M)
 | 
			
		||||
sed -i.old "s/buildDate: [0-9]\+/buildDate: $(date +%m%d%H%M)/" config.yml
 | 
			
		||||
echo buildDate: $(date +%m%d%H%M)
 | 
			
		||||
hugo
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,5 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
cd /srv/blog
 | 
			
		||||
git pull
 | 
			
		||||
git fetch
 | 
			
		||||
git reset --hard origin/master
 | 
			
		||||
./scripts/build.sh
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue