<?php if (is_single() || is_page()) : ?>
<META content="<?php $t=get_the_tag_list( '', ', ' ); print strip_tags($t);?>" name="keywords" />
<META content="<?php $t=get_the_excerpt(); print strip_tags($t);?>" name="description" />
<?php endif; ?>