You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2022/04/05 00:26:29 UTC
[shardingsphere] branch master updated: feat:modify community layout single.html (#16588)
This is an automated email from the ASF dual-hosted git repository.
panjuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 50a38e5814a feat:modify community layout single.html (#16588)
50a38e5814a is described below
commit 50a38e5814a236d0d3f1c064f3a9c45a10798222
Author: davidChan3000 <ch...@163.com>
AuthorDate: Tue Apr 5 08:26:15 2022 +0800
feat:modify community layout single.html (#16588)
---
docs/community/themes/hugo-theme-learn/layouts/_default/list.html | 2 ++
docs/community/themes/hugo-theme-learn/layouts/_default/single.html | 2 ++
docs/community/themes/hugo-theme-learn/static/js/learn.js | 2 +-
docs/document/themes/hugo-theme-learn/static/js/learn.js | 2 +-
4 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/docs/community/themes/hugo-theme-learn/layouts/_default/list.html b/docs/community/themes/hugo-theme-learn/layouts/_default/list.html
index 16ed6a8f70a..32af008e88d 100644
--- a/docs/community/themes/hugo-theme-learn/layouts/_default/list.html
+++ b/docs/community/themes/hugo-theme-learn/layouts/_default/list.html
@@ -1,5 +1,7 @@
{{ partial "header.html" . }}
+{{ .TableOfContents }}
+
{{ .Content }}
<footer class=" footline" >
diff --git a/docs/community/themes/hugo-theme-learn/layouts/_default/single.html b/docs/community/themes/hugo-theme-learn/layouts/_default/single.html
index 0a76d86ec6c..0e1abf9fcd6 100644
--- a/docs/community/themes/hugo-theme-learn/layouts/_default/single.html
+++ b/docs/community/themes/hugo-theme-learn/layouts/_default/single.html
@@ -1,5 +1,7 @@
{{ partial "header.html" . }}
+{{ .TableOfContents }}
+
{{ .Content }}
<footer class=" footline" >
diff --git a/docs/community/themes/hugo-theme-learn/static/js/learn.js b/docs/community/themes/hugo-theme-learn/static/js/learn.js
index f95b55d6d17..9d371ced4f6 100644
--- a/docs/community/themes/hugo-theme-learn/static/js/learn.js
+++ b/docs/community/themes/hugo-theme-learn/static/js/learn.js
@@ -417,7 +417,7 @@ window.onload = function(){
function deal(str){
bocs.forEach(function(item){
if(item.getAttribute('href').split('#')[1] == str){
- console.log(item, str)
+ // console.log(item, str)
item.classList='active'
}else{
item.classList=''
diff --git a/docs/document/themes/hugo-theme-learn/static/js/learn.js b/docs/document/themes/hugo-theme-learn/static/js/learn.js
index f95b55d6d17..9d371ced4f6 100644
--- a/docs/document/themes/hugo-theme-learn/static/js/learn.js
+++ b/docs/document/themes/hugo-theme-learn/static/js/learn.js
@@ -417,7 +417,7 @@ window.onload = function(){
function deal(str){
bocs.forEach(function(item){
if(item.getAttribute('href').split('#')[1] == str){
- console.log(item, str)
+ // console.log(item, str)
item.classList='active'
}else{
item.classList=''