diff --git a/docs/overrides/main.html b/docs/overrides/main.html index cb5ffdd..34ce29a 100644 --- a/docs/overrides/main.html +++ b/docs/overrides/main.html @@ -1,11 +1,10 @@ {% extends "base.html" %} {% block extrahead %} - + {% endblock %} -{% block container %} +{% block content %} {{ super() }} diff --git a/site/index.html b/site/index.html index e9d5a1e..273de92 100644 --- a/site/index.html +++ b/site/index.html @@ -323,7 +323,7 @@
diff --git a/site/overrides/main.html b/site/overrides/main.html index ff1d4e4..3c160cf 100644 --- a/site/overrides/main.html +++ b/site/overrides/main.html @@ -1,48 +1,48 @@ {% extends "base.html" %} {% block extrahead %} - + {% endblock %} -{% block scripts %} +{% block container %} -{{ super() }} + {{ super() }} - - - - - + }); - - + // Block Ctrl+C and other keyboard shortcuts for copying + document.addEventListener('keydown', function (e) { + if (e.ctrlKey && e.key === 'c') { // Blocks Ctrl+C + e.preventDefault(); + } + if (e.ctrlKey && e.shiftKey && e.key === 'v') { // Blocks Ctrl+Shift+V + e.preventDefault(); + } + }); + + // Additional measures for image protection + document.addEventListener('contextmenu', function (e) { + if (e.target.tagName.toLowerCase() === 'img') { + e.preventDefault(); + } + }); + + + + {% endblock %} diff --git a/site/resume/index.html b/site/resume/index.html index d154c06..4c7289b 100644 --- a/site/resume/index.html +++ b/site/resume/index.html @@ -345,7 +345,7 @@ linkedin/gugulet-hu - +