Fix syntax error in qsgen2 script
This commit is contained in:
		
							
								
								
									
										2
									
								
								qsgen2
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								qsgen2
									
									
									
									
									
								
							@@ -511,7 +511,7 @@ function _pages() {
 | 
				
			|||||||
        if (${debug}) _msg debug "_pages: Finding page_title"
 | 
					        if (${debug}) _msg debug "_pages: Finding page_title"
 | 
				
			||||||
        if [[ ${generator} == "native" ]]; then
 | 
					        if [[ ${generator} == "native" ]]; then
 | 
				
			||||||
          # Use Zsh built in functions to find page_title
 | 
					          # Use Zsh built in functions to find page_title
 | 
				
			||||||
          [[ "${page_content}" =~ ^#title=(.*) ]]; then
 | 
					          if [[ "${page_content}" =~ ^#title=(.*) ]]; then
 | 
				
			||||||
            local page_title=$match[1]
 | 
					            local page_title=$match[1]
 | 
				
			||||||
          #local page_title=$( echo ${page_content} | head -2 | grep \#title | cut -d= -f2 )
 | 
					          #local page_title=$( echo ${page_content} | head -2 | grep \#title | cut -d= -f2 )
 | 
				
			||||||
        elif [[ ${generator} == "markdown" ]]; then
 | 
					        elif [[ ${generator} == "markdown" ]]; then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user