You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2021/03/01 22:16:57 UTC

[lucene-site] branch main/solr updated (f362148 -> b6968c6)

This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a change to branch main/solr
in repository https://gitbox.apache.org/repos/asf/lucene-site.git.


    from f362148  Adjust sticky note height. Fix news page title not hidden by header also in Safari
     new a694482  Review feedback - only show the popup for one year
     new b6968c6  Remove /solr/ prefix for some links

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 content/pages/resources.md                   | 12 ++++++------
 themes/solr/templates/_modal_welcomebox.html |  6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)


[lucene-site] 01/02: Review feedback - only show the popup for one year

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to branch main/solr
in repository https://gitbox.apache.org/repos/asf/lucene-site.git

commit a694482032bc300440905936c8fccf9a37b39aea
Author: Jan Høydahl <ja...@cominvent.com>
AuthorDate: Mon Mar 1 23:12:45 2021 +0100

    Review feedback - only show the popup for one year
---
 themes/solr/templates/_modal_welcomebox.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/themes/solr/templates/_modal_welcomebox.html b/themes/solr/templates/_modal_welcomebox.html
index 243204c..e1cc8bd 100644
--- a/themes/solr/templates/_modal_welcomebox.html
+++ b/themes/solr/templates/_modal_welcomebox.html
@@ -78,9 +78,9 @@
     modalOverlay.classList.toggle("closed");
   });
 
-  // Open modal box on first visit only
-  if (readCookie("alreadyVisited") == null) {
-    createCookie("alreadyVisited", "yes", 30000)
+  // Open modal box on first visit only, and only the first year
+  if (readCookie("alreadyVisited") == null && new Date() < new Date('2022-03-01')) {
+    createCookie("alreadyVisited", "yes", 400)
     modal.classList.toggle("closed");
     modalOverlay.classList.toggle("closed");
   }


[lucene-site] 02/02: Remove /solr/ prefix for some links

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to branch main/solr
in repository https://gitbox.apache.org/repos/asf/lucene-site.git

commit b6968c6abcb84c22250bded7254104a375dbe950
Author: Jan Høydahl <ja...@cominvent.com>
AuthorDate: Mon Mar 1 23:16:33 2021 +0100

    Remove /solr/ prefix for some links
---
 content/pages/resources.md | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/content/pages/resources.md b/content/pages/resources.md
index 8078b1d..914bac2 100644
--- a/content/pages/resources.md
+++ b/content/pages/resources.md
@@ -5,7 +5,7 @@ template: resources
 
 ## Tutorials ##
 
-* [Solr Quick Start](/solr/guide/solr-tutorial.html)
+* [Solr Quick Start](/guide/solr-tutorial.html)
 
 <!--
 * More to come: Ideas include "Solr in a Day", "Solr and JSON", "Solr and CSV", "Solr and XML"
@@ -21,11 +21,11 @@ Users who have completed the tutorial are encouraged to review the [other docume
 
 Beginning with Solr 4.4, a detailed reference guide is available online.
 
-* [HTML Version of the Reference Guide](/solr/guide)
+* [HTML Version of the Reference Guide](/guide)
 
 * [Visual Guide to Streaming Expressions and Math Expressions](http://bit.ly/32srTpA)
 
-* [Previous Releases in PDF (until Solr 8.1)](http://archive.apache.org/dist/lucene/solr/ref-guide/)
+* [Previous Releases in PDF (until Solr 8.x)](http://archive.apache.org/dist/lucene/solr/ref-guide/)
 
 
 <h3 class="offset" id="javadocs">Solr Javadocs</h3>
@@ -33,7 +33,7 @@ Beginning with Solr 4.4, a detailed reference guide is available online.
 Solr generates JavaDocs for all included code in each release.
 Copies of this documentation for every release can be found online:
 
-* [Latest Release](/solr/api/index.html)
+* [Latest Release](/api/index.html)
 
 <h3 class="offset" id="additional-documentation">Additional Documentation</h3>
 
@@ -43,7 +43,7 @@ Additional documentation can be found on the [Solr Community Wiki](https://cwiki
 
 ## Solr Books ##
 
-If you have a Solr book that you would like to see listed here, please [edit this website add submit a Pull Request]("/editing-website.html").
+If you have a Solr book that you would like to see listed here, please [edit this website add submit a Pull Request](/editing-website.html).
 
 <h3 class="offset" id="book-relevant-search">Relevant Search</h3>
 Doug Turnbull, John Berryman and Manning Publications are proud to announce *Relevant Search*.
@@ -209,7 +209,7 @@ If you have a Solr presentation that you would like to see listed here, please s
 
 ## Videos ##
 
-If you have a Solr video that you would like to see listed here, please [edit this website add submit a Pull Request]("/editing-website.html").
+If you have a Solr video that you would like to see listed here, please [edit this website add submit a Pull Request](/editing-website.html).
 
 <!-- TODO: WOULD BE NICE TO HAVE A SLIDER OR RANDOMLY PICKED VIDEO HERE -->