Cacher certains types de post sur mon blog

Résolu/Fermé
csecse Messages postés 2 Date d'inscription dimanche 3 février 2013 Statut Membre Dernière intervention 5 février 2013 - 3 févr. 2013 à 15:11
csecse Messages postés 2 Date d'inscription dimanche 3 février 2013 Statut Membre Dernière intervention 5 février 2013 - 5 févr. 2013 à 10:14
Bonjour à tous,

Cela fait plusieurs jours que j'essaie de me magouiller un site via tumblr, mais je reste bloquée sur un truc surement tout bête.

Mon site, le voici : oaizhdaz.tumblr.com/.

J'ai appliqué à mes différents posts des tags pour les rassembler dans différentes pages grâce à ça : oaizhdaz.tumblr.com/tagged/letagenquestion. Jusque là tout va bien.

Ce que j'aimerais faire en revanche, c'est laisser noire la zone de posts de la page d'accueil (qui d'après ce que j'ai compris correspond à l'index page), mais que les posts apparaissent toujours dans la navigation de mon site grâce aux tags. Je ne veux donc pas supprimer la zone "post", mais la masquer sur la page d'accueil uniquement.

Je ne sais pas si tout ce cela est bien clair... J'espère que vous saurez m'aider

Merci pour votre attention !

Voici le code de ma page :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
 
 
 
   <script language=JavaScript>
    
    
    
    
<!--
//Disable right click script III- By Renigade (
 renigade@mediaone.net)
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
 
 
 
 
<title>{Title}</title>
<link rel="shortcut icon" href="{Favicon}">
<link rel="alternate" type="application/rss+xml" href="{RSS}">
{block:Description}
<meta name="description" content="{MetaDescription}" />
{/block:Description}
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
 
 
<meta name="color:Text" content="#333333"/>
<meta name="color:Links" content="#000000"/>
<meta name="color:Accent" content="#0EEDC1"/>
<meta name="text:Font Size" content="12"/>
<meta name="text:Post Gaps" content="25"/>
<meta name="font:Body" content="Helvetica"/>
<meta name="if:Faded Images On Hover" content="0"/>
<meta name="if:Show Captions" content="0"/>
<meta name="if:Smaller Posts" content="0"/>
 
 
<script>document.onmousedown = function(){return false;}</script>
 
 
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(window).load(function(){
$("p").remove(":contains('Source:')");
$("p").remove(":contains('(via')");
});
</script>
<link rel="stylesheet" type="text/css" href="http://static.tumblr.com/53unaru/yGsljir92/stylesheet.css" />
 
<style type="text/css">
 
 
body {
    font-size: {text:Font Size}px;
    font-family: {font:Body};
    background: #000;
    color: {color:Text};
    text-align:justify;
    height:100%;
    cursor : default;
 
    }
 
       
     
table tr {
    vertical-align: top;
    }
     
.tumblrAutoPager_page_info, .tumblrAutoPager_page_separator {display:none;}
 
iframe#tumblr_controls {
    position:fixed !important;
    }
     
     
a {text-decoration:none; color:{color:Links}; border-bottom:0px solid {color:Accent};}
 
a img {border:none;
    cursor : default;}
{block:IfFadedImagesOnHover}
 
img{opacity:1;-moz-transition: 0.3s ease-in; -webkit-transition: 0.3s ease-in;-o-transition: 0.3s ease-in;transition: 0.3s ease-in;}
{block:IndexPage}img:hover{opacity:0.8;-moz-transition: 0.3s ease-in; -webkit-transition: 0.3s ease-in;-o-transition: 0.3s ease-in;transition: 0.3s ease-in;}{/block:IndexPage}{/block:IfFadedImagesOnHover}
 
{block:IfNotSmallerPosts}
 
.post {
    max-width:100%;  /* largeur des posts */
    min-width:250px;
    margin:0px {text:Post Gaps}px 0px 0px;
    }
     
.post img {
    max-width:800px;
    min-width:100px;
    height:500px;
    }
     
{/block:IfNotSmallerPosts}
{block:IfSmallerPosts}
 
.post {
    max-width:500px;
    min-width:200px;
    margin:0px {text:Post Gaps}px 0px 0px;
    max-height:350px;
    }
     
.post img {
    max-width:500px;
    min-width:250px;
    {block:IndexPage}height:350px;
    {/block:IndexPage}}
{block:PermalinkPage}
 
.single img {
    max-width:600px;
    }
     
 
 
{/block:PermalinkPage}
{/block:IfSmallerPosts}
 
 
 
#posts {
    margin-top:8%;
    }
     
{block:IfNotSmallerPosts}
 
