From b5a74e5b6dadbd07782708dbaf73c0f6297bca78 Mon Sep 17 00:00:00 2001 From: JV-conseil Date: Fri, 23 Feb 2024 18:12:39 +0100 Subject: [PATCH] themes/ulynks/assets/js/app.js --- public/assets/bundle.js | 2 +- static/assets/bundle.js | 2 +- themes/ulynks/assets/js/app.js | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/public/assets/bundle.js b/public/assets/bundle.js index 9aba514..a5974d9 100644 --- a/public/assets/bundle.js +++ b/public/assets/bundle.js @@ -1 +1 @@ -$((function(){console.info("This site was generated by Hugo v0.120.4");const n=new URL(window.location.href).pathname;$(".app-link").each((function(){$(this).removeAttr("aria-current");let t=$(this).text().trim();t=new RegExp(t,"gi"),n.match(t)&&$(this).attr("aria-current","page")})),$("a[data-mail]").on("click",(function(){window.location="mailto:"+encodeURIComponent($(this).data("mail"))+"?subject="+encodeURIComponent($(this).data("subject"))+"&body="+encodeURIComponent("Hello uLynks,\n\n...\n\nKind Regards,\n")})),$("a[href^='http']").each((function(){$(this).attr({target:"_blank",rel:"noopener noreferrer"})}))})); \ No newline at end of file +$((function(){console.info("This site was generated by Hugo v0.120.4");const n=new URL(window.location.href).pathname;$(".app-link").each((function(){$(this).removeAttr("aria-current");let t=$(this).text().trim();t=new RegExp(t,"gi"),n.match(t)&&$(this).attr("aria-current","page")})),$("a[data-mail]").on("click",(function(){window.location="mailto:"+encodeURIComponent($(this).data("mail"))+"?subject="+encodeURIComponent($(this).data("subject"))+"&body="+encodeURIComponent("Hello Fixie Agents by uLynks,\n\n...\n\nKind Regards,\n")})),$("a[href^='http']").each((function(){$(this).attr({target:"_blank",rel:"noopener noreferrer"})}))})); \ No newline at end of file diff --git a/static/assets/bundle.js b/static/assets/bundle.js index 9aba514..a5974d9 100644 --- a/static/assets/bundle.js +++ b/static/assets/bundle.js @@ -1 +1 @@ -$((function(){console.info("This site was generated by Hugo v0.120.4");const n=new URL(window.location.href).pathname;$(".app-link").each((function(){$(this).removeAttr("aria-current");let t=$(this).text().trim();t=new RegExp(t,"gi"),n.match(t)&&$(this).attr("aria-current","page")})),$("a[data-mail]").on("click",(function(){window.location="mailto:"+encodeURIComponent($(this).data("mail"))+"?subject="+encodeURIComponent($(this).data("subject"))+"&body="+encodeURIComponent("Hello uLynks,\n\n...\n\nKind Regards,\n")})),$("a[href^='http']").each((function(){$(this).attr({target:"_blank",rel:"noopener noreferrer"})}))})); \ No newline at end of file +$((function(){console.info("This site was generated by Hugo v0.120.4");const n=new URL(window.location.href).pathname;$(".app-link").each((function(){$(this).removeAttr("aria-current");let t=$(this).text().trim();t=new RegExp(t,"gi"),n.match(t)&&$(this).attr("aria-current","page")})),$("a[data-mail]").on("click",(function(){window.location="mailto:"+encodeURIComponent($(this).data("mail"))+"?subject="+encodeURIComponent($(this).data("subject"))+"&body="+encodeURIComponent("Hello Fixie Agents by uLynks,\n\n...\n\nKind Regards,\n")})),$("a[href^='http']").each((function(){$(this).attr({target:"_blank",rel:"noopener noreferrer"})}))})); \ No newline at end of file diff --git a/themes/ulynks/assets/js/app.js b/themes/ulynks/assets/js/app.js index 85b4a36..331bd32 100644 --- a/themes/ulynks/assets/js/app.js +++ b/themes/ulynks/assets/js/app.js @@ -1,7 +1,8 @@ +/* global $ */ // import $ from "jquery"; const SITE = { - title: "uLynks", + title: "Fixie Agents by uLynks", } $(function () {