added +vet explicit-allocators to all files
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#+vet explicit-allocators
|
||||
package main
|
||||
|
||||
import "core:fmt"
|
||||
@@ -9,12 +10,14 @@ MD_SUFFIX :: ".md"
|
||||
|
||||
UTF8_PREFIX :: "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n"
|
||||
CSS_PREFIX :: "<head><link rel=\"stylesheet\" href=\"./css/style.css\">\n"
|
||||
FAVICON_PREFIX :: "<link rel=\"icon\" type=\"image\\x-icon\" href=\"/imgs/favicon.ico\">\n"
|
||||
MASTODON_PREFIX :: "<a rel=me href=https://linuxrocks.online/@simonkellet></a>\n"
|
||||
|
||||
|
||||
write_prefixs_to_html_file :: proc(file: ^os.File) {
|
||||
os.write_string(file, UTF8_PREFIX)
|
||||
os.write_string(file, CSS_PREFIX)
|
||||
os.write_string(file, FAVICON_PREFIX)
|
||||
os.write_string(file, MASTODON_PREFIX)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user