div.video embed,
div.post div.video object {
    width:600px !important;
    height:475px !important;
}
{/block:IfNotSmallerPosts}
{block:IfSmallerPosts}
div.video embed,
div.post div.video object { width:600px !important; height:325px !important;
}
{/block:IfSmallerPosts}
 
 
 
::-webkit-scrollbar-thumb:vertical {
background-color:#ddd;
height:10px;
}
::-webkit-scrollbar-thumb:horizontal {
background-color:#ddd;
height:10px;
}
::-webkit-scrollbar {
height:10px;
width:10px;
background-color:#fff;
}
/* changer la couleur de sélection de texte (=surlignage) et l'empêcher*/
*::selection {
    background:#cc2a00;
    color:#fff;
}
*::-moz-selection {
    background:none;
    color:none;
}
*::-webkit-selection {
    background:#cc2a00;
    color:#fff;
}
 
html{
       -moz-user-select: -moz-none;
       -khtml-user-select: none;
       -webkit-user-select: none;
       -o-user-select: none;
       user-select: none;
    }
 
 
    ::selection { background: transparent;color:inherit; }
    ::-moz-selection { background: transparent;color:inherit; }
 
 
 
.post ul {
    list-style-type:none;
    margin:0px;
    padding:0px;
 
}
 
 
.permalink{
margin-top:10px;
font-size:11px;
font-style:italic;
}
 
/* H3 correspond à la description */
#header h3{   
font-weight:normal;
font-size:12px;
text-transform:none; /*uppercase*/
color:#999;
margin-top:-5px;
margin-left:30px;
margin-bottom:-25px;
}
 
#site-info, .menu{
display:inline;
float:left;}
#site-info, .menu{
display:inline;
float:left;
 
    font-weight:bold;
}
.menu{
list-style:none;
padding:0;
margin:20px 0 0 40px;
margin-right:50px;
float:right;
}
.menu li{
-webkit-text-stroke: 1px transparent;
display:inline;
float:left;
font-size:12px;
text-transform:none; /*uppercase*/
margin-left:40px;
position:relative;
}
.menu li:first-child{margin-left:0;}
.menu li a{
text-decoration:none;
color:#FFF;
border-bottom:0px solid #FFF;
 
}
.menu li a:hover, .menu li.current-menu-item a{
color:#999;
border-bottom:0px solid {color:Accent};
text-shadow:2px 2px 1px rgba(0,0,0,0.13);
-moz-text-shadow:2px 2px 1px rgba(0,0,0,0.13);
}
.menu li ul{
margin:0;
position:absolute;
top:100%;  
left:-10px;
width:150px;
background:#000;
padding:10px;
z-index:20;
display:none;
-webkit-box-shadow:1px 1px 3px rgba(0,0,0,0.2);
-moz-box-shadow:1px 1px 3px rgba(0,0,0,0.2);
box-shadow:1px 1px 3px rgba(0,0,0,0.2);
}
.menu li:hover ul{
display:block;
}
.menu li ul li a{
font-size:10px;
font-family:Arial, Helvetica, sans-serif;
 
}
.menu li ul li{
display:block;
clear:both;
margin:0 0 10px 0;
line-height:12px;
}
menu li a, #header h1 a, .navigation a{
-webkit-transition: all 200ms linear; /*safari and chrome */
-moz-transition: all 200ms linear; /* firefox */
-o-transition: all 200ms linear; /* opera */
transition: all 200ms linear;
}.navigation{
margin-left:10px;
overflow:hidden;
}
.navigation a{
background:#FFF;
border:1px solid rgba(0,0,0,0.1);
border-radius:10px;
padding:5px 10px;
display:inline-block;
text-decoration:none;
}
.navigation a:hover{
background:#5096cb;
color:#FFF;
}
 
.copyright{
    position:fixed;
    font-family: "Lucida Grande";
    font-size: 10px;
    left:45%;
    bottom:1%;
}
 
#header h1 a,
.menu li a{
font-family:"Lucida Grande", "Lucida Sans Unicode";
}
#header{
left:0px;
{block:PermalinkPage}position:absolute;{/block:PermalinkPage}
{block:IndexPage}position:fixed;{/block:IndexPage}
top:0px;
width:100%;
padding:20px 0px 10px 0px;
padding-left:0px;
background:#000;
border-bottom:0px solid rgba(0,0,0,0.15);
}
#header h1 a{
    font-family: "Georgia";
