现在有个django blog。我想用户可以设置meta的信息。
<title>{{detals.title}}</title>
<meta name="description" content="{{detals.description}}" />
<meta name="keywords" content="{{detals.keywords}}">
<link rel='next' href='{{detals.url}}/about/' />
<link rel="canonical" href="{{detals.url}}" />
<meta property="og:title" content="{{detals.name}} - {{detals.url}}" />
<meta property="og:type" content="blog" />
<meta property="og:url" content="{{detals.url}}" />
例如这样。请问要具体怎么做。。真心纠结这个问题。先谢谢!