From 1494aed01a233866adeb0eddd624eabeab37cd49 Mon Sep 17 00:00:00 2001 From: JOduMonT Date: Sat, 19 Jan 2019 12:02:14 +0100 Subject: [PATCH 1/3] add --livereload --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2fdc308..7eed201 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,4 +11,4 @@ VOLUME /src EXPOSE 4000 WORKDIR /src -ENTRYPOINT ["jekyll", "serve", "-H", "0.0.0.0"] +ENTRYPOINT ["jekyll", "serve", "--livereload", "-H", "0.0.0.0"] From a48b5e80d5f973aaf837652fde2d3bc4f7c92558 Mon Sep 17 00:00:00 2001 From: JOduMonT Date: Sat, 19 Jan 2019 18:19:44 +0100 Subject: [PATCH 2/3] add rel="noopener" when target="_blank" --- _includes/image.html | 2 +- _includes/sidebar.html | 4 ++-- _includes/topnav.html | 4 ++-- _layouts/page.html | 2 +- pages/mydoc/mydoc_commenting_on_files.md | 4 ++-- pages/mydoc/mydoc_generating_pdfs.md | 2 +- pages/mydoc/mydoc_help_api.md | 8 ++++---- pages/mydoc/mydoc_sidebar_navigation.md | 2 +- pdfconfigs/prince-list.txt | 4 ++-- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/_includes/image.html b/_includes/image.html index 7b3b0fa..dea99d9 100644 --- a/_includes/image.html +++ b/_includes/image.html @@ -1 +1 @@ -
{% if {{include.url}} %}{% endif %}{{include.alt}}{% if {{include.url}} %}{% endif %}{% if {{include.caption}} %}
{{include.caption}}
{% endif %}
+
{% if {{include.url}} %}{% endif %}{{include.alt}}{% if {{include.url}} %}{% endif %}{% if {{include.caption}} %}
{{include.caption}}
{% endif %}
diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 47a6490..787b1bd 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -11,7 +11,7 @@ {% for folderitem in folder.folderitems %} {% if folderitem.output contains "web" %} {% if folderitem.external_url %} -
  • {{folderitem.title}}
  • +
  • {{folderitem.title}}
  • {% elsif page.url == folderitem.url %}
  • {{folderitem.title}}
  • {% elsif folderitem.type == "empty" %} @@ -28,7 +28,7 @@ {% for subfolderitem in subfolders.subfolderitems %} {% if subfolderitem.output contains "web" %} {% if subfolderitem.external_url %} -
  • {{subfolderitem.title}}
  • +
  • {{subfolderitem.title}}
  • {% elsif page.url == subfolderitem.url %}
  • {{subfolderitem.title}}
  • {% else %} diff --git a/_includes/topnav.html b/_includes/topnav.html index 5acf50c..a246c29 100644 --- a/_includes/topnav.html +++ b/_includes/topnav.html @@ -22,7 +22,7 @@ {% for entry in topnav.topnav %} {% for item in entry.items %} {% if item.external_url %} -
  • {{item.title}}
  • +
  • {{item.title}}
  • {% elsif page.url contains item.url %}
  • {{item.title}}
  • {% else %} @@ -39,7 +39,7 @@