font-weight:normal;
font-size:30px;
text-transform:none; /*uppercase*/;
letter-spacing:1px;
padding-left:20px;
line-height:24px; 
border:none;
display:block;
text-decoration:none;
text-shadow:2px 2px 1px rgba(0,0,0,0.13);
}
#header h1 a:hover{
color:{color:Accent};
}
 
 
 
 
h2 { font-size: 20px; text-transform:none;font-family:'Arial', Arial, Helvetica, sans-serif;padding:0px; margin:0px;}
h2 a{text-decoration:none;}
 
.blogtitle{
    font-size:13px;
    margin-bottom:30px;
    font-weight:bold;
    }
     
.quote{
    font-size:25px;
    line-height:25px;
    font-style:italic;
    margin-bottom:10px;
    }
     
.footer{
    margin-top:60px;
    font-size:9px;
    color:{color:Text};
    }
</style>
 
<script src="http://static.tumblr.com/fiton9k/T5Mlg92fv/jquery-1.2.6.min.js" type="text/javascript" charset="utf-8"></script>
 
<script type="text/javascript" charset="utf-8">
$(function(){
$("#page-wrap").wrapInner("<table><tr>");
$(".post").wrap("<td>");
});
</script>
 
<script src="http://static.tumblr.com/fiton9k/D0Plgbx3t/hscroll.js" type="text/javascript" charset="utf-8"></script>
 
</head>
 
 
<body>
 
<div id="header">
<div id="site-info">
<h1 id="logo"><a href="/">&nbsp;{Title}</a></h1>
<h3>{block:Description}{Description}{/block:Description}</h3>
</div>
<div class="nav"><ul class="menu">
<!-- {block:Pagination}<li id="menu-item">{block:PreviousPage}<a href="{PreviousPage}"><font color="{color:Accent}"><</font></a>{/block:PreviousPage}</li>{/block:Pagination}  -->
<!--<li id="menu-item"><a href="/archive">Archive</a></li>
<li id="menu-item"><a href="{RSS}">RSS Feed</a></li> -->
 
 
 
 
 
{block:HasPages}
<li id="menu-item"><a href="https://www.tumblr.com/privacy/consent?redirect=http%3A%2F%2Foaizhdaz.tumblr.com%2Ftagged%2Fselected%2Bwork">Selected Work</a> </li>
{/block:HasPages}
 
{block:HasPages}
<li id="menu-item"><a href="https://www.tumblr.com/privacy/consent?redirect=http%3A%2F%2Foaizhdaz.tumblr.com%2Ftagged%2Fportraits">Portraits</a> </li>
{/block:HasPages}
 
<!--{block:HasPages}<li id="menu-item"><a href="#">Navigation</a>
<ul class="sub-menu">
{block:Pages}<li class="menu-item"><a href="{URL}">{Label}</a></li>{/block:Pages}
</ul>{/block:HasPages}  -->
 
{block:HasPages}<li id="menu-item"><a href="#">Landscapes</a>
<ul class="sub-menu">
<li class="menu-item"><a href="https://www.tumblr.com/privacy/consent?redirect=http%3A%2F%2Foaizhdaz.tumblr.com%2Ftagged%2Fparis">Paris</a></li>
<li class="menu-item"><a href="https://www.tumblr.com/privacy/consent?redirect=http%3A%2F%2Foaizhdaz.tumblr.com%2Ftagged%2Fbritain">Britain</a></li>
<li class="menu-item"><a href="https://www.tumblr.com/privacy/consent?redirect=http%3A%2F%2Foaizhdaz.tumblr.com%2Ftagged%2Flondon">London</a></li>
</ul>{/block:HasPages}
 
{block:HasPages}<li id="menu-item"><a href="#">Personal</a>
<ul class="sub-menu">
<li class="menu-item"><a href="https://www.tumblr.com/privacy/consent?redirect=http%3A%2F%2Foaizhdaz.tumblr.com%2Ftagged%2Fpsychoses">"Psychoses"</a></li>
<li class="menu-item"><a href="https://www.tumblr.com/privacy/consent?redirect=http%3A%2F%2Foaizhdaz.tumblr.com%2Ftagged%2Fidentity">Identity</a></li>
<li class="menu-item"><a href="https://www.tumblr.com/privacy/consent?redirect=http%3A%2F%2Foaizhdaz.tumblr.com%2Ftagged%2Fother">Other</a></li>
</ul>{/block:HasPages}
 
 
 
  
 
 
 
<li id="menu-item-250" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-250"><a href="https://www.tumblr.com/privacy/consent?redirect=http%3A%2F%2Foaizhdaz.tumblr.com%2Fabout">About</a></li>
<li class="menu-item"><a href="https://www.tumblr.com/privacy/consent?redirect=http%3A%2F%2Foaizhdaz.tumblr.com%2Fcontact">Contact</a></li>
 
</ul>
</li></div>
</div>
 
<center><div id="posts">
 
 
<div id="page-wrap">
{block:Posts}
{block:Text}<div class="post">
{block:Title}<h2><a href="{Permalink}"></h2></a>
{/block:Title}
{Body}
{block:IndexPage}<!--<div class="permalink"><a href="{Permalink}">{TimeAgo}</a></div>-->{/block:IndexPage}
</div>
{/block:Text}
 
{block:Photo}
<div class="post"><div class="single">
{block:IndexPage}{block:NextPage}<a href="{NextPage}">{block:NextPage}{/block:IndexPage}
{block:PermalinkPage}{LinkOpenTag}{/block:PermalinkPage}
<img src="{block:IndexPage}{PhotoURL-HighRes}{/block:IndexPage}{block:PermalinkPage}{PhotoURL-HighRes}{/block:PermalinkPage}" alt="{PhotoAlt}"/>
{block:IndexPage}</a>{/block:IndexPage}
{block:PermalinkPage}{LinkCloseTag}{/block:PermalinkPage}</div>
{block:IndexPage}{block:IfShowCaptions}{block:Caption}{Caption}{/block:Caption}
<!--{block:HasTags}Tagged: {block:Tags}<a href="{TagURL}">{Tag}</a>&nbsp;{/block:Tags}{/block:HasTags}  -->{/block:IfShowCaptions}{/block:IndexPage}
</div>
{/block:Photo}
 
 
{block:Quote}<div class="post">
<h2>&#8220;</span>{Quote}&#8221;</h2>
{block:Source}
<div align="right">&#8212; {Source}</div>
{/block:Source}
{block:IndexPage}<div class="permalink"><a href="{Permalink}">{TimeAgo}</a></div>{/block:IndexPage}
</div>
{/block:Quote}
 
{block:Link}<div class="post">
<h2><a href="{URL}" class="link" {Target}>{Name}</a></h2>
{block:Description}{Description}{/block:Description}
{block:IndexPage}<div class="permalink"><a href="{Permalink}">{TimeAgo}</a></div>{/block:IndexPage}
</div>
{/block:Link}
 
{block:Chat}<div class="post">
{block:Title}
<h3><a href="{Permalink}">{Title}</a></h3>
{/block:Title}
<ul class="chat">
{block:Lines}
<li class="{Alt} user_{UserNumber}">
{block:Label}
<span class="label">{Label}</span>
{/block:Label}
{Line}
</li>
{/block:Lines}
</ul>
</li>
{block:IndexPage}<div class="permalink"><a href="{Permalink}">{TimeAgo}</a></div>{/block:IndexPage}</div>
{/block:Chat}
 
{block:Video}<div class="post">
<div class="video">
{Video-500}
</div>
{block:IndexPage}<div class="permalink"><a href="{Permalink}">{TimeAgo}</a></div>{/block:IndexPage}
</div>
{/block:Video}
 
{block:Audio}<div class="post">
{AudioPlayerBlack}
{block:IndexPage}
{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
{block:IndexPage}<div class="permalink"><a href="{Permalink}">{TimeAgo}</a></div>{/block:IndexPage}
</div>
{/block:Audio}
 
{block:PermalinkPage}<div style="float:right; padding-left:5px; margin-top:-10px; width:250px;">{block:Caption}{Caption}{/block:Caption}{block:HasTags}Tagged: {block:Tags}<a href="{TagURL}">{Tag}</a>&nbsp;&nbsp;{/block:Tags}{/block:HasTags}</div>{/block:PermalinkPage}
 
 
 
{/block:Posts}
 
</div>
 
</div></center>
<div class="copyright">{block:Pagination}<h1>{block:PreviousPage}<a href="{PreviousPage}"><font color="{color:Accent}"><</font></a>{/block:PreviousPage}&nbsp;&nbsp;&nbsp;&nbsp;{block:NextPage}<a href="{NextPage}"><font color="{color:Accent}">></font></a>{/block:NextPage}</h1>{/block:Pagination}
© Cazhd Soiuzr. 2013. All rights reserved.</div>
</body>
 
</html>



PS : d'après mes recherches, la seule chose qui semble correspondre à ce que je cherche est ceci : creepyblogs.tumblr.com/post/34208374720/...-your-blog-home-page
Malheureusement, ça n'a pas fonctionné sur mon site... Je pense m'y être mal prise. Pouvez-vous m'aider ?
A voir également:

1 réponse

csecse Messages postés 2 Date d'inscription dimanche 3 février 2013 Statut Membre Dernière intervention 5 février 2013
5 févr. 2013 à 10:14
Personne ?
0