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