mirror of
https://github.com/mrrpnya/lipu-sona.git
synced 2025-02-13 16:44:39 +00:00
added simple opengraph support
This commit is contained in:
parent
7cb7cd08be
commit
34d8c836c9
2 changed files with 5 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -28,7 +28,7 @@ upload:
|
|||
|
||||
$(OUTDIR)/%.html: $(PAGEDIR)/%.md $(TPLDIR)/default.tpl
|
||||
@mkdir -p $(@D)
|
||||
theme -C style -t $(TPLDIR)/default.tpl -o $@ $<
|
||||
theme -C style -t $(TPLDIR)/default.tpl -p $(patsubst $(OUTDIR)/%,%,$@) -o $@ $<
|
||||
|
||||
$(OUTDIR)/%: static/%.h
|
||||
@mkdir -p $(@D)
|
||||
|
|
|
@ -4,6 +4,10 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title><?theme title?></title>
|
||||
<meta property="og:site_name" content="rnd's website"/>
|
||||
<meta property="og:title" content="<?theme title?>"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:url" content="https://rnd.neocities.org/<?theme dir?><?theme source?>"/>
|
||||
<link href="/style.css" rel="stylesheet" type="text/css" media="all">
|
||||
<link href="xstyle.css" rel="stylesheet" type="text/css" media="all">
|
||||
<link rel="icon" type="image/png" href="favicon.png">
|
||||
|
|
Loading…
Add table
Reference in a new issue