fix: Close div before <article>
This commit is contained in:
parent
3510254c14
commit
f89a3fb8e8
2
control
2
control
|
@ -1,5 +1,5 @@
|
||||||
Package: egsl
|
Package: egsl
|
||||||
Version: 0.0.8
|
Version: 0.0.9
|
||||||
Section: custom
|
Section: custom
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Architecture: all
|
Architecture: all
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Version: 0.0.8
|
# Version: 0.0.9
|
||||||
# file: gsl
|
# file: gsl
|
||||||
# Folder: /usr/local/bin
|
# Folder: /usr/local/bin
|
||||||
# By echolib
|
# By echolib
|
||||||
|
|
|
@ -254,6 +254,7 @@ cat << EOPAGE > "$gsl_srv_wip_page"
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
`cat "$gsl_a11y_post"`
|
`cat "$gsl_a11y_post"`
|
||||||
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<aside id="${gsl_site_css}_sidebar">
|
<aside id="${gsl_site_css}_sidebar">
|
||||||
|
|
|
@ -337,7 +337,6 @@ awk -F"<h" '{print $2}' \
|
||||||
<<< "$gsl_content_title" \
|
<<< "$gsl_content_title" \
|
||||||
| awk -F">" '{print $1}'`
|
| awk -F">" '{print $1}'`
|
||||||
|
|
||||||
|
|
||||||
gsl_html_div="<div class=\"${gsl_site_css}_content-p$gsl_title_n\">"
|
gsl_html_div="<div class=\"${gsl_site_css}_content-p$gsl_title_n\">"
|
||||||
sed -i "$(( $gsl_content_line_nbr + 1 ))i$gsl_html_div" \
|
sed -i "$(( $gsl_content_line_nbr + 1 ))i$gsl_html_div" \
|
||||||
"$gsl_tmp_post"
|
"$gsl_tmp_post"
|
||||||
|
@ -361,8 +360,8 @@ grep -n "$gsl_test_line" "$gsl_tmp_post" \
|
||||||
| tail -n 1`
|
| tail -n 1`
|
||||||
|
|
||||||
[[ "$gsl_content_title" == "$gsl_content_same_title" ]] \
|
[[ "$gsl_content_title" == "$gsl_content_same_title" ]] \
|
||||||
&& echo "</div>" >> "$gsl_tmp_post" \
|
|
||||||
&& return
|
&& return
|
||||||
|
|
||||||
! [[ "$gsl_content_title" ]] && return
|
! [[ "$gsl_content_title" ]] && return
|
||||||
|
|
||||||
gsl_content_line_nbr=`
|
gsl_content_line_nbr=`
|
||||||
|
|
Loading…
Reference in New Issue