Update site for w3c standards
This commit is contained in:
parent
0d5d5ce535
commit
2bd6f8ae21
|
@ -157,10 +157,10 @@ class Index(DynastieGenerator):
|
||||||
create_link = (title_elem.getAttribute('link') == '1')
|
create_link = (title_elem.getAttribute('link') == '1')
|
||||||
post = self.cur_post_obj
|
post = self.cur_post_obj
|
||||||
if create_link == True:
|
if create_link == True:
|
||||||
node = self.createElement(dom, 'title')
|
node = self.createElement(dom, 'title', _type='h2')
|
||||||
node.appendChild(self.createLinkElem(dom, post.getPath(), post.title))
|
node.appendChild(self.createLinkElem(dom, post.getPath(), post.title))
|
||||||
else:
|
else:
|
||||||
node = self.createElement(dom, 'title', post.title)
|
node = self.createElement(dom, 'title', post.title, _type='h2')
|
||||||
|
|
||||||
root.replaceChild(node, title_elem)
|
root.replaceChild(node, title_elem)
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<link href="/rss.xml" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
|
<link href="/rss.xml" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
|
||||||
<link href="/atom.xml" rel="alternate" type="application/atom+xml" title="Atom 1.0" />
|
<link href="/atom.xml" rel="alternate" type="application/atom+xml" title="Atom 1.0" />
|
||||||
<link href="/css/blog.css" rel="stylesheet" type="text/css"/>
|
<link href="/css/blog.css" rel="stylesheet" type="text/css"/>
|
||||||
<script type="text/javascript" src="/js/blog.js"> </script>
|
<script src="/js/blog.js"> </script>
|
||||||
<dyn:block name="head"/>
|
<dyn:block name="head"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
<header>
|
<header>
|
||||||
<a href="/"><img id="logo" alt="Logo Tux" src="/images/tux_final2.png"/></a>
|
<a href="/"><img id="logo" alt="Logo Tux" src="/images/tux_final2.png"/></a>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<h2 id="title"><a href="/">Blog de Grégory Soutadé</a></h2>
|
<span id="title"><a href="/">Blog de Grégory Soutadé</a></span>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<dyn:block name="content"/>
|
<dyn:block name="content"/>
|
||||||
|
|
|
@ -13,14 +13,14 @@
|
||||||
<link href="/rss.xml" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
|
<link href="/rss.xml" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
|
||||||
<link href="/atom.xml" rel="alternate" type="application/atom+xml" title="Atom 1.0" />
|
<link href="/atom.xml" rel="alternate" type="application/atom+xml" title="Atom 1.0" />
|
||||||
<link href="/css/blog.css" rel="stylesheet" type="text/css"/>
|
<link href="/css/blog.css" rel="stylesheet" type="text/css"/>
|
||||||
<script type="text/javascript" src="/js/blog.js"> </script>
|
<script src="/js/blog.js"> </script>
|
||||||
</head>
|
</head>
|
||||||
<body onLoad="javascript:init();">
|
<body onLoad="javascript:init();">
|
||||||
<div class="content" id="content">
|
<div class="content" id="content">
|
||||||
<header>
|
<header>
|
||||||
<a href="/"><img id="logo" alt="Logo Tux" src="/images/tux_final2.png"/></a>
|
<a href="/"><img id="logo" alt="Logo Tux" src="/images/tux_final2.png"/></a>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<h2 id="title"><a href="/">Blog de Grégory Soutadé</a></h2>
|
<span id="title"><a href="/">Blog de Grégory Soutadé</a></span>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<dyn:block name="content"/>
|
<dyn:block name="content"/>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
|
<meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
|
||||||
|
@ -10,7 +11,7 @@
|
||||||
<link href="/rss.xml" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
|
<link href="/rss.xml" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
|
||||||
<link href="/atom.xml" rel="alternate" type="application/atom+xml" title="Atom 1.0" />
|
<link href="/atom.xml" rel="alternate" type="application/atom+xml" title="Atom 1.0" />
|
||||||
<link href="/css/blog.css" rel="stylesheet" type="text/css"/>
|
<link href="/css/blog.css" rel="stylesheet" type="text/css"/>
|
||||||
<script language="javascript" src="/js/base64.js"></script>
|
<script src="/js/base64.js"></script>
|
||||||
<script language="javascript" type="text/javascript" >
|
<script language="javascript" type="text/javascript" >
|
||||||
<!--
|
<!--
|
||||||
function decryptBase64()
|
function decryptBase64()
|
||||||
|
@ -31,7 +32,7 @@
|
||||||
<header>
|
<header>
|
||||||
<a href="/"><img id="logo" alt="Logo Tux" src="/images/tux_final2.png"/></a>
|
<a href="/"><img id="logo" alt="Logo Tux" src="/images/tux_final2.png"/></a>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<h2 id="title"><a href="/">Blog de Grégory Soutadé</a></h2>
|
<span id="title"><a href="/">Blog de Grégory Soutadé</a></span>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div class="about">
|
<div class="about">
|
||||||
|
|
|
@ -29,6 +29,7 @@ body
|
||||||
padding-top:2em;
|
padding-top:2em;
|
||||||
padding-bottom:3em;
|
padding-bottom:3em;
|
||||||
background-color:white;
|
background-color:white;
|
||||||
|
font-size: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#recents_title
|
#recents_title
|
||||||
|
@ -51,6 +52,7 @@ div.content
|
||||||
border-style:solid;
|
border-style:solid;
|
||||||
border-color:black;
|
border-color:black;
|
||||||
border-width:3px;
|
border-width:3px;
|
||||||
|
z-index:1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Menu */
|
/* Menu */
|
||||||
|
@ -67,6 +69,7 @@ div.menu
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:20em;
|
top:20em;
|
||||||
right:2%;
|
right:2%;
|
||||||
|
z-index:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu_main
|
.menu_main
|
||||||
|
@ -166,7 +169,7 @@ div.post div.post_header
|
||||||
color: #3c3e2d;
|
color: #3c3e2d;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.post_header div.title, div.post_header div.title > a
|
div.post_header h2.title, div.post_header h2.title > a
|
||||||
{
|
{
|
||||||
display:block;
|
display:block;
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user