contrib/static-html: find static html files by comment

This commit is contained in:
Christian Hesse 2025-11-18 18:53:29 +01:00
parent 3d1010128a
commit 8abb1a4d0f
3 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
# Makefile # Makefile
HTML := $(wildcard *.html) HTML := $(shell grep -xl '<!-- static html //-->' *.html)
.PHONY: all docs .PHONY: all docs

View file

@ -1,4 +1,5 @@
<!DOCTYPE html><html lang="en"> <!DOCTYPE html><html lang="en">
<!-- static html //-->
<head><meta http-equiv="content-type" content="text/html; charset=UTF-8"> <head><meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>RouterOS Scripts :: Logo Color Changer</title> <title>RouterOS Scripts :: Logo Color Changer</title>
<link rel="stylesheet" type="text/css" href="../general/style.css"> <link rel="stylesheet" type="text/css" href="../general/style.css">

View file

@ -1,4 +1,5 @@
<!DOCTYPE html><html lang="en"> <!DOCTYPE html><html lang="en">
<!-- static html //-->
<head><meta http-equiv="content-type" content="text/html; charset=UTF-8"> <head><meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>RouterOS Scripts :: Notification Generator</title> <title>RouterOS Scripts :: Notification Generator</title>
<link rel="stylesheet" type="text/css" href="../general/style.css"> <link rel="stylesheet" type="text/css" href="../general/style.